Vamsi krishna impl a permission to view task extension count - #3402
Conversation
…count' of https://github.com/OneCommunityGlobal/HighestGoodNetworkApp into Vamsi_Krishna_Impl_a_permission_to_view_task_extension_count
✅ Deploy Preview for highestgoodnetwork-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
palankigreeshma1109
left a comment
There was a problem hiding this comment.
I have reviewed this PR and followed all the steps mentioned in the PR and navigated to Other links-> PermissionManagement->ManageUserPermissions->Select user -> Add permission See # times time added to task.
i icon in owner login page

verified the permission for owner and admin role

Added the permission to volunteer

After login in as volunteer the small i icon is not shown

Please let me know if you need any further reviewing of this PR.
|
Hi @palankigreeshma1109, this PR is about the task extension count, not about the icon. I can see the task extension count spanning next to time progress in your screenshot as expected. I would request you to go through the PR once again to find any other problems in it. Thank you. |
karnati007
left a comment
There was a problem hiding this comment.
Checked out the current branch, ran npm install and npm run start:local, and cleared site data/cache. Logged in as an admin user and navigated to Other Links → Permission Management → Manage User Permissions. Selected a user and added the “See # times time added to task” permission. Verified that the user is now able to see the task deadline extension count. Also confirmed that the feature works correctly in dark mode with no UI issues. Approving this PR. ✅
JuliaHa0902
left a comment
There was a problem hiding this comment.
I have checked out and tested the branch. I logged in as Owner and was able to see the Task Extension count. I am able to give "See Task Extension Count" to other roles and users. Tested in both light and dark mode. I changed the task time and can see that the count is updated. I logged in as a Volunteer with the permission and confirmed that Task Extension Count is visible. I approved the PR.



Requested changes for another feature.
gopikalakshmia
left a comment
There was a problem hiding this comment.
Checkout the branch. In the application, go to Other Links → Permissions Management → Select the Owner/Admin role → Added "see # of times Time Added to Task" for the Volunteer role.

logged in as a Volunteer and verified that the Task Extension count is visible in both Light and Dark themes.


Removed the "See # of Times Time Added to Task"

Task Extension count is not visible

Working as expected ,Approving the PR
9e7cf54
…ew_task_extension_count
karnati007
left a comment
There was a problem hiding this comment.
Hi @vamsikrishna1704, I have tested out the updated code and it is working as intended. Now that you have only allowed users with permission to view task extension deadline, it eliminated unnecessary role based check. Nice work.
…ighestGoodNetworkApp into Vamsi_Krishna_Impl_a_permission_to_view_task_extension_count
karnati007
left a comment
There was a problem hiding this comment.
Hi @vamsikrishna1704, As the changes you have made resolved the merge conflicts with development branch by keeping the functionalities stay unchanged. I am satisfied with the code and approving to be merged into development. Thank you.
Before permission:

After permission:

|
Thank you all, merging! |










Description
Related PRS (if any):
This frontend PR is related to the #1326 backend PR.
To test this frontend PR you need to checkout the #1326 backend PR.
…
Main changes explained:
…
How to test:
npm installandnpm run start:localto run this PR locallyScreenshots or videos of changes:
FrontendDemo.mp4