forked from PalisadoesFoundation/talawa-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes PalisadoesFoundation#1380 by simplifying the modal closure mech…
…anism in the 'Manage Features' modal. (PalisadoesFoundation#1393) * Fix: Addressed the issue of UI redundancy as discussed in Issue PalisadoesFoundation#1380. What: - Removed the 'Cancel' button, and added the 'Manage Features' header for the Modal leaving the 'X' icon as the sole close option. Impact: - Simplifies the modal interface, enhancing the overall user experience and reducing potential confusion. Tests: - Tested the individual file by running this command: `npm run test --watchAll=false /path/to/test/file` - Tested code coverage for this file with : `npm run test -- --collectCoverageFrom="src/screens/OrgList/*" /src/screens/OrgList/OrgList.test.tsx` * reverted changes made to package-lock.json file * Fix:Replacing Modal Buttons with Bootstrap buttons. Changes Made: -Replaced existing buttons in the OrgList component with Bootstrap buttons for a more consistent and modern UI. -Removed unused CSS classes (greenredbtn, cancel, secondbtn) from OrgList.module.css. -Added new CSS classes enableEverythingBtn and pluginStoreBtn for specific button styling. -Implemented a new test to verify the functionality of the 'Go to Plugin Store' button. Tests: - Tested the individual file by running this command: `npm run test --watchAll=false /src/screens/OrgList/OrgList.test.tsx` - Tested code coverage for this file with : `npm run test -- --collectCoverageFrom="src/screens/OrgList/*" /src/screens/OrgList/OrgList.test.tsx` * fixed redundant test id- modalOrganisationHeader replaced with pluginNotificationHeader accodrdingly fixed tests * Update OrgList.test.tsx
- Loading branch information
1 parent
1b1fb42
commit e8be2da
Showing
3 changed files
with
37 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters