Cindy Chang
74bc22b736
fixed : #313 use index [ ] instead of splice function to prevent removal
2024-07-09 15:08:55 +08:00
Cindy Chang
a2703bef6e
app.$http = axios; Can LOGIN now
2024-07-09 14:53:21 +08:00
Cindy Chang
8b99a230d7
TypeScript bugs fixed
2024-07-09 13:53:20 +08:00
Cindy Chang
5c46fd6ce7
WIP: TypeScript bugs
2024-07-09 13:46:15 +08:00
Cindy Chang
af5ab081de
1. npm install --save-dev @types/axios @types/vue @types/vue-router
...
2. create file vue-router.d.ts
2. pinia use my plugin
3. npm i --save-dev @types/cytoscape. npm i --save-dev @types/cytoscape-dagre. npm i --save-dev @types/cytoscape-popper.
4. add apiError.d.ts npm install --save-dev @types/vue-router.
5. add vue-axios.d.ts
2024-07-09 12:00:34 +08:00
Cindy Chang
ca4d6d0127
change account-admin url
2024-07-04 15:21:07 +08:00
Cindy Chang
19f7ae5f38
delete console
2024-07-04 11:15:32 +08:00
Cindy Chang
fc37d5d37d
delete console
2024-07-04 11:09:41 +08:00
Cindy Chang
d8d70f01f3
fix : #310 keep loading animation bug is related to cytoscape undefined bug. And cytoscape node position remembering feature is not actually finished correctly yet before. Now remembering feature is done.
2024-07-04 11:07:25 +08:00
Cindy Chang
8a77df285b
feature: keypress of search bar
2024-07-03 15:42:09 +08:00
Cindy Chang
7f1efba2b3
fix: need to intentionally click sort button when Cypress editAccount. Change "visible" to "exist".
2024-07-03 15:28:13 +08:00
Cindy Chang
880cac23a4
Cypress: edit account and see success message
2024-07-03 14:57:46 +08:00
Cindy Chang
6e39f8be99
Cypress: account duplication check
2024-07-03 14:19:07 +08:00
Cindy Chang
ba6450d4a0
Cypress: confirm password message
2024-07-03 14:06:05 +08:00
Cindy Chang
405cc6ea82
Cypress: delete an account 000000
2024-07-03 13:55:49 +08:00
Cindy Chang
b6fa0b375c
acctMgmt.ts by ChatGPT
2024-07-03 13:15:38 +08:00
Cindy Chang
1991b4df63
feature: TypeScript
2024-07-03 12:08:16 +08:00
Cindy Chang
ba4f70213d
fix: file name of cypress file
2024-07-03 11:41:51 +08:00
Cindy Chang
18959f213b
automation test: create account positive case.
2024-07-02 12:16:23 +08:00
Cindy Chang
c33f387c82
refine confirm disable status of account page
2024-07-02 11:09:31 +08:00
Cindy Chang
da557fdd32
fix: use push instead of wrong ... operator
2024-07-01 10:41:53 +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
2a8826c962
hide account
2024-06-28 16:45:19 +08:00
Cindy Chang
2110388a2d
feature: cytoscape node positions are remembered
2024-06-28 16:20:41 +08:00
Cindy Chang
b890df9de6
Merge branch 'acct_mgmt' of github.com:dspim/lucia-frontend into acct_mgmt
2024-06-28 13:54:02 +08:00
Cindy Chang
8054bf89cd
fix : #178 . refresh token. if not logged in then refresh token; else redirect to login page.
2024-06-28 13:53:47 +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
9b2bab9124
feature: admin role edit API
2024-06-27 14:21:27 +08:00
Cindy Chang
65fdb2a945
fix : #258 YYYY/MM/DD
2024-06-27 13:48:57 +08:00
Cindy Chang
4418930d41
fix : #258 . format precision YYYYMMDD
2024-06-27 13:45:16 +08:00
Cindy Chang
3fe427fcc3
update single account pinia state
2024-06-27 11:39:44 +08:00
Cindy Chang
21fb6f616a
feature: set is active API
2024-06-27 10:36:19 +08:00
Cindy Chang
b12d026f0e
editable status control
2024-06-27 08:58:40 +08:00
Cindy Chang
b2c084657d
edit account and logout feature
2024-06-26 15:35:51 +08:00
Cindy Chang
14783654a5
feature: search bar works. Beautiful two return code.
2024-06-26 12:40:49 +08:00
Cindy Chang
965aaeb097
feature: just create badge. Important thing is the await keyword
2024-06-26 11:46:53 +08:00
Cindy Chang
353eecad81
refine infinite scroll - infiniteStart is a ref variable and infiniteAcctData is a computed one.
2024-06-25 16:28:36 +08:00
Cindy Chang
877c6acfb1
fix : #216 . setHighlightedNavItemOnLanding
2024-06-25 15:00:11 +08:00
Cindy Chang
5d5730fc29
visit API, is_admin badge API, is_active badge API,
2024-06-25 12:53:50 +08:00
Cindy Chang
6d11849dae
duplicate account check
2024-06-25 12:08:53 +08:00
Cindy Chang
38b268e8c5
Merge branch 'main' into acct_mgmt
2024-06-25 09:04:22 +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
00d086ff1d
delete account and later on modal closing effect.
2024-06-24 10:09:39 +08:00
Cindy Chang
b55cc0a6d6
vue3 infinite scroll
2024-06-24 09:07:11 +08:00
Cindy Chang
9b0d54bf5e
feature: create POST api done.
2024-06-21 15:21:24 +08:00
Cindy Chang
0fb0d8b529
WIP: delete alert modal prototype.
2024-06-21 14:20:52 +08:00
Cindy Chang
ad8c555632
feature: acct list can hover pencil btn
2024-06-21 13:17:24 +08:00
Cindy Chang
1b8c8629a9
WIP: can hover icon-delete. can have self on the first row on list.
...
API get all users done
2024-06-21 11:14:49 +08:00
Cindy Chang
193bc315ca
WIP: create feature checkboxes layout
2024-06-20 16:54:37 +08:00
Cindy Chang
05caf819bb
WIP: validate confirm password and show error message
2024-06-20 15:54:14 +08:00
Cindy Chang
26441d3979
WIP: account info modal prototype with a little bit of pinia state mgmt.
2024-06-20 12:13:39 +08:00
Cindy Chang
d6a79687da
WIP: account edit modal layout done (now: without password rows)
2024-06-20 10:56:03 +08:00
Cindy Chang
b7862ab164
WIP account mgmt data-table prototype and modal prototype.
2024-06-19 15:55:02 +08:00
Cindy Chang
50c98892c4
fix : #304 . Compare page, shift digit of percentage value
2024-06-19 13:36:16 +08:00
Cindy Chang
69835ad05b
WIP: acct mgmt search bar and data grid header.
2024-06-19 11:35:16 +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
80529b85fe
WIP: acct mgmt search bar
2024-06-19 10:12:16 +08:00
Cindy Chang
341fd61d07
WIP: account management menu can be toggled by head button now.
2024-06-18 16:38:02 +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
94dbe1dee6
WIP: #258 Compare page
2024-06-18 09:12:18 +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
3ce17fc436
clean console
2024-06-17 20:54:00 +08:00
Cindy Chang
4c18dfd8d6
shouldn't use mod(%) operator.
...
shouldn't divide hour and then divide day again.
should use substring.
should split into 8 instead of 6.
2024-06-17 20:53:49 +08:00
Cindy Chang
452c9358c9
should not be ms but s
2024-06-17 11:34:13 +08:00
Cindy Chang
03806dad3c
fix : #290 fileInput.value = ''
2024-06-17 11:12:28 +08:00
Cindy Chang
1665e51301
fix #296 "DASHBOARD" --> "PERFORMANCE"
2024-06-17 09:36:45 +08:00
Cindy Chang
505aebebb0
fix #292 remove "i" icon
2024-06-17 09:34:12 +08:00
Cindy Chang
3edac09881
fix #289 locale
2024-06-17 09:26:06 +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
8d34b80b5c
fix #299 by setting y.reverse
2024-06-14 15:01:12 +08:00
Cindy Chang
8c09e8ae40
fix #258 reopen data_with_log_小兒(日)
2024-06-14 14:00:29 +08:00
Cindy Chang
d47b17f575
fix #301 should push to "/files"
2024-06-14 11:30:43 +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
c016e2aa41
WIP about deep cloning and Y axis and object sharing bug
2024-06-12 16:06:17 +08:00
Cindy Chang
339657879a
fix #287 by using simple division
2024-06-12 12:27:51 +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
d117adf54e
fix #287 , 261 by removing Math.floor()
2024-06-12 09:05:46 +08:00
Cindy Chang
f1cabe2035
fix : #294 by adding next param
2024-06-11 16:01:29 +08:00
Cindy Chang
ba418abbef
minor fix of typo
2024-06-11 15:31:12 +08:00
Cindy Chang
82fe104291
WIP #216 . QA mentioned that bugs remained, so we keep working on it.
2024-06-11 13:55:00 +08:00
Cindy Chang
314670eafd
fix #216 . Add base5
...
encode. Also add cypress.
2024-06-11 12:23:17 +08:00
Cindy Chang
aa1dbfabf2
#216 done by using return-to URL mechanism
2024-06-11 11:57:33 +08:00
Cindy Chang
444b7d6975
WIP: not sure what is aaa and bbb meaning in /rule/log/aaa/conformance/bbb
2024-06-11 09:15:16 +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
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
fc99bac449
WIP customizing x tick according to time difference
2024-06-07 10:37:28 +08:00