-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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: New users page deactivated tab and active tab ui #32032
Conversation
🦋 Changeset detectedLatest commit: 2644f7b The changes in this PR will be included in the next version bump. This PR includes changesets to release 32 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #32032 +/- ##
===========================================
- Coverage 55.74% 55.70% -0.05%
===========================================
Files 2637 2637
Lines 57399 57404 +5
Branches 11892 11894 +2
===========================================
- Hits 31997 31976 -21
- Misses 22687 22715 +28
+ Partials 2715 2713 -2
Flags with carried forward coverage won't be shown. Click here to find out more. |
Looks like this PR is not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
5e31c7a
to
c6e5b7f
Compare
66844ff
to
d315d45
Compare
8b92ea5
to
733c1a5
Compare
7cb7f3e
to
7d12186
Compare
733c1a5
to
7d12186
Compare
Implemented a new tab in the users page called 'deactivated' that will list all users who have logged in for the first time but are deactivated for any reason, also added a useMemo to the table action menu for optimization and added logic to only show the Status change and Delete options in the menus of the table and the contextual bar when inside the deactivated and pending tabs.
7cb7f3e
to
eced9c5
Compare
Fixed an alignment problem in which the table menu would be shown a little higher than it should due to transforming the GenericTableCell into display flex. Also solved an issue with the pagination in which if you changed tabs the pagination offset would not be reset.
We should avoid add new types in core-typings that are only used for UI.
…ove/threadMetrics * 'develop' of github.com:RocketChat/Rocket.Chat: (26 commits) chore: Bump rocket.chat to 6.12.0-develop (#32936) test: Move Jest configuration to a package of presets (#32802) chore: bump turbo (#32938) feat: New users page deactivated tab and active tab ui (#32032) chore: bump traefik (#32892) test: fix flaky test `Archive department` (#32933) fix(Livechat): `After Registration Triggers` showing in wrong screen (#32928) refactor: Remove deprecated `Options.AvatarSize` constant (#32909) chore: improve `on login` cached collection (#32929) i18n: Rocket.Chat language update from Lingohub 🤖 on 2024-07-25Z (#32908) refactor: Circular imports (#32885) regression: notify user properly on logout (#32920) chore(client): stop replacing `Meteor.user` (#32910) regression: Messagebox sending message instead of just selecting popup suggestion (#32890) refactor: move broadcastMessageFromData to notifyListener (#32843) chore: prevent destructuring _id of deleted users (#32899) ci: increase kernel limits (#32902) ci: lint issues Release 6.10.1 fix: imported fixes (#32894) ...
Proposed changes (including videos or screenshots)
Implemented a new tab on the users page labeled 'Deactivated', which displays all users who have logged in for the first time but are deactivated for any reason. Additionally, a useMemo hook was applied to optimize the table action menu options. Logic was also integrated to exclusively present the 'Status Change' and 'Delete' options within the table and contextual bar menus when navigating within the 'Deactivated' and 'Pending' tabs. Also added the active tab ui code back as it got lost during the merge process of the previous PR:
Demo images:
Issue(s)
Steps to test or reproduce
Further comments
Related to: #30236
Old Jira task: WM-87
New Jira task for Conn: CONN-264