Skip to content

UKY CS 499 Project: Feature support for plugin. #160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: develop_uky
Choose a base branch
from

Conversation

DoubleXwel
Copy link

Enabled viewing of the Feature type to the MyWork tab in IntelliJ, as well as opening the detail tab for a Feature.

@pikachugb pikachugb changed the base branch from master to CE-24.4 April 9, 2025 12:24
@pikachugb pikachugb changed the base branch from CE-24.4 to master April 9, 2025 12:26
@pikachugb pikachugb changed the base branch from master to develop_uky April 9, 2025 12:36
@pikachugb
Copy link
Collaborator

There are some more things that have to be done at first sight:

  • make the Feature entity dismissable (see MyWorkUtil; the dismiss action makes the entity disappear from My work)
  • add the Feature entity in the PredefinedEntityComparator after the Defect entity (this is needed for some older Octane versions)
  • in EntityTreeCellRenderer:
    • add the fields needed in the entity 'preview' (from My Work) inside the second static block; the fields needed are explained below;
    • inside the getTreeCellRendererComponent make the Feature has the following 'configuration': In the left bottom corner have the Release, in the top right corner have the Owner, Phase, Story Points, Author (see like it's done for the US entity) and optionally in the bottom right to have the Feature type field;

@DoubleXwel
Copy link
Author

Made changes requested in comments.

@@ -518,6 +519,8 @@ private EntityTreeModel createEntityTreeModel(Collection<EntityModel> entityMode
entityCategories.add(new UserItemEntityCategory("Tests", Entity.GHERKIN_TEST, Entity.MANUAL_TEST, Entity.BDD_SCENARIO));
entityCategories.add(new UserItemEntityCategory("Mention in comments", Entity.COMMENT));

entityCategories.add(new UserItemEntityCategory("Features", Entity.FEATURE));
Copy link
Collaborator

@pikachugb pikachugb Apr 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are the Features category right under the Backlog Items in UI?
If not, please move it like that. In theory the order of the items in the entityCategories list should define the order in UI.
Make sure that you do it for EntitySearchResultPresenter also.

@pikachugb
Copy link
Collaborator

Regarding my last comment, there are some things that are not changed.

  • have you checked if the Feature entity is dismissable?
  • have you added the Feature entity to PredefinedEntityComparator?
  • add the fields (Release, Author, story points) that were added in EntityTreeCellRenderer in the static block that is at line ~93.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants