Skip to content
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

feat(MyProjectsUI):Add additional filter to My Projects homepage based on project clearing state. #1137

Merged
merged 1 commit into from Mar 12, 2021

Conversation

ravi110336
Copy link
Contributor

Please provide a summary of your changes here.

  • Added additional filter logic for My Projects based on the project Clearing State.

Issue:

Suggest Reviewer

You can suggest reviewers here with an @mention.

How To Test?

How should these changes be tested by the reviewer?
- Login to SW360.
- Navigate to My Projects in the Home Page.
- Check the additional filter in the My Projects Drop down.(Open, In Progress and Closed)
- In My Projects the projects will be populated based on the selection made on the check box.

   Screenshot for reference:

image

Have you implemented any additional tests?
No

Checklist

Must:

  • All related issues are referenced in commit messages and in PR

Signed-off-by: Ravindra Kumar kumar.ravindra@siemens.com

Copy link
Contributor

@smrutis1 smrutis1 left a comment

Choose a reason for hiding this comment

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

Tested it working fine. Except some minor review comments.

@@ -66,7 +66,25 @@
<core_rt:if test="${userRoles==null||userRoles.SECURITY_RESPONSIBLES}">checked="checked"</core_rt:if>>
<label class="form-check-label" for="securityResponsible">Security Responsible</label>
</li>
<li><hr class="my-2" /></li>
<li class="dropdown-header">Clearing State</li>
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be good to read the labels from i18N properties.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Followed the existing approach,which is working in production for roles label.

Copy link
Contributor

Choose a reason for hiding this comment

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

hm, it was for internationalization. But it's ok for now.

@ravi110336 ravi110336 force-pushed the feat/MyProjectsFiltering branch 3 times, most recently from 6188c6a to 68fbfe3 Compare March 12, 2021 10:15
…d on clearing state.

Signed-off-by: ravi110336 <kumar.ravindra@siemens.com>
Copy link
Contributor

@smrutis1 smrutis1 left a comment

Choose a reason for hiding this comment

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

Code looks good. Tested again successfully.

@smrutis1 smrutis1 added the ready ready to merge label Mar 12, 2021
@smrutis1 smrutis1 merged commit aca38a0 into eclipse-sw360:master Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants