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

B 21339 int - Bulk assignment modal: UI Layout and populate data (SC/TOO) #14585

Open
wants to merge 53 commits into
base: integrationTesting
Choose a base branch
from

Conversation

JonSpight
Copy link
Contributor

Agility ticket

Summary

This will be from the SC (Counseling) and TOO user.  This will cover the Bulk Assignment button from both the Counseling queue and Task Order queue.

Important

This PR contains code from SC: Create endpoint 21337 and should be merged after
This PR contains code from TOO: Create endpoint 21445 and should be merged after
This PR contains code from Add bulk assignment button and modal 21336 and should be merged after

How to test

  1. Pick a transportation office that provides services counseling, make some SCs, as well as a supervisor.
  2. Assign some of the SC's and supervisor to the moves.
  3. sign in as the SC supervisor and click the bulk assignment button
  4. Verify the UI has the proper data displayed for each SC created and assigned. (any user that has not been assigned should have a workload of "0" displayed in the table.
  5. Repeat steps 1-4 for the TOO queue

Screenshots

Screenshot 2025-01-09 at 5 50 50 PM

@JonSpight JonSpight self-assigned this Jan 15, 2025
@JonSpight JonSpight added G-Unit Scrum Team G INTEGRATION Slated for Integration Testing frontend labels Jan 15, 2025
loganwc
loganwc previously approved these changes Jan 15, 2025
Copy link
Contributor

@loganwc loganwc left a comment

Choose a reason for hiding this comment

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

looks great!

@loganwc loganwc marked this pull request as ready for review January 15, 2025 17:20
@loganwc loganwc requested a review from a team as a code owner January 15, 2025 17:20
loganwc
loganwc previously approved these changes Jan 30, 2025
@danieljordan-caci
Copy link
Contributor

Need to address your storybook - looks wonky donky
Screenshot 2025-01-30 at 12 24 45 PM

@JonSpight JonSpight dismissed stale reviews from danieljordan-caci and loganwc via 3dd030f January 30, 2025 21:55
@@ -15,4 +15,12 @@ const ConnectedTemplate = (args) => <BulkAssignmentModal {...args} />;
export const ConnectedModal = ConnectedTemplate.bind({});
ConnectedModal.args = {
isOpen: true,
bulkAssignmentData: {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can't see this data in happo so just take it out imo

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed

Copy link
Contributor

@danieljordan-caci danieljordan-caci left a comment

Choose a reason for hiding this comment

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

Bulk assignment button is still slightly different in size than the export button - need to make those the same height at least
Screenshot 2025-01-31 at 9 15 35 AM

Also, what's the desired outcome when a user has a really long name? Right now the modal has a side scrolling box, which I don't really like. Have any thoughts on that?

Screen.Recording.2025-01-31.at.9.19.31.AM.mov

You can prevent that side scrolling behavior by adding overflow-x: hidden to your scss but you'd also need to cover down and ensure that the modal doesn't get wider than the view screen. Can add a max-width for that.

.BulkModal {
  min-width: 650px !important;
  max-width: 90vw;
  overflow-y: auto;
  max-height: 90vh;
  overflow-x: hidden;

@robot-mymove
Copy link

robot-mymove commented Jan 31, 2025

Warnings
⚠️ This PR does not include changes to storybook, even though it affects component code.

Generated by 🚫 dangerJS against cfa0526

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend G-Unit Scrum Team G INTEGRATION Slated for Integration Testing
Development

Successfully merging this pull request may close these issues.

7 participants