Commit Graph

143 Commits

Author SHA1 Message Date
Tsu-ba-me
4488477f3b refactor(striker-ui): don't export test input types 2022-11-28 14:37:20 -05:00
Tsu-ba-me
43cc7b8852 fix(striker-ui): trigger error in axios based on status code 2022-11-28 14:37:20 -05:00
Tsu-ba-me
556b550f2c fix(striker-ui): add old icon color; to be removed later 2022-11-28 14:37:19 -05:00
Tsu-ba-me
fa391fd5c7 feat(striker-ui): add ConfirPeersForm 2022-11-28 14:37:19 -05:00
Tsu-ba-me
65871e32c7 fix(striker-ui): enable isEmpty to check objects 2022-11-28 14:37:19 -05:00
Tsu-ba-me
b470070960 fix(striker-ui): use subset of type map 2022-11-28 14:37:19 -05:00
Tsu-ba-me
25c3b467f9 fix(striker-ui): add regex exclude input tests 2022-11-28 14:37:19 -05:00
Tsu-ba-me
7f5880974e fix(striker-ui): pass append data to input test onSuccess 2022-11-28 14:37:19 -05:00
Tsu-ba-me
c496b90b62 fix(striker-ui): allow each test batch to override isIgnoreOnCallbacks 2022-11-28 14:37:19 -05:00
Tsu-ba-me
df70346824 fix(striker-ui): pass data type to SWR config type 2022-11-28 14:37:19 -05:00
Tsu-ba-me
b20d04215f fix(striker-ui): allow specify options in create input test function 2022-11-28 14:37:19 -05:00
Tsu-ba-me
94f6a2d481 fix(striker-ui): add option to run all input tests 2022-11-28 14:37:19 -05:00
Tsu-ba-me
9e88a44894 fix(striker-ui): add append data to input tests 2022-11-28 14:37:19 -05:00
Tsu-ba-me
f22024e3db fix(striker-ui): test interfaces per network in NetworkInitForm 2022-11-28 14:37:19 -05:00
Tsu-ba-me
441ac0e980 fix(striker-ui): simplify testInput() 2022-11-28 14:37:19 -05:00
Tsu-ba-me
23d6669bd7 fix(striker-ui): correct IPv4 CSV regex pattern 2022-11-28 14:37:19 -05:00
Tsu-ba-me
b0731a9c18 fix(striker-ui): add exclude ID list to input tests 2022-11-28 14:37:19 -05:00
Tsu-ba-me
469df1b7c1 fix(striker-ui): allow input test to fetch value during run 2022-11-28 14:37:19 -05:00
Tsu-ba-me
74df410e01 fix(striker-ui): add regex patterns 2022-11-28 14:37:19 -05:00
Tsu-ba-me
807af8d7b0 fix(striker-ui): add compare value to input test variables 2022-11-28 14:37:19 -05:00
Tsu-ba-me
82fcb1e08e fix(striker-ui): add onPasswordVisibilityAppend to OutlinedInput 2022-11-28 14:37:19 -05:00
Tsu-ba-me
691c54875a fix(striker-ui): export testLength() in barrel 2022-11-28 14:37:19 -05:00
Tsu-ba-me
2d6766f096 fix(striker-ui): add testLength() and make test defaults optional 2022-11-28 14:37:19 -05:00
Tsu-ba-me
13b4cabaf8 fix(striker-ui): add undefined to type map 2022-11-28 14:37:19 -05:00
Tsu-ba-me
7ad4ad725e fix(striker-ui): relocate map to value converter constant 2022-11-28 14:37:19 -05:00
Tsu-ba-me
89ad9d34e9 fix(striker-ui): allow undefined in isEmpty element(s) 2022-11-28 14:37:19 -05:00
Tsu-ba-me
debb607212 fix(striker-ui): add function to simplify creating onChange handlers 2022-11-28 14:37:19 -05:00
Tsu-ba-me
46b05aa81d fix(striker-ui): add function to simplify (not) empty checks 2022-11-28 14:37:19 -05:00
Tsu-ba-me
9268ccbd51 fix(striker-ui): create function based on condition(s) 2022-11-28 14:37:19 -05:00
Tsu-ba-me
6beae61640 fix(striker-ui): consolidate string padding 2022-11-28 14:37:18 -05:00
Tsu-ba-me
fe8eaa44e3 fix(striker-ui): correct NIC name sort, correct NIC state display 2022-11-28 14:37:18 -05:00
Tsu-ba-me
d454acf113 fix(striker-ui): remove background from Monospace 2022-11-28 14:37:18 -05:00
Tsu-ba-me
74495758e0 fix(striker-ui): add Monospace; defaults to inline 2022-11-28 14:37:18 -05:00
Tsu-ba-me
5fe0ec06cf fix(striker-ui): optional default max and min in input test args 2022-11-28 14:37:18 -05:00
Tsu-ba-me
e61d60e6b0 fix(striker-ui): hoist format data size related functions 2022-11-28 14:37:17 -05:00
Tsu-ba-me
5b638444f2 fix(striker-ui): correct defaults for display values in each input validation 2022-11-28 14:37:17 -05:00
Tsu-ba-me
5d5a16516a fix(striker-ui): show easier to read range in out-of-bounds messages 2022-11-28 14:37:17 -05:00
Tsu-ba-me
75606eb9a0 fix(striker-ui): make optimize for OS required 2022-11-28 14:37:17 -05:00
Tsu-ba-me
599cd59d2f fix(striker-ui): hoist testInput() and add server name validations 2022-11-28 14:37:17 -05:00
Tsu-ba-me
0c41c45903 fix(striker-ui): upgrade swr from 0.5.7->1.2.2
There's a bug where the onSuccess property of SWRConfiguration
causes a crashed when it is undefined. Seems to be fixed in later
versions, so doing a simple upgrade patches the problem.

This issue caused the Dashboard to show nothing.
2022-11-28 14:37:17 -05:00
Tsu-ba-me
072680f9b3 style(striker-ui): re-run prettier across all sources 2022-03-18 22:50:41 -04:00
Tsu-ba-me
bac8680b36 fix(striker-ui): correct file icon URL in header 2022-03-18 22:50:41 -04:00
Tsu-ba-me
dc701fe9c5 fix(striker-ui): add periodic check to update files list 2022-03-18 22:50:41 -04:00
Tsu-ba-me
b04a7c0233 fix(striker-ui): point files link to file-manager 2022-03-18 22:50:41 -04:00
Tsu-ba-me
5a3ab20308 fix(striker-ui): remove duplicate icon button declaration 2022-03-18 22:50:41 -04:00
Tsu-ba-me
b9b1fb3ecc refactor(striker-ui): rename PeriodicFetch to camel case 2022-03-18 22:50:41 -04:00
Tsu-ba-me
3636f155fc fix(striker-ui): move API URI to constant; add network error messsage to Files 2022-03-18 22:50:41 -04:00
Tsu-ba-me
2e5dd3523b fix(striker-ui): complete file edit components function-wise 2022-03-18 22:50:40 -04:00
Tsu-ba-me
0862706ae8 fix(striker-ui): complete file upload functionalities 2022-03-18 22:50:40 -04:00
Tsu-ba-me
d46ec7b02f fix(striker-ui): split file upload and edit; make file info reusable 2022-03-18 22:50:40 -04:00
Tsu-ba-me
3ca3df01af refactor(striker-ui): migrate MUI v4->5 on Servers 2022-03-18 22:50:40 -04:00
Tsu-ba-me
9025f109eb fix(striker-ui): switch from JSS to Emotion engine (MUI v4 to v5) 2022-03-18 22:50:40 -04:00
Tsu-ba-me
ed723734c4 fix(striker-ui): add button to upload files 2022-03-18 22:50:40 -04:00
Josue
21c90c6224 feat(front-end): add a fetcher with timeout and controlls to reconnect to the server 2021-08-10 17:07:10 -04:00
Josue
92601e532e refactor(font-end): rename fetcher 2021-08-10 17:07:10 -04:00
Josue
9d9be36447 refactor(front-end): add Keep-Alive header in the put fetcher so the striker has time to answer 2021-08-10 17:07:10 -04:00
Josue
5fe420eb67 refactor(front-end): add logout icon to the header 2021-08-10 17:07:10 -04:00
Josue
2c7e2c78ae refactor(front-end): modify fetch and add fetching data for vnc connection 2021-08-10 17:07:10 -04:00
Josue
9f8303ed61 refactor(front-end): use custom breakpoint to define wider mobile layout 2021-08-10 17:07:09 -04:00
Josue
68765a3408 refactor(front-end): add colours to main theme, add select all functionality and fix style errors 2021-06-25 16:52:23 -04:00
Josue
9945915f5a refactor: filter out empty nodes before rendering a component 2021-06-04 12:11:49 -04:00
Josue
8e78ed2fea refactor: sanitize hosts data to avoid using empty nodes 2021-06-04 12:11:49 -04:00
Josue
4f88f0113b refactor: turn drawer icons and header icons into buttons and add URIs 2021-06-04 12:11:49 -04:00
Josue
936057f39e fix: change server status value to match what's in the specs 2021-06-04 12:11:49 -04:00
Josue
1255ca2599 refactor: translate and display node state messages 2021-06-04 12:11:49 -04:00
Josue
431b88aa11 refactor: rewrite function using es6 for consistency 2021-06-04 12:11:49 -04:00
Josue
73af9f6e57 refactor: add sending a request to the backend when switches change state for power and memebership 2021-06-04 12:11:49 -04:00
Josue
65677c0bfb refactor: add border radius to constants 2021-06-04 12:11:49 -04:00
Josue
a2809556c1 style: add disable colour to pallete and include it in MUI style 2021-06-04 12:11:49 -04:00
Josue
5aa9873f44 fix: use ems with icon sizes 2021-06-04 12:11:49 -04:00
Josue
45d0368d6f refactor: add icons and text to the drawer 2021-06-04 12:11:49 -04:00
Josue
05786d444b refactor: use better naming for colours 2021-06-04 12:11:49 -04:00
Josue
17c52d562b refactor: remove files from previous demo 2021-06-04 12:11:49 -04:00
Josue
1ed509e497 fix: typos in Anvils and fetcher 2021-06-04 12:11:49 -04:00
Josue
8367a421c1 refactor: remove unnecessary parameter in the fetching tool 2021-06-04 12:11:49 -04:00
Josue
5efd3938e2 refactor: include SELECTED_ANVIL colour in the theme 2021-06-04 12:11:49 -04:00
Josue
514755c559 feat: add constants for handling states and decorators 2021-06-04 12:11:49 -04:00
Josue
f3b5a8cfbb style: add new colours to consts 2021-06-04 12:11:49 -04:00
Josue
427588df0f refactor: change text component to allow unselected option 2021-06-04 12:11:49 -04:00
Josue
bf19c17b3d fix: change the colour of the list item when hover over 2021-06-04 12:11:49 -04:00
Josue
84fef7d98b feat: add decorator to the Servers component 2021-06-04 12:11:49 -04:00
Josue
2be02885a0 refactor: add colour or optimal 2021-06-04 12:11:49 -04:00
Josue
8870711a41 fix: typo in one of the parameters 2021-06-04 12:11:49 -04:00
Josue
37d041e917 refactor: modify fetcher to make it type agnostic 2021-06-04 12:11:49 -04:00
Josue
70df6b46b8 feat: add search bar and icons from previous version to header 2021-06-04 12:11:49 -04:00
Josue
7808ca9128 feat: define colour palette for new design 2021-06-04 12:11:49 -04:00
Tsu-ba-me
5d4a854eb0 fix(striker-ui): extend Date to output iso-8601 with timezone 2021-06-04 12:11:49 -04:00
Tsu-ba-me
e5f1bf491b fix(striker-ui): fetch Anvil status with interval 2021-06-04 12:11:49 -04:00
Tsu-ba-me
f149f1900e chore(striker-ui): rename lib/Anvil->anvil 2021-06-04 12:11:49 -04:00
Tsu-ba-me
a8e7c96432 feat(striker-ui): add default theme 2021-06-04 12:11:48 -04:00
Tsu-ba-me
0b2c9d4e35 feat(striker-ui): add default theme 2021-06-04 12:11:48 -04:00
Tsu-ba-me
e9b0a0339f fix(striker-ui): add switch to use fake data 2021-06-04 12:11:48 -04:00
Tsu-ba-me
0b00a92a21 feat(striker-ui): add minimal demo 2021-06-04 12:11:48 -04:00