Commit Graph

311 Commits

Author SHA1 Message Date
Tsu-ba-me
4c215e404d build(striker-ui): don't copy make-related files and add distclean-local target 2021-06-04 16:44:42 -04:00
Tsu-ba-me
7c1598575b build(striker-ui): copy files from srcdir for building 2021-06-04 15:49:28 -04:00
Tsu-ba-me
73d4a32d01 build(striker-ui): npm ci->install and don't generate package-lock 2021-06-04 15:27:53 -04:00
Tsu-ba-me
c571a3efda build(striker-ui): rename target build->out to match build output directory name 2021-06-04 15:26:35 -04:00
Tsu-ba-me
0c2952a1c7 build(striker-ui): remove debug pwd calls in Makefile.am 2021-06-04 12:12:38 -04:00
Tsu-ba-me
79fa324f9d build(striker-ui): remove excess call in specfile to build web UI 2021-06-04 12:11:50 -04:00
Tsu-ba-me
b46042aede build(striker-ui): add uninstall steps for web UI 2021-06-04 12:11:50 -04:00
Tsu-ba-me
88590e3e17 build(striker-ui): add install steps for web UI 2021-06-04 12:11:50 -04:00
Tsu-ba-me
23b92cc30f build(striker-ui): ignore npm scripts (including husky config on postinstall) 2021-06-04 12:11:50 -04:00
Tsu-ba-me
f772da5324 build(striker-ui): remove husky related files from tarball 2021-06-04 12:11:49 -04:00
Tsu-ba-me
ce646e086b build(striker-ui): relocate rule comment to pre-section 2021-06-04 12:11:49 -04:00
Tsu-ba-me
8ff9311268 build(striker-ui): add build step to generate .env.local 2021-06-04 12:11:49 -04:00
Tsu-ba-me
e0c5c3bed2 build(striker-ui): add files to include in tarball for building 2021-06-04 12:11:49 -04:00
Tsu-ba-me
2bfcb09672 build(striker-ui): correct Makefile separators 2021-06-04 12:11:49 -04:00
Tsu-ba-me
6cdd216b9c build(cgi-bin): add front-end build process 2021-06-04 12:11:49 -04:00
Josue
9945915f5a refactor: filter out empty nodes before rendering a component 2021-06-04 12:11:49 -04:00
Josue
6611d9f91b refactor: remove unnecessary comment 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
284d536f7f style: add dividers between nodes and links 2021-06-04 12:11:49 -04:00
Josue
c31cdeec11 style: remove searchbar and add red bottom border 2021-06-04 12:11:49 -04:00
Josue
341a4ad50a fix: change data types in fileSystem to avoid crashing during building process 2021-06-04 12:11:49 -04:00
Josue
cbad6a52a0 refactor: rename filesystems datatype 2021-06-04 12:11:49 -04:00
Josue
227685983f fix: use colour from the palette for the spinner 2021-06-04 12:11:49 -04:00
Josue
029714112b fix: remove unnecessary comment 2021-06-04 12:11:49 -04:00
Josue
440b5c81ef refactor: use online instead of is_removable 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
89313de042 refactor: modify SharedStorage to match latest chagnes in specs 2021-06-04 12:11:49 -04:00
Josue
ee063c9f43 feat: add FileSystems component and types 2021-06-04 12:11:49 -04:00
Josue
117fd8a78d style: change CPU component to match latest changes in the design 2021-06-04 12:11:49 -04:00
Josue
1852c68454 fix: filter out nodes with no uuid 2021-06-04 12:11:49 -04:00
Josue
e8693e7ef8 fix: hide progress bar and message if a node is offline 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
64f0c2d756 feat: add spinner 2021-06-04 12:11:49 -04:00
Josue
0e1098d893 refactor: update host state following specs 2021-06-04 12:11:49 -04:00
Josue
7199e1899e refactor: update valid values for link_state 2021-06-04 12:11:49 -04:00
Josue
6b2d3700f9 fix: use host_uuid instead of index number to determine server's host 2021-06-04 12:11:49 -04:00
Josue
24e4509c8d refactor: add reserved prop to Memory component 2021-06-04 12:11:49 -04:00
Josue
a3a4e4c72d fix: use correct endpoint for network 2021-06-04 12:11:49 -04:00
Josue
0e09683d61 fix: use prop names from the specs 2021-06-04 12:11:49 -04:00
Josue
c3f0a948a6 fix: remove subdirectory from URIs 2021-06-04 12:11:49 -04:00
Josue
f79b9e3f04 refactor: adopt back-end naming in all the components 2021-06-04 12:11:49 -04:00
Josue
ff9460cc49 refactor: use node status to determine Anvil status, and add set_power for an anvil 2021-06-04 12:11:49 -04:00
Josue
982a8e4f00 fix: use AnvilStatus type for hosts info instead of Anvil type 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
e775b4ac16 refactor: use regex instead of a map to display node state 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
2fe146d58c refactor: add types to handle setting a node's 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
fa075598b8 refactor: remove unused style class 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
894558d177 refactor: allow disabling membership switch for nodes in Nodes component 2021-06-04 12:11:49 -04:00
Josue
b70984f5e5 feat: add removable prop to nodes in anvil status 2021-06-04 12:11:49 -04:00
Josue
e557758983 refactor: remove unused styles in the drawer component 2021-06-04 12:11:49 -04:00
Josue
162831ebf2 refactor: move eslint disable rule to a better place 2021-06-04 12:11:49 -04:00
Josue
9cdb9fc0fa style: use Headertext for admin header 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
7209d47aa2 style: hide legacy icons in mobile layout and center search bar 2021-06-04 12:11:49 -04:00
Josue
10650e8bb2 refactor: add legacy icons and text to AnvilDrawer 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
acd6052b71 feat: add initial implementation of drawer menu 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
46e9661152 refactor: remove old dependency 2021-06-04 12:11:49 -04:00
Josue
1ef0b01118 feat: allow setting a differnt origin using an .env file 2021-06-04 12:11:49 -04:00
Josue
27c34cbb01 fix: typos in px to em switch 2021-06-04 12:11:49 -04:00
Josue
434fdd38bc style: fix left padding in serer list 2021-06-04 12:11:49 -04:00
Josue
f52669160c refactor: remove unused version of ReplicatedStorage 2021-06-04 12:11:49 -04:00
Josue
93b6b269e3 refactor: remove next/image to avoid errors during export 2021-06-04 12:11:49 -04:00
Josue
a0fb8bd151 refactor: add export to scripts in package.json 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
4d2c140234 refactor: use em instead of px 2021-06-04 12:11:49 -04:00
Josue
8df08e6e2c refactor: use Decorator component in SelectedAnvil 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
231c6dfdda refactor: add Decorator component 2021-06-04 12:11:49 -04:00
Josue
844e201c0b refactor: move Network to its own module 2021-06-04 12:11:49 -04:00
Josue
cfff53bf1a refactor: move SharedStorage to their own module 2021-06-04 12:11:49 -04:00
Josue
cf40057e97 refactor: move panels to their own module 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
09f30eba37 refactor: set scrolling depending on screen size 2021-06-04 12:11:49 -04:00
Josue
04b5f6e9fd fix: add padding for better header display, and change overflow depending on screen size 2021-06-04 12:11:49 -04:00
Josue
c7d2d6c925 refactor: remove margin added to main containers in the general layout 2021-06-04 12:11:49 -04:00
Josue
f61d14de0b fix: move margin prop from paper to container 2021-06-04 12:11:49 -04:00
Josue
11ce038344 refactor: switch from pseudo elements to regular elements for square decorator implementation 2021-06-04 12:11:49 -04:00
Josue
e1802e9ab6 style: increase margin in main layout to allow more precision with decorators 2021-06-04 12:11:49 -04:00
Josue
0e5a728dcc refactor: connect switch to Node state 2021-06-04 12:11:49 -04:00
Josue
334623e3bf refactor: change data type to match the specs in the design document 2021-06-04 12:11:49 -04:00
Josue
cd4a42d295 refactor: improve responsive capabilities 2021-06-04 12:11:49 -04:00
Josue
0bf3e6cd38 refactor: fix paths to constanst 2021-06-04 12:11:49 -04:00
Josue
4861bbd91a refactor: change server states to match values defined in the design document 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
965a50ddf5 refactor: move setting selected anvil to child components 2021-06-04 12:11:49 -04:00
Josue
4fbb61dede fix: improve anvil default selection at launch 2021-06-04 12:11:49 -04:00
Josue
3d837a3ea7 fix: provide default value for undefined string 2021-06-04 12:11:49 -04:00
Josue
a3244fc58b fix: change the nesting of the components to fix problem with the AppBar 2021-06-04 12:11:49 -04:00
Josue
6a2433878f refactor: handle overflow in the Nodes component 2021-06-04 12:11:49 -04:00
Josue
a5ba0a7c50 refactor: use Context in the SelectedAnvil component 2021-06-04 12:11:49 -04:00
Josue
ed79116296 style: add padding to the box containing the mount point 2021-06-04 12:11:49 -04:00
Josue
85f13e4ab9 refactor: use a real element instead of a pseudo element to create the panel header 2021-06-04 12:11:49 -04:00
Josue
14d8dd1683 refactor: remove Grid and use Box in the header 2021-06-04 12:11:49 -04:00