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: Create group base detail page #1329

Merged
merged 6 commits into from
Oct 15, 2024
Merged

feat: Create group base detail page #1329

merged 6 commits into from
Oct 15, 2024

Conversation

kiram15
Copy link
Contributor

@kiram15 kiram15 commented Oct 5, 2024

Description

Creates the card for the groups detail page. Includes functionality for editing the group name and deleting the group.
https://2u-internal.atlassian.net/browse/ENT-9506

Test plan

Screenshot 2024-10-04 at 1 01 50 PM Screenshot 2024-10-04 at 1 01 56 PM Screenshot 2024-10-05 at 2 16 12 AM

For all changes

  • Ensure adequate tests are in place (or reviewed existing tests cover changes)

Only if submitting a visual change

  • Ensure to attach screenshots
  • Ensure to have UX team confirm screenshots

@kiram15 kiram15 marked this pull request as draft October 5, 2024 08:17
@kiram15 kiram15 requested a review from a team October 7, 2024 18:38
@kiram15 kiram15 marked this pull request as ready for review October 7, 2024 18:38
title={budgetNameAndEdit}
subtitle={`${enterpriseGroup?.acceptedMembersCount} accepted members`}
/>
<Card.Section className="pt-1 x-small">Created on</Card.Section>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Need to add in created to the serializer, will add this value in with my next ticket

Copy link
Contributor

@katrinan029 katrinan029 left a comment

Choose a reason for hiding this comment

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

looks good so far! I have some feedback regarding handling errors

src/components/PeopleManagement/EditGroupNameModal.jsx Outdated Show resolved Hide resolved
src/components/PeopleManagement/EditGroupNameModal.jsx Outdated Show resolved Hide resolved
src/components/PeopleManagement/EditGroupNameModal.jsx Outdated Show resolved Hide resolved
Copy link

codecov bot commented Oct 9, 2024

Codecov Report

Attention: Patch coverage is 82.92683% with 14 lines in your changes missing coverage. Please review.

Project coverage is 85.70%. Comparing base (06c0a56) to head (7122b68).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...components/PeopleManagement/EditGroupNameModal.jsx 80.00% 6 Missing ⚠️
...it-management/data/hooks/useEnterpriseGroupUuid.js 33.33% 4 Missing ⚠️
src/data/services/LmsApiService.js 33.33% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1329      +/-   ##
==========================================
- Coverage   85.71%   85.70%   -0.02%     
==========================================
  Files         581      587       +6     
  Lines       12797    12876      +79     
  Branches     2710     2723      +13     
==========================================
+ Hits        10969    11035      +66     
- Misses       1767     1780      +13     
  Partials       61       61              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

id="people.management.delete.group.modal.body.2"
defaultMessage={
'By deleting this group you will no longer be able to track analytics associated'
+ 'with this group and the group will be removed from your People Management page.'
Copy link
Contributor

Choose a reason for hiding this comment

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

minor change here to add a space in front of with or after associated so that it doesn't look like one word.
Screenshot 2024-10-15 at 8 31 51 AM

)}
subtitle={`${enterpriseGroup.acceptedMembersCount} accepted members`}
/>
<Card.Section className="pt-1 x-small">Created on</Card.Section>
Copy link
Contributor

Choose a reason for hiding this comment

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

can we add in the created date since that's being returned by the response now?

Copy link
Contributor

@katrinan029 katrinan029 left a comment

Choose a reason for hiding this comment

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

just a couple of minor changes but it's good to go once they get addressed!

@kiram15 kiram15 merged commit 57c70ff into master Oct 15, 2024
4 of 6 checks passed
@kiram15 kiram15 deleted the kiram15/ENT-9506 branch October 15, 2024 20:57
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