Commit Graph

311 Commits

Author SHA1 Message Date
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
Josue
f3b5a8cfbb style: add new colours to consts 2021-06-04 12:11:49 -04:00
Josue
5ffdd3b0f9 refactor: add context to Anvils component 2021-06-04 12:11:49 -04:00
Josue
36c4bae2bd refactor: change the home page to take advantage of React context 2021-06-04 12:11:49 -04:00
Josue
bd4d5a1dda style: change dividers' and borders' colour to match design 2021-06-04 12:11:49 -04:00
Josue
bfbefa74c6 refactor: use context to display anvil info in CPU, Memory, Network, Storage and Nodes components 2021-06-04 12:11:49 -04:00
Josue
2c795383d2 refactor: switch from Grid to Box for more flexible layout using flexbox 2021-06-04 12:11:49 -04:00
Josue
ec28e8750a refactor: move the Header component to the home page 2021-06-04 12:11:49 -04:00
Josue
d416ec2980 feat: add tool for anvil sorting 2021-06-04 12:11:49 -04:00
Josue
54d777b989 refactor: add propper decorator selector for selected anvil 2021-06-04 12:11:49 -04:00
Josue
b3756cbe20 refactor: modify Network to use useContext for selected anvil 2021-06-04 12:11:49 -04:00
Josue
d765e858af refactor: modify Network to use useContext for selected anvil 2021-06-04 12:11:49 -04:00
Josue
6d150f75f8 feat: add react context to handle selected anvils 2021-06-04 12:11:49 -04:00
Josue
2a756e152d refactor: add bond speed and state to processed network data 2021-06-04 12:11:49 -04:00
Josue
a0d45f3839 feat: add scrolling 2021-06-04 12:11:49 -04:00
Josue
84c46412d5 refactor: set speed and state of the slowest link 2021-06-04 12:11:49 -04:00
Josue
0386bf1b83 refactor: add scrolling and real bond speed 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
93d10e0528 fix: typo 2021-06-04 12:11:49 -04:00
Josue
caae2dd1e7 fix: change data value range to match design 2021-06-04 12:11:49 -04:00
Josue
12810ef501 refactor: add displaying node in use for a server 2021-06-04 12:11:49 -04:00
Josue
6ecd074990 feat: add tools to process network information for easier display 2021-06-04 12:11:49 -04:00
Josue
d6485b3ee9 refactor: remove unused styles and show host name 2021-06-04 12:11:49 -04:00
Josue
557782e1d0 refactor: reimplement the Node component to match the latest design 2021-06-04 12:11:49 -04:00
Josue
fbf22c310c fix: change header text in Storage component to 'Storage Resync' 2021-06-04 12:11:49 -04:00
Josue
82121508f3 refactor: adjust the size of all headers to a h4 type 2021-06-04 12:11:49 -04:00
Josue
ff10555b5a feat: add decorator to Shared Storage 2021-06-04 12:11:49 -04:00
Josue
f863f7a046 feat: add network component and data processing module 2021-06-04 12:11:49 -04:00
Josue
9ad619f269 fix: change mount_name prop to fit expected data format from server 2021-06-04 12:11:49 -04:00
Josue
704e77abde refactor: change component nesting to group shared storage by file system 2021-06-04 12:11:49 -04:00
Josue
8dc50d04f7 refactor: remove Grid in favour of Box component 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
e6bdd6224a refactor: remove Grid in favour of Box component 2021-06-04 12:11:49 -04:00
Josue
d5b380ea1f refactor: remove Grid in favour of Box component 2021-06-04 12:11:49 -04:00
Josue
b72dacb61f refactor: remove unnecessary Grid and use Anvil component in list 2021-06-04 12:11:49 -04:00
Josue
b496e8b847 refactor: remove Grid in favour of Box component 2021-06-04 12:11:49 -04:00
Josue
9f59f54315 refactor: use whiteSpace prop instead of style 2021-06-04 12:11:49 -04:00
Josue
0c43b126c8 refactor: remove style from Grid item and hide Storage component 2021-06-04 12:11:49 -04:00
Josue
f4a42a8e6d feat: add decorator to SelectedAnvil 2021-06-04 12:11:49 -04:00
Josue
3264361d19 refactor: reove Grid components and use Box instead 2021-06-04 12:11:49 -04:00
Josue
f4a6e1c520 feat: add decorator to the Anvils component 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
97bfab3ec6 refactor: remove unused dependency 2021-06-04 12:11:49 -04:00
Josue
aed57f0500 refactor: group up types related to servers 2021-06-04 12:11:49 -04:00
Josue
3552dbffce refactor: include new components 2021-06-04 12:11:49 -04:00
Josue
a0a1237c5d feat: add placeholder component for the storage section 2021-06-04 12:11:49 -04:00
Josue
e072ac7455 feat: add placeholder component for the network section 2021-06-04 12:11:49 -04:00
Josue
4d55ab6b91 refactor: group up components to have clearer structure 2021-06-04 12:11:49 -04:00
Josue
718e654f24 refactor: remove components used in demo without MUI 2021-06-04 12:11:49 -04:00
Josue
dabec3be7a refactor: remove types used in demo without MUI 2021-06-04 12:11:49 -04:00
Josue
2ec90b1ea3 refactor: group up AnvilStatus types 2021-06-04 12:11:49 -04:00
Josue
1642b637ee refactor: group up AnvilSharedStorage types 2021-06-04 12:11:49 -04:00
Josue
5f2ca07549 refactor: group up AnvilList types 2021-06-04 12:11:49 -04:00
Josue
6abdfcc9a7 feat: add Servers component to list servers 2021-06-04 12:11:49 -04:00
Josue
92f53e8377 refactor: add threads to Total Cores information 2021-06-04 12:11:49 -04:00
Josue
ce539915a9 refactor: clean up Anvil list and enable click for list items 2021-06-04 12:11:49 -04:00
Josue
f892816d83 feat: add type for Anvil replicated storage 2021-06-04 12:11:49 -04:00
Josue
b1b3820948 feat: add type for Anvil servers 2021-06-04 12:11:49 -04:00
Josue
51c5a627aa feat: create SelectedAnvil component for a selectd Anvil from AnvilList 2021-06-04 12:11:49 -04:00
Josue
211613b110 fix: change ProgressBar style to match design 2021-06-04 12:11:49 -04:00
Josue
185cf1398e refactor: use the PanelHeader component with nodes to get the shifted header effecft 2021-06-04 12:11:49 -04:00
Josue
0f8c2452fd feat: create an AnvilList component to show Anvils' status and allow seelction 2021-06-04 12:11:49 -04:00
Josue
8d5a85aaad fix: change AllocationBar style to match design 2021-06-04 12:11:49 -04:00
Josue
415fbce267 refactor: tweak style to match shifted header design 2021-06-04 12:11:49 -04:00
Josue
0d7a3651ce fix: remove using old version of InnerPanel 2021-06-04 12:11:49 -04:00
Josue
6e240eb160 feat: add Panelheader component to create shifted header 2021-06-04 12:11:49 -04:00
Josue
df8e3ee8a0 fix: remove unnecessary check 2021-06-04 12:11:49 -04:00
Josue
3c4284c4f3 fix: use the same data type for Anvil nodes 2021-06-04 12:11:49 -04:00
Josue
e1e4df084f refactor: adapt progress bar to use storage bar style 2021-06-04 12:11:49 -04:00
Josue
f15c164835 refactor: remove unused style 2021-06-04 12:11:49 -04:00
Josue
5783c195be refactor: use storage bar as progress bar with adapted style 2021-06-04 12:11:49 -04:00
Josue
8f33d34ed8 refactor: add decoration boxes using pseudo elements (z-index not responding) 2021-06-04 12:11:49 -04:00
Josue
a552028e80 refactor: change document template to use material-ui during SSR 2021-06-04 12:11:49 -04:00
Josue
fa7084f5c4 refactor: remove InnerPanel to try to add shifted border using pseudo elements 2021-06-04 12:11:49 -04:00
Josue
416b0a3ce7 refactor: perform data checks inside of components instead of in index 2021-06-04 12:11:49 -04:00
Josue
a909260779 refactor: switch from using material-ui's Paper to pseudo elements for panel decoration 2021-06-04 12:11:49 -04:00
Josue
aeb4137c41 refactor: restructure using new Node type for more flexibility in data passed to components 2021-06-04 12:11:49 -04:00
Josue
5c90a05882 refactor: change font size for main text 2021-06-04 12:11:49 -04:00
Josue
306ca7c4f9 refactor: create Node type as subtype of Anvil 2021-06-04 12:11:49 -04:00
Josue
799f6d65aa refactor: modify AnvilStatus type to match current definition in docs 2021-06-04 12:11:49 -04:00
Josue
43e320a62b feat: include AnvilStatus in allowed data types when fetching 2021-06-04 12:11:49 -04:00
Josue
cf417c5ee9 refactor: specify data type in map 2021-06-04 12:11:49 -04:00
Josue
cf77395bf3 refactor: fetch from get_status and use the data with the Anvil component 2021-06-04 12:11:49 -04:00
Josue
ec8b171bea refactor: modify Nodes to fetch and display real data 2021-06-04 12:11:49 -04:00
Josue
fef1bac9c6 feat: create AnvilNode component 2021-06-04 12:11:49 -04:00
Josue
dc9db4f5dd feat: create Anvil component 2021-06-04 12:11:49 -04:00
Josue
3db6ca9c55 feat: add SharedStorageNode component 2021-06-04 12:11:49 -04:00
Josue
935e716520 refactor: use fetched daat in SharedStorage, CPU and Memory components 2021-06-04 12:11:49 -04:00
Josue
7c10804186 feat: add innerPanel as part of the layout 2021-06-04 12:11:49 -04:00
Josue
7b1d3c4e88 refactor: remove opacity from Paper component 2021-06-04 12:11:49 -04:00
Josue
1b1f25976e fix: specify grid items in header's layout 2021-06-04 12:11:49 -04:00
Josue
c2e47f40ab feat: add data type to handle Anvil memory data 2021-06-04 12:11:49 -04:00
Josue
7fac054bc4 feat: add style for custom switch 2021-06-04 12:11:49 -04:00
Josue
75d28f441c feat: create types to handle shared storage 2021-06-04 12:11:49 -04:00
Josue
78f4ccba9f feat: add AnvilMemory to feth types 2021-06-04 12:11:49 -04:00
Josue
f8f706c1dd feat: use fetcher for cpu data 2021-06-04 12:11:49 -04:00
Josue
2be02885a0 refactor: add colour or optimal 2021-06-04 12:11:49 -04:00
Josue
1516a3a797 chore: add pretty-bytes to dependencies 2021-06-04 12:11:49 -04:00
Josue
3bd5a7c253 refactor: use pretty-bytes for formatting 2021-06-04 12:11:49 -04:00
Josue
1ebe664874 refactor: change the on colour to follow ui design 2021-06-04 12:11:49 -04:00
Josue
b37042778e refactor: change bar colour using prop value 2021-06-04 12:11:49 -04:00