Commit Graph

513 Commits

Author SHA1 Message Date
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
Josue
8870711a41 fix: typo in one of the parameters 2021-06-04 12:11:49 -04:00
Josue
105d7003d4 feat: use PeriodicFetch to get anvils data 2021-06-04 12:11:49 -04:00
Josue
ce9135c5af feat: add types and return types for Anvils and CPU 2021-06-04 12:11:49 -04:00
Josue
e0fbeab876 chore: add material-ui/styles 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
ef02ddcf81 chore: remove camelcase rule from eslint 2021-06-04 12:11:49 -04:00
Josue
ddc1d1593c feat: include inner panel in Nodes 2021-06-04 12:11:49 -04:00
Josue
ce56ad092b feat: add temaplate using new components to SharedStorage 2021-06-04 12:11:49 -04:00
Josue
00a871d8f1 fix: modify left padding in leftLabel 2021-06-04 12:11:49 -04:00
Josue
a2ef83b348 feat: use ProgressBar in ReplicatedStorage component 2021-06-04 12:11:49 -04:00
Josue
f80fd85c9e feat: create a progress bar component for sync tasks 2021-06-04 12:11:49 -04:00
Josue
7ae6586577 fix: use border-radius specified in the design 2021-06-04 12:11:49 -04:00
Josue
0243b19d7c feat: add roboto-condensed font 2021-06-04 12:11:49 -04:00
Josue
c686aa6a71 refactor: fix vertical alignment in the main page 2021-06-04 12:11:49 -04:00
Josue
5c1ecd374f refactor: add padding to the panel component 2021-06-04 12:11:49 -04:00
Josue
a3c93bf393 feat: add an allocation bar component 2021-06-04 12:11:49 -04:00
Josue
5e066070e9 refactor: add opacity to paper component 2021-06-04 12:11:49 -04:00
Josue
c4daab3287 refactor: remove href to google font from main document 2021-06-04 12:11:49 -04:00
Josue
c3f0d791b9 refactor: use new text component with all the sections in the page 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
b650000dc2 feat: create base components for all the sections 2021-06-04 12:11:49 -04:00
Josue
38dd97efcd feat: create panel and inner panel to be used with all the elements in the page 2021-06-04 12:11:49 -04:00
Josue
6d018f6b5d feat: create Text component that renders text using custom the design's style 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
Josue
1e32b3d32f refactor: remove server side rendering for now 2021-06-04 12:11:49 -04:00
Josue
bd778144d6 refactor: use const for colours and override default styles 2021-06-04 12:11:49 -04:00
Josue
8f886ea0ca refactor: remove unused css classes 2021-06-04 12:11:49 -04:00
Josue
184e737ff9 refactor: add font as a local library 2021-06-04 12:11:49 -04:00
Josue
f45c0cd956 refactor: elements related to previous approach (before material ui) 2021-06-04 12:11:49 -04:00
Josue
1a73783c04 feat: add material ui theme 2021-06-04 12:11:49 -04:00
Josue
6b0ce569f3 feat: modify nextjs templates and index to use material ui 2021-06-04 12:11:49 -04:00
Josue
0ba269f9f3 feat: add material ui to the header 2021-06-04 12:11:49 -04:00
Josue
af3851137d chore: add material ui 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
f151065ad9 fix(striker-ui): use iso-8601 date format in Anvil status 2021-06-04 12:11:49 -04:00
Tsu-ba-me
7e57668a46 fix(striker-ui): use primary color in ToggleSwitch lever 2021-06-04 12:11:49 -04:00
Tsu-ba-me
cee5f9735f fix(striker-ui): remove static UUID in Anvil status page 2021-06-04 12:11:49 -04:00
Tsu-ba-me
409a888974 fix(striker-ui): add styling to demo Anvil status page 2021-06-04 12:11:49 -04:00
Tsu-ba-me
527da435d4 fix(striker-ui): handle borders in horizontal lists 2021-06-04 12:11:49 -04:00
Tsu-ba-me
f49f749891 fix(striker-ui): allow atom ToggleSwitch to update when props change 2021-06-04 12:11:49 -04:00
Tsu-ba-me
55ba5151e9 fix(striker-ui): separate page containers from page implementation 2021-06-04 12:11:49 -04:00
Tsu-ba-me
0da55725f3 feat(striker-ui): add atom ToggleSwitch 2021-06-04 12:11:49 -04:00
Tsu-ba-me
14d3627c90 fix(striker-ui): enable atom Button to accept HTML button props 2021-06-04 12:11:49 -04:00
Tsu-ba-me
a08c2b24ad fix(striker-ui): add missing types imports in atom Button 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
9ee618ba20 fix(striker-ui): add initial styling to Anvil list page 2021-06-04 12:11:48 -04:00
Tsu-ba-me
88bd6823c6 feat(striker-ui): add organism Header 2021-06-04 12:11:48 -04:00
Tsu-ba-me
52e47197dc feat(striker-ui): add molecule List 2021-06-04 12:11:48 -04:00
Tsu-ba-me
967f54a5c9 feat(striker-ui): add atom SimpleLink 2021-06-04 12:11:48 -04:00
Tsu-ba-me
baace23719 feat(striker-ui): add atom Button 2021-06-04 12:11:48 -04:00
Tsu-ba-me
b08332227a feat(striker-ui): add atom Label 2021-06-04 12:11:48 -04:00
Tsu-ba-me
ab10805adf fix(striker-ui): correct Anvil status page header 2021-06-04 12:11:48 -04:00
Tsu-ba-me
a8e7c96432 feat(striker-ui): add default theme 2021-06-04 12:11:48 -04:00
Tsu-ba-me
33211c2d01 chore(striker-ui): add symlink to image assets 2021-06-04 12:11:48 -04:00
Tsu-ba-me
18bf5fbd62 fix(striker-ui): add basic style to anvil list 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
256c732f8e fix(striker-ui): override document to enable styled components 2021-06-04 12:11:48 -04:00
Tsu-ba-me
4ad5640ab0 chore(striker-ui): install styled-components 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