Commit Graph

76 Commits

Author SHA1 Message Date
f5ade65939 Fix 12-hour format (hh) to 24-hour format (HH) in PerformancePage charts
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 16:31:23 +08:00
4f660ff08c Add optional chaining for file.parent access across 5 files
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 14:19:50 +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
ae03b9cedd Enable multi-word Vue component names with explicit naming
Co-Authored-By: Codex <codex@openai.com>
2026-03-08 13:01:16 +08:00
847904c49b Apply repository-wide ESLint auto-fix formatting pass
Co-Authored-By: Codex <codex@openai.com>
2026-03-08 12:11:57 +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
7d5918837b Add try-catch to async IIFEs to prevent unhandled rejections
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 18:11:27 +08:00
ede7becb3a Remove await on non-promise values
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 18:06:29 +08:00
564ead23bf Add null guard for performanceData before accessing time properties
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 08:45:06 +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
4e22643999 Upgrade Tailwind CSS from 3 to 4 with CSS-first config migration
Migrate tailwind.config.js to @theme in CSS, replace PostCSS plugins
with @tailwindcss/postcss, add @reference to 12 Vue scoped styles using
@apply, and remove autoprefixer (now built into Tailwind 4).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 11:29:03 +08:00
1d0d938193 Replace let with const where variable is never reassigned in Vue files
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 09:38:40 +08:00
Cindy Chang
df341c26ab fix: #329 text ellipsis. Sonar 2024-08-14 09:59:09 +08:00
Cindy Chang
db8f8eefd6 sonar 4 left. cookie regex 2024-08-13 13:37:11 +08:00
Cindy Chang
1e0796e56e sonar 12 left. XSS on Performance page 2024-08-13 10:44:11 +08:00
Cindy Chang
86cfb409c3 sonar 41 left 2024-08-02 11:15:15 +08:00
Cindy Chang
a5f271ccc8 sonar low 2024-07-26 10:48:38 +08:00
Cindy Chang
e5b15957cc sonar qube 2024-07-22 14:14:57 +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
1836ef5fbf fix: sonar qube 2024-07-16 09:16:15 +08:00
Cindy Chang
65fdb2a945 fix: #258 YYYY/MM/DD 2024-06-27 13:48:57 +08:00
Cindy Chang
963645f071 fix: performance page linechart tooltip time display with time unit 2024-06-25 09:03:18 +08:00
Cindy Chang
96ee2eb7fb fix: #303 of cycle eff tooltip. Change background chart grid lines. 2024-06-19 11:00:03 +08:00
Cindy Chang
b10e135fee fix: make legend disappear by not declaring plugins twice 2024-06-19 10:21:15 +08:00
Cindy Chang
5d33b6481c fix: #299 Cycle efficiency X axis should only display to YYYYMM. 2024-06-18 10:47:58 +08:00
Cindy Chang
adb2ab29af refine use ticks[ticks.length - 1].value 2024-06-18 09:52:43 +08:00
Cindy Chang
6c9322d1bc fix: #258 2024-06-18 09:25:13 +08:00
Cindy Chang
9b88de4c3f fix: #302. Shouldn't use mod and shouldn't double divide. 2024-06-17 23:03:46 +08:00
Cindy Chang
cee61dbd93 fix: #287 Compare page 2024-06-17 22:46:32 +08:00
Cindy Chang
7750f913a8 ticks.length solves the Y axis bug. 2024-06-17 22:32:57 +08:00
Cindy Chang
541c0080aa import moment and declare primevue option 2024-06-17 21:51:19 +08:00
Cindy Chang
9f121eb5d4 WIP: explicit declare primevue option of one of the chart and the bug is somewhat solved 2024-06-17 21:31:41 +08:00
Cindy Chang
13bc3882ed fix #300 handle compare page by handling data[0], data[1] 2024-06-14 10:57:31 +08:00
Cindy Chang
0689e79013 WIP #300 Performance page done. Use ref() instead of reactive() in independant Vue3 component. 2024-06-13 15:40:51 +08:00
Cindy Chang
f6989c4759 WIP same as the previoius commit. Tried to extract out an independent vue component to prevent shared primevue option.
X axis is with bug now.
2024-06-13 13:35:58 +08:00
Cindy Chang
310c416fd7 WIP #300 Tried to extract out an independent vue component to prevent shared primevue option 2024-06-13 09:48:19 +08:00
Cindy Chang
339657879a fix #287 by using simple division 2024-06-12 12:27:51 +08:00
Cindy Chang
d6cb329a5c fix #258. Compare page and Performance pages are featured with formatted x ticks.
The author supposes this issue is not a bug but a feature.
2024-06-07 15:55:51 +08:00
Cindy Chang
fc99bac449 WIP customizing x tick according to time difference 2024-06-07 10:37:28 +08:00
Cindy Chang
c0c455c55c refine performance code layout 2024-06-06 15:16:43 +08:00
chiayin
e391c9a237 docs: Update all files JSDoc. 2024-03-29 15:49:05 +08:00
chiayin
c608b1cc52 fix: Issues #278 done. 2024-03-27 11:20:54 +08:00
chiayin
c26693f933 fix: Issues #262 done. 2024-03-25 12:03:23 +08:00
chiayin
83cca58fe2 fix: Issues #261 done. 2024-03-25 11:36:06 +08:00
chiayin
456078141a fix: Issues #277 Performance page done. 2024-03-21 11:25:37 +08:00