-
Notifications
You must be signed in to change notification settings - Fork 35
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-21962: Create Requested Users Report #14768
B-21962: Create Requested Users Report #14768
Conversation
…ate-Requested-Users-Report-Int
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found something fun - in the case of multiple entries (I tested with two requested office users)
When I selected the checkbox next to both, THEN export - I get the comma separated list for a user that has multiple roles:
But if I just click export without hitting the checkboxes next to each row, I get a row for each role that the user has, instead of a comma separated list:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…ate-Requested-Users-Report-Int
Ill check with Dan on this. Right now how i have it it gives a lot more functionality that put the filters and such in use. If the user wants to export all the just click one checkbox then export. Or if they want to filter then this allows them to expoprt
@danieljordan-caci Bulk export functionality has been removed. |
@traskowskycaci Bulk export functionality has been removed. |
@danieljordan-caci No I went back and looked at the other implementations and coded it out. Got it working with filters and all so I like it. Bulk functionality is cool but its not consistent with the other exports. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the AC:
Given I am a MilMove Admin in the Requested Office Users queue,
When I select the option to create a report from the Requested Office Users queue,
Then I will receive a requested report with the following fields:
• Email
• First Name
• Last Name
• Transportation Office (Real name not UUID)
• Status
• "Request On" Date
• Roles requested (Comma separated field with all roles requested)
When I export this I'm getting:
- firstName
- lastName
- transportationOfficeName
- status
- createdAt
- roles
![Screenshot 2025-02-11 at 12 13 54 PM](https://private-user-images.githubusercontent.com/136510600/412109502-c1f59054-4821-4425-9445-96ee6dc677de.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MDUxNzIsIm5iZiI6MTczOTQwNDg3MiwicGF0aCI6Ii8xMzY1MTA2MDAvNDEyMTA5NTAyLWMxZjU5MDU0LTQ4MjEtNDQyNS05NDQ1LTk2ZWU2ZGM2NzdkZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxM1QwMDAxMTJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jNWJhODQ1NWZiZDAyOWI2YmY0NGQxODliM2FmY2RlNjQ1ODMzY2Y2MDYyYjEzYjQxN2IwMDExZmFkNjg4NWYwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.X9WL-YxfFFxbosQ3Y-gSBP7qlnAUP1BRtTsTwp47xOA)
@danieljordan-caci Yeah i forgot to keep the formatted header logic I had. One moment. |
…ate-Requested-Users-Report-Int
@danieljordan-caci fixed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The requested office user export includes the UUID/ID column, which isn't in the AC but the rest of the Excel exports include it, so to keep in line with the rest of the app it should be fine. It'll go to the PO for review
Agility ticket
Summary
This PR is introducing exporting to the admin requested users list.
Is there anything you would like reviewers to give additional scrutiny?
this article explains more about the approach used.
Verification Steps for the Author
These are to be checked by the author.
Verification Steps for Reviewers
These are to be checked by a reviewer.
Setup to Run the Code
How to test
Frontend
officeApp
class or custommin-width
styling is used to hide any states the would not be visible to the user.Backend
Database
Any new migrations/schema changes:
Screenshots