Commit Graph

57 Commits

Author SHA1 Message Date
289d4213e2 Refactor MainContainer to use onBeforeRouteUpdate Composition API, eliminating dual script block (S3863)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 09:10:27 +08:00
89fae2cda7 Update MainContainer module documentation to match current route-guard responsibilities
Co-Authored-By: Codex <codex@openai.com>
2026-03-08 19:41:46 +08:00
955e9ceda9 Move auth-entry checks to router guard and simplify MainContainer route logic
Co-Authored-By: Codex <codex@openai.com>
2026-03-08 19:14:20 +08:00
a8cd590a11 Require access token presence in MainContainer auth gate before route entry
Co-Authored-By: Codex <codex@openai.com>
2026-03-08 19:01:03 +08:00
fc43ca67ca Rename single-word Vue files to multi-word names and update references
Co-Authored-By: Codex <codex@openai.com>
2026-03-08 13:26:12 +08:00
52a36e3a7c Resolve remaining lint violations and stabilize ESLint config
Co-Authored-By: Codex <codex@openai.com>
2026-03-08 12:24:45 +08:00
8acb1b50de Persist relative return-to path for post-login redirect
Co-Authored-By: Codex <codex@openai.com>
2026-03-08 10:44:53 +08:00
1d621bf304 Translate all Chinese comments and strings to English
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 20:03:19 +08:00
7fec6cb63f Add JSDoc documentation and file headers to all source files
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 18:57:58 +08:00
3b7b6ae859 Migrate all Vue components from Options API to <script setup>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 18:57:58 +08:00
a619be7881 Convert all store files from JavaScript to TypeScript
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 14:47:57 +08:00
90048d0505 Standardize store exports to named useXxxStore convention
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 13:25:00 +08:00
147b16ca34 Add centralized API client with axios interceptors, remove vue-axios
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 12:44:33 +08:00
523515459b Remove .ts extension from import paths
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 08:50:01 +08:00
79811435de Fix typos: updataFilter, updataConformance, setPrevioiusPage, reallyDeldet, tooken, pageAdimin
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 08:43:09 +08:00
fba2efe21e Fix MainContainer beforeRouteEnter missing try-catch and next() call
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 07:43:17 +08:00
Cindy Chang
db8f8eefd6 sonar 4 left. cookie regex 2024-08-13 13:37:11 +08:00
Cindy Chang
3037299fd6 mark ids 2024-08-09 11:28:44 +08:00
Cindy Chang
a33eaa3a41 sonar 58 left 2024-08-01 16:06:30 +08:00
Cindy Chang
adcdb2bdc0 refactor NavBar.vue 2024-07-22 13:52:48 +08:00
Cindy Chang
07d6e75a6a sonar qube; ternary if 2024-07-16 15:42:30 +08:00
Cindy Chang
8b99a230d7 TypeScript bugs fixed 2024-07-09 13:53:20 +08:00
Cindy Chang
1991b4df63 feature: TypeScript 2024-07-03 12:08:16 +08:00
Cindy Chang
24ccdd47ae feature: remember node positions after refreshing pages 2024-07-01 10:39:53 +08:00
Cindy Chang
69a3f27cb2 fix: #306. At MainContainer, use cookie to determine instead of using pinia state 2024-07-01 08:52:38 +08:00
Cindy Chang
2110388a2d feature: cytoscape node positions are remembered 2024-06-28 16:20:41 +08:00
Cindy Chang
a4aab21b98 feature: refresh token. if not logged in then refresh token; else redirect to login page. 2024-06-28 12:10:19 +08:00
Cindy Chang
877c6acfb1 fix: #216. setHighlightedNavItemOnLanding 2024-06-25 15:00:11 +08:00
Cindy Chang
b7862ab164 WIP account mgmt data-table prototype and modal prototype. 2024-06-19 15:55:02 +08:00
Cindy Chang
80529b85fe WIP: acct mgmt search bar 2024-06-19 10:12:16 +08:00
Cindy Chang
d0d6c482ee fix #216 with cookie mgmt. 2024-06-14 16:44:17 +08:00
Cindy Chang
5bf98a1b74 WIP #216. The timing is not good. After user password is confirmed, the isLoggedIn boolean is still false, and thus causing the website to stay at the login page 2024-06-14 16:17:20 +08:00
Cindy Chang
235504a3fb fix #293. stay at MAP page. Remove calling of copyPending....... 2024-06-12 10:43:48 +08:00
Cindy Chang
5f0e12ef1a pageAdmin add setActivePageComputedByRoute function 2024-06-05 13:08:52 +08:00
Cindy Chang
2142399f8c fix #295 include both save and cancel cases of popup modal; however, for cases when conformance page acting as starting point, bugs are still there 2024-05-31 16:04:52 +08:00
Cindy Chang
0a1eefbaa7 original bug is fixed but save modal is not handle (nav-item bg color is not correctly painted) 2024-05-31 14:36:51 +08:00
Cindy Chang
69f6a2048a WIP #295 not yet keep previous page 2024-05-31 12:03:09 +08:00
chiayin
c64ba68135 fix: Remove my-account API in main page. 2024-01-18 15:34:17 +08:00
chiayin
9c7fd4a202 feat: Upload layout done. 2023-12-14 09:34:35 +08:00
chiayin
8ae4082a47 feat: Conformance Save leaved page done. 2023-12-04 14:11:29 +08:00
chiayin
8b502e67f4 feat: Conformance Save Logout done. 2023-12-01 14:24:05 +08:00
chiayin
d288c8f68e Issues #186: fix, The sidevar needs to close when the button is pressed. 2023-11-06 16:12:18 +08:00
chiayin
cf3d799ed7 Issue #140: Done. 2023-10-13 17:58:47 +08:00
chiayin
e14ec4bef2 Issue #151: Done. 2023-09-27 15:42:08 +08:00
chiayin
d976bc529d Conformance: Have activity Layout done. 2023-06-29 15:45:34 +08:00
chiayin
af1f8f3016 Router: change /Discover to /Discover/map/type/filterId 2023-06-16 17:13:59 +08:00
chiayin
c1df89fefb Discover: Filters Save done. 2023-05-02 17:02:05 +08:00
chiayin
378d6ea550 Discover: add Filter Funnel. 2023-04-28 19:57:26 +08:00
chiayin
e142787832 Files: change file's icon come from Google front icon. 2023-04-28 09:27:28 +08:00
chiayin
ab8708a597 Discover: Save button done. 2023-04-27 18:40:14 +08:00