Commit Graph

177 Commits

Author SHA1 Message Date
d7df6a2615 Fix setTimeChartData called with yMax twice instead of yMax and yMin
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 08:26:58 +08:00
8d358516b8 Translate remaining Chinese JSDoc and CSS comments to English
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 20:53:00 +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
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
64372c7043 Replace loose equality (== null, != null) with strict equality
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 09:22:36 +08:00
Cindy Chang
2150a4ac79 sonar medium 2024-07-29 10:58:53 +08:00
Cindy Chang
81315167aa sonar medium 2024-07-29 09:27:25 +08:00
Cindy Chang
c85ee86f08 sonar medium 2024-07-26 11:39:02 +08:00
Cindy Chang
2ca4fdd0c6 sonar low 2024-07-26 10:40:45 +08:00
Cindy Chang
71b58af96d add needed break 2024-07-26 09:51:47 +08:00
Cindy Chang
15805b4dc5 refactor on actRadioData 2024-07-26 09:49:39 +08:00
Cindy Chang
54f0d29c99 refactor ConformanceTimeRrange created 2024-07-22 15:31:46 +08:00
Cindy Chang
5230a3a99b refactor submitConformance 2024-07-22 15:20:31 +08:00
Cindy Chang
28cdf9822d refactor setTaskByCategoryOnRadioEmitting 2024-07-22 14:59:24 +08:00
Cindy Chang
9f48c1d2b0 refactor duration.js 2024-07-22 14:52:52 +08:00
Cindy Chang
e5b15957cc sonar qube 2024-07-22 14:14:57 +08:00
Cindy Chang
258a25972a reduce cognitive complexity at ConformanceSidebar.vue 2024-07-22 13:36:19 +08:00
Cindy Chang
5407a4e2aa sonar 2024-07-22 13:20:19 +08:00
Cindy Chang
fd5b65a3b6 sonar qube 2024-07-16 13:46:30 +08:00
Cindy Chang
d2e92b367f sonar qube - 'If' statement should not be the only statement in 'else' block 2024-07-16 13:20:04 +08:00
Cindy Chang
3f5f710336 WIP: sonar qube 2024-07-16 09:25:34 +08:00
Cindy Chang
7e362d8740 fix #217; this time finally found the root cause.
If user didn't click any start-end radio button this time,
the start, end value might be null as their initial values are.
So we need to use the earliest value stored in pinia. (In ActRadio.vue created phase)
2024-06-07 15:31:53 +08:00
Cindy Chang
88082c3b8a #217 fix. The bug is solved without finding root cause. Maybe it's just because the author force the website to print out the variable (this.selectCfmPtPSEStart) 2024-06-07 11:56:41 +08:00
Cindy Chang
e16304df45 WIP #217 don't know why it seems to work though 2024-06-07 11:39:53 +08:00
Cindy Chang
9539237c3d refactor (slight, although many files) 2024-06-06 09:25:26 +08:00
Cindy Chang
5f0e12ef1a pageAdmin add setActivePageComputedByRoute function 2024-06-05 13:08:52 +08:00
Cindy Chang
427b9b6aed refactor: rename isSubmit --> isAlreadySubmit 2024-06-05 11:05:55 +08:00
Cindy Chang
205b75450c refactor conformance related code 2024-06-05 10:50:37 +08:00
Cindy Chang
499ad33d57 locale of Conformance page 2024-06-05 09:46:20 +08:00
chiayin
e391c9a237 docs: Update all files JSDoc. 2024-03-29 15:49:05 +08:00
chiayin
301d49bd08 fix: Issues #218 done. 2024-03-28 16:34:06 +08:00
chiayin
394b535118 fix: Issues #218, Time value Change done. 2024-03-26 17:08:51 +08:00
chiayin
ef3bab3592 fix: Issues #217, Time Picker Change done. 2024-03-26 12:54:47 +08:00
chiayin
5acbabfa1c fix: Issues #217, start & end done. 2024-03-25 17:19:12 +08:00
chiayin
483f6a026d refactor: Discover Router Save done. 2024-03-19 16:29:29 +08:00
chiayin
6663b48159 refactor: Discover Router done. 2024-03-19 15:57:12 +08:00
chiayin
e28aaf9cce fix: Issues #222 done. 2024-03-07 17:34:19 +08:00
chiayin
91e46448b0 fix: Issues #60 done. 2024-03-06 12:17:36 +08:00
chiayin
0ce02f7587 fix: Issues #47 done. 2024-03-04 11:01:59 +08:00
chiayin
4704b0deef fix: Issues #149 thead to text-center done. 2024-03-01 10:49:30 +08:00
chiayin
2a8548170b fix: Issues #149 tr to text-center done. 2024-03-01 10:45:23 +08:00
chiayin
14c3a2b05c fix: Issues #47 info icon done. 2024-02-29 17:18:55 +08:00
chiayin
d416e2d8de fix: Issues #197 done. 2024-02-26 16:32:53 +08:00
chiayin
c5a28cb161 fix: Issues #51 done. 2024-02-26 15:27:37 +08:00
chiayin
f429d21584 fix: Primevue css update to fix google font icon text-size done. 2024-02-22 10:08:40 +08:00
chiayin
329e1035ad feat: Performance API done. 2024-01-26 10:38:42 +08:00