-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump UI deps, make relevant adjustments (#2461)
This pull request includes several changes to improve the codebase of the `frontend/webapp` project. The changes range from ESLint configuration updates and TypeScript migration to refactoring and updating dependencies. ### Configuration and Dependency Updates: * Updated `.eslintrc.json` to extend TypeScript configuration. * Migrated `next.config.js` to TypeScript (`next.config.ts`). [[1]](diffhunk://#diff-f8b6a8e4eb925659399aaa75795653b92fe978be73abd7952d41ad6b3bda52f3L1-R3) [[2]](diffhunk://#diff-f8b6a8e4eb925659399aaa75795653b92fe978be73abd7952d41ad6b3bda52f3L14-R14) * Updated dependencies in `package.json` to the latest versions. [[1]](diffhunk://#diff-ccf6337b0064354343f900ffd8b4ee91aa8cd014f3292548a800ad3dac39c1f4L17-R21) [[2]](diffhunk://#diff-ccf6337b0064354343f900ffd8b4ee91aa8cd014f3292548a800ad3dac39c1f4L32-R33) ### Refactoring: * Refactored `overview-header.tsx` to clean up imports and update the `PlatformSelect` component usage. [[1]](diffhunk://#diff-32cdaa57227c100f16d8d2a3a1a8dab1dd003c1a679280464f48aea3b1ed117dL3-R8) [[2]](diffhunk://#diff-32cdaa57227c100f16d8d2a3a1a8dab1dd003c1a679280464f48aea3b1ed117dL22-R31) [[3]](diffhunk://#diff-32cdaa57227c100f16d8d2a3a1a8dab1dd003c1a679280464f48aea3b1ed117dL34-R43) * Consolidated API URL constants into `routes.tsx` and removed `urls.tsx`. [[1]](diffhunk://#diff-3945dedf210301d297ca676c6560da071daf28579490a93449f1585e5e03f56aL2) [[2]](diffhunk://#diff-a9fd9b7b99700bf4f5c53c51a931f4cdf426943a672a5eeb16ffe72bc73f6a31R7-R21) [[3]](diffhunk://#diff-d0711298bec29e7b83d5e679fbec947e6d028ade280767cde8d201526c9b7e8aL1-L19) ### Bug Fixes: * Fixed potential null reference errors in hooks by adding optional chaining. [[1]](diffhunk://#diff-97e103ce27156651b4a989f874cbddcdc9a3c2583c0a14e36d036bdd4f66933eL95-R95) [[2]](diffhunk://#diff-c7f19ca063b62568e37726473e1b8c265d3309def0d157772951023c66e055b8L85-R85) [[3]](diffhunk://#diff-1be86445dc0ed6bfdc08f7525c5800ef39bdcd70318a3c130f83f36f1ae9f5c8L59-R63) ### Documentation: * Corrected a typo in the `README.md` file. ### Miscellaneous: * Reordered meta tags in `layout.tsx` for better SEO and performance.
- Loading branch information
1 parent
2b87f29
commit f417288
Showing
13 changed files
with
190 additions
and
156 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"extends": ["next/core-web-vitals"] | ||
"extends": ["next/core-web-vitals", "next/typescript"] | ||
} |
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
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
1 change: 0 additions & 1 deletion
1
frontend/webapp/utils/constants/index.tsx → frontend/webapp/utils/constants/index.ts
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
export * from './routes'; | ||
export * from './urls'; |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.