-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ui): enable super user ID editing (#663)
* feat: update `useGetItemCache` to params * feat: change details to :authority/:id route; update dashboard links * feat: rework breadcrumbs and navigating to work with `authority` param * feat: create new `Authority` unions and maps * revert: revert `routes` change to `/details` route * feat: preference to use union over enum changes * fix: update `useOriginPath` to work with new `details/:authority/:id` route * fix: remove optional parameter type from `getDashboardTabForAuthority` * fix: update unit test for new `AuthorityAPI` type * fix: update test `.toEqual` value * fix: add `encodeURIComponent` for authority table links * fix: redirect wasn't working due to wrong authority type * chore: remove unused `locationState` arg * feat: add `hasSubmissionDate` check to `statusChecks` * fix: add `recordExists` and `hasSubmissionDate` * chore: prefer react-router `useParams` * feat: update `origin` to `details` and `dashboard` * feat: add typ guard function: `isStringAuthority` * chore: remove `origin` query from `OptionCard` * feat: rework origin tracking function * feat: lift banner/alert functions into `ActionForm`; use simplified origin function * feat: rework origin logic in `SubmitAndCancelBtnSection` * chore: remove `originPath` variable/prop * chore: remove `navigationLocation` variable and prop * chore: update origin handling in forms * chore: some function renaming * fix: mark `getFormOrigin` args optional * chore: delete unused `useQuery` * chore: delete `stripQueryString` * revert: correct document polling checks for waiver forms * chore: remove `/details` route from tests, no longer static route * chore: remove `/details` route from tests, no longer static route * chore: move `getDashboardTabForAuthority` to `switch` logic * chore: simplify render logic for cell details link * feat: opt to use `Authority` * chore: fill in missing types * chore: update types to `Authority` * add a log to see record info when it fails * give mako topic gets new id --------- Co-authored-by: 13bfrancis <[email protected]>
- Loading branch information
1 parent
33a0310
commit 24fe0c8
Showing
26 changed files
with
283 additions
and
439 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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
25 changes: 21 additions & 4 deletions
25
src/services/ui/src/features/package-actions/ActionPage.tsx
This file contains 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.