-
Notifications
You must be signed in to change notification settings - Fork 1
MPDX-9121 Add Mutations to MHA #1539
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
Open
kegrimes
wants to merge
40
commits into
main
Choose a base branch
from
add-mutations-to-mha
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,841
−921
Open
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
ba3bcea
Added delete mutation to mha
d0a5190
Added submit mutation to mha
fec8fdf
Updated current board approved card design
881cab7
Added updatedAt to mock data
b0a30fb
Updated UI based on new designs
7693cd8
Added duplicate mutation to mha
7568156
Added functionality to remember current step
e798dd8
Added snackbar to mutations
118feac
Revert saving current step
2c80523
Fixed broken tests after adding loading
f74fa78
Fixed more tests
48c05c8
Fix more broken tests
e8c1c9e
Claude review suggestions
bf551d5
Merge remote-tracking branch 'origin' into add-mutations-to-mha
831dc69
Review changes based on suggestions
12f94ed
Fixed failing test
868e307
Merge remote-tracking branch 'origin' into add-mutations-to-mha
95c7893
Merge remote-tracking branch 'origin' into add-mutations-to-mha
0a5a33d
Fixed broken test
2c494fd
Added loading functionality
7c6aab6
Added optional back arrow icon to empty panel
8da8ccd
Fixed test are adding back arrow
b117c1c
Fixed annual total mha not showing up
856169c
More review changes
43b1b5f
Added missing loading
9855b8c
Third round of review changes
56bba2b
Update wrong refetch query names
2c9d23c
Disabled edit button in certain situations
f0f25dc
Merge remote-tracking branch 'origin' into add-mutations-to-mha
477c0c2
Improved transitions between mutations
8eb6764
Added no edit access page
eb8d8b8
Added no request access component
fbae11f
Merge remote-tracking branch 'origin' into add-mutations-to-mha
8b4eec2
Fixed missed error
c2b0491
Claude review suggestions part 2
8631ec5
Merge remote-tracking branch 'origin' into add-mutations-to-mha
6dae035
Fixed failing tests
1664e06
Merge remote-tracking branch 'origin' into add-mutations-to-mha
9fc1fc7
Removed duplicate field
c8646cf
Removed duplicate fields that were removed from backend
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 6 additions & 8 deletions
14
src/components/Reports/AdditionalSalaryRequest/Shared/Helper/getHeader.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,16 +1,14 @@ | ||
| import { TFunction } from 'i18next'; | ||
| import { AdditionalSalaryRequestSectionEnum } from '../../AdditionalSalaryRequestHelper'; | ||
|
|
||
| export const getHeader = ( | ||
| t: TFunction, | ||
| step: AdditionalSalaryRequestSectionEnum, | ||
| ): string => { | ||
| export const getHeader = (t: TFunction, step: number): string => { | ||
| switch (step) { | ||
| case AdditionalSalaryRequestSectionEnum.AboutForm: | ||
| case 0: | ||
| return 'About this Form'; | ||
| case AdditionalSalaryRequestSectionEnum.CompleteForm: | ||
| case 1: | ||
| return 'Complete the Form'; | ||
| case AdditionalSalaryRequestSectionEnum.Receipt: | ||
| case 2: | ||
| return 'Receipt'; | ||
| default: | ||
| return ''; | ||
| } | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.