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: User Panel > Tab PENDING #30296

Closed
wants to merge 29 commits into from
Closed

Conversation

felipe-rod123
Copy link
Contributor

Proposed changes (including videos or screenshots)

Issue(s)

Steps to test or reproduce

Further comments

rique223 and others added 3 commits August 31, 2023 16:51
Implemented the necessary resources to filter the list of users and to return only those who are active, when the active tab is enabled.
Implemented a new filter on the users' page that retrieves the roles list and creates a dropdown menu. When any of its options is selected, it will filter the users' list to display only those with the selected roles. Additionally, I made some minor adjustments to the MultiSelectCustom component and introduced some new hooks.
@changeset-bot
Copy link

changeset-bot bot commented Sep 6, 2023

⚠️ No Changeset found

Latest commit: bc437dd

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@codecov
Copy link

codecov bot commented Sep 6, 2023

Codecov Report

Merging #30296 (bc437dd) into feat/user-panel (964e9e4) will decrease coverage by 0.59%.
The diff coverage is n/a.

Impacted file tree graph

@@                 Coverage Diff                 @@
##           feat/user-panel   #30296      +/-   ##
===================================================
- Coverage            51.04%   50.45%   -0.59%     
===================================================
  Files                  805      776      -29     
  Lines                15031    14499     -532     
  Branches              2736     2630     -106     
===================================================
- Hits                  7673     7316     -357     
+ Misses                6930     6782     -148     
+ Partials               428      401      -27     
Flag Coverage Δ
unit 60.80% <ø> (-1.76%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

felipe-rod123 and others added 16 commits September 11, 2023 09:49
Completed the implementation of the users table actions menu by preventing the propagation of the click event that triggered the opening of the contextual bar when the menu was clicked. Also, ensured that the contextual bar only opens when the "Enter" or "Space" keys are used for keyboard navigation and enhanced the options menu in the contextual bar as specified in Figma.
Removed the status from the users page contextual bar (the need to remove this may not be concrete, for now it will be only commented until the final decision is made). Also changed the order of the contextual bar info and changed some minor styles to follow figma specs.
@felipe-rod123 felipe-rod123 marked this pull request as ready for review September 27, 2023 20:22
@felipe-rod123 felipe-rod123 requested a review from a team as a code owner September 27, 2023 20:22
<Tabs.Item selected={tab === 'new'} onClick={() => setTab('new')}>
{t('New_users')}
<Tabs.Item selected={tab === 'pending'} onClick={() => setTab('pending')}>
{pendingActionsCount === 0 ? t('Pending') : `${t('Pending')} (${pendingActionsCount})`}
Copy link
Contributor

Choose a reason for hiding this comment

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

pendingActionsCount is defined and used but since the set is never ran the number will never change. Why is it incomplete?

Implemented the onClick function of the users table pending tab 'Activate' button and fixed some small UI problems.
@felipe-rod123 felipe-rod123 requested review from a team as code owners October 3, 2023 18:43
Base automatically changed from feat/active-tab to feat/user-panel October 4, 2023 19:32
@casalsgh casalsgh requested a review from rique223 October 20, 2023 16:31
@felipe-rod123 felipe-rod123 deleted the WM-164-tab-pending branch October 20, 2023 17:29
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