-
Notifications
You must be signed in to change notification settings - Fork 1
[MPDX-9193] Implement salary calculation step 3 #1566
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
Conversation
|
Preview branch generated at https://9193-salary-calculation-step.d3dytjb8adxkk5.amplifyapp.com |
Bundle sizes [mpdx-react]Compared against d3296ef
|
wjames111
left a comment
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.
This looks really good, didn't find any issues and seems to match the designs well.
| export interface Category { | ||
| label: string; | ||
| amount: number; | ||
| color: string; | ||
| } |
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.
Are we using this in a lot of places, could we just put it in Distribution.tsx?
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.
It's used in the legend, the distribution, and the main card components
311a578 to
767b4c9
Compare
Description
The Salary Request card was mistakenly on step 4. This PR moves it to step 4 and implements the Request Summary card.
Also includes a few minor fixups on the receipt page - migrating the color and fixing a calculation field typo.
Figma link: https://www.figma.com/design/JInpKB7SkTEcJ3pI3dSzYh/MPDX-8585-Staffweb-migrations-to-MPDX?node-id=7797-12174&m=dev
MPDX-9193
Testing
Checklist:
/pr-reviewcommand locally and fixed any relevant suggestions