Commit Graph

595 Commits

Author SHA1 Message Date
Tsu-ba-me
3a1d7dc4b2 fix(striker-ui): restyle Preview for server list 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
bcfda2e37d fix(striker-ui): show Spinner until provision server data is received 2022-11-28 14:37:18 -05:00
Tsu-ba-me
38d8081c72 fix(striker-ui): add input test to ensure unique server name 2022-11-28 14:37:18 -05:00
Tsu-ba-me
4131c02462 fix(striker-ui): apply Monospace to ConfirmDialog content 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
d8cbf63fb7 fix(striker-ui): add ProvisionServerDialog to Servers panel; see body
* update min memory and virtual disk size in ProvisionServerDialog
* revise input tests in ProvisionServerDialog to match changes to input
  tests
* add close button to ProvisionServerDialog
2022-11-28 14:37:18 -05:00
Tsu-ba-me
3ad7ae62c8 fix(striker-ui): allow style overrides in IconButton; export IconButtonProps 2022-11-28 14:37:18 -05:00
Tsu-ba-me
737c8598d3 fix(striker-ui): avoid crash in Memory when returned data is incomplete 2022-11-28 14:37:18 -05:00
Tsu-ba-me
c074f548ed fix(striker-ui): fetch provision server input data from back-end 2022-11-28 14:37:18 -05:00
Tsu-ba-me
70f06e47e5 chore(striker-ui): turn off eslint react/jsx-props-no-spreading 2022-11-28 14:37:17 -05:00
Tsu-ba-me
ab4f5bdfe5 fix(striker-ui): add provision server request and related displays 2022-11-28 14:37:17 -05:00
Tsu-ba-me
4a973ec5d9 fix(striker-ui): make MessageBox closable 2022-11-28 14:37:17 -05:00
Tsu-ba-me
9a5d825a0a fix(striker-ui): allow style overrides in Spinner 2022-11-28 14:37:17 -05:00
Tsu-ba-me
82fb477eb3 fix(striker-ui): show whole Paper in ConfirmDialog 2022-11-28 14:37:17 -05:00
Tsu-ba-me
3936060208 fix(striker-ui): add confirm before provision server 2022-11-28 14:37:17 -05:00
Tsu-ba-me
5856502c67 fix(striker-ui): rename contentText->content of ConfirmDialog in FileEditForm 2022-11-28 14:37:17 -05:00
Tsu-ba-me
7b4272aa0a fix(striker-ui): allow ReactNode as ConfirmDialog content 2022-11-28 14:37:17 -05:00
Tsu-ba-me
6c0af0bb1d fix(striker-ui): remove debug display for memory and virtual disks 2022-11-28 14:37:17 -05:00
Tsu-ba-me
67b1ed72f3 fix(striker-ui): improve info in anvil select list and remove base 10 units 2022-11-28 14:37:17 -05:00
Tsu-ba-me
d5ae619ce3 fix(striker-ui): add anvil UUID map to anvil data 2022-11-28 14:37:17 -05:00
Tsu-ba-me
3d180f3809 fix(striker-ui): allow ReactNode in select items 2022-11-28 14:37:17 -05:00
Tsu-ba-me
117c6adda5 fix(striker-ui): add info to storage group select items; see body
Additional changes:
* add anvil description field
* use hoisted format data size functions and remove local copies
2022-11-28 14:37:17 -05:00
Tsu-ba-me
45682712d5 fix(striker-ui): default to shrink Slider label 2022-11-28 14:37:17 -05:00
Tsu-ba-me
0c76873e75 refactor(striker-ui): specify OutlinedInput as FC 2022-11-28 14:37:17 -05:00
Tsu-ba-me
e9aba3e8eb fix(striker-ui): don't change slider when text input is invalid 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
4f7fe063da fix(striker-ui): don't pass unrelated props to MUIAutocomplete 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
befe5ec4b5 fix(striker-ui): add input message to Autocomplete 2022-11-28 14:37:17 -05:00
Tsu-ba-me
61de05569b fix(striker-ui): connect hover state in OutlinedLabeledInputWithSelect 2022-11-28 14:37:17 -05:00
Tsu-ba-me
e09b736626 fix(striker-ui): connect hover states in Slider 2022-11-28 14:37:17 -05:00
Tsu-ba-me
dc1d26cc8f fix(striker-ui): increase spacing between required indicator and label text 2022-11-28 14:37:17 -05:00
Tsu-ba-me
a0993d5e10 fix(striker-ui): show clear indicator when Select has value 2022-11-28 14:37:17 -05:00
Tsu-ba-me
7de3e951f7 fix(striker-ui): mark remaining required fields in provision server 2022-11-28 14:37:17 -05:00
Tsu-ba-me
d65fd45c45 fix(striker-ui): mark optimize for OS as required 2022-11-28 14:37:17 -05:00
Tsu-ba-me
6eb66c7df3 fix(striker-ui): allow extend renderInput in Autocomplete 2022-11-28 14:37:17 -05:00
Tsu-ba-me
86062d33a2 fix(striker-ui): hoist OutlinedLabeledInputWithSelect 2022-11-28 14:37:17 -05:00
Tsu-ba-me
c280498d4b fix(striker-ui): set higher initial unit for memory and VD size 2022-11-28 14:37:17 -05:00
Tsu-ba-me
f49dbf73dd fix(striker-ui): change required icon in input label 2022-11-28 14:37:17 -05:00
Tsu-ba-me
f06ffff3d8 fix(striker-ui): show warning message when input validation fails 2022-11-28 14:37:17 -05:00
Tsu-ba-me
bbba31036a fix(striker-ui): apply InputMessageBox and SelectWithLabel in provision server 2022-11-28 14:37:17 -05:00
Tsu-ba-me
8c4f62c862 fix(striker-ui): apply InputMessageBox to Slider and labeled input 2022-11-28 14:37:17 -05:00
Tsu-ba-me
e48963fc27 fix(striker-ui): hoist SelectWithLabel 2022-11-28 14:37:17 -05:00
Tsu-ba-me
730525f02e fix(striker-ui): add notify required icon to input label 2022-11-28 14:37:17 -05:00
Tsu-ba-me
0bbef6205c fix(striker-ui): hoist InputMessageBox 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
d5967c1361 fix(striker-ui): add message to OutlinedInputWithLabel 2022-11-28 14:37:17 -05:00
Tsu-ba-me
776988da47 fix(striker-ui): include all MessageBox props passed to Slider 2022-11-28 14:37:17 -05:00
Tsu-ba-me
113fda4900 fix(striker-ui): correct and reduce validations 2022-11-28 14:37:17 -05:00
Tsu-ba-me
3c0925065b fix(striker-ui): pass MessageBox props to Slider 2022-11-28 14:37:17 -05:00
Tsu-ba-me
1690349011 fix(striker-ui): default MessageBox type to 'info' 2022-11-28 14:37:17 -05:00
Tsu-ba-me
1414117ac1 fix(striker-ui): install and driver ISO cannot be the same 2022-11-28 14:37:17 -05:00
Tsu-ba-me
97269e33c9 fix(striker-ui): add validation for virtual disks 2022-11-28 14:37:17 -05:00
Tsu-ba-me
559679f8a3 fix(striker-ui): add basic validation workflow 2022-11-28 14:37:17 -05:00
Tsu-ba-me
3c866ddfa0 fix(striker-ui): add error message to Slider 2022-11-28 14:37:17 -05:00
Tsu-ba-me
2e199ce7cb fix(striker-ui): allow combine sx property in MessageBox 2022-11-28 14:37:17 -05:00
Tsu-ba-me
67b360946d fix(striker-ui): wrap Slider with FormControl to ensure label styling 2022-11-28 14:37:17 -05:00
Tsu-ba-me
d4887f7f2c fix(striker-ui): add max button to VD size 2022-11-28 14:37:17 -05:00
Tsu-ba-me
2f215f2de6 refactor(striker-ui): rename HTML input variables to improve readability 2022-11-28 14:37:17 -05:00
Tsu-ba-me
092f57927f fix(striker-ui): revise updateLimit() to handle anvil selection 2022-11-28 14:37:17 -05:00
Tsu-ba-me
949afb4f62 fix(striker-ui): add clear to file selects 2022-11-28 14:37:17 -05:00
Tsu-ba-me
653f7e6609 fix(striker-ui): make filter logic work with multiple VDs 2022-11-28 14:37:17 -05:00
Tsu-ba-me
1094ad7d20 fix(striker-ui): add button to clear Select 2022-11-28 14:37:17 -05:00
Tsu-ba-me
dd9ea87f84 fix(striker-ui): correct filter logic for virtual disks WIP 2022-11-28 14:37:17 -05:00
Tsu-ba-me
35dadf3a1e fix(striker-ui): filter Anvils without storage groups 2022-11-28 14:37:17 -05:00
Tsu-ba-me
7f81c92e3b fix(striker-ui): add max memory button 2022-11-28 14:37:17 -05:00
Tsu-ba-me
1d313863fb fix(striker-ui): export type ContainedButtonProps 2022-11-28 14:37:17 -05:00
Tsu-ba-me
c8bd3ca944 fix(striker-ui): simplify repeated filter logic into updateLimits() 2022-11-28 14:37:17 -05:00
Tsu-ba-me
54a8a9f54b fix(striker-ui): consolidate organize and filter logic in Provision Server form 2022-11-28 14:37:17 -05:00
Tsu-ba-me
740f6c27b8 fix(striker-ui): combine functions for filter anvils and get max values 2022-11-28 14:37:17 -05:00
Tsu-ba-me
3489e97d6d fix(striker-ui): style provision server form inputs 2022-11-28 14:37:17 -05:00
Tsu-ba-me
b24f58c47d fix(striker-ui): correct outline in Slider 2022-11-28 14:37:17 -05:00
Tsu-ba-me
92ddab3344 fix(striker-ui): autocomplete OS and simplify dSize 2022-11-28 14:37:17 -05:00
Tsu-ba-me
99b56515e3 fix(striker-ui): customize MUI Autocomplete 2022-11-28 14:37:17 -05:00
Tsu-ba-me
be89fe5fb9 fix(striker-ui): hoist OutlinedInputWithLabel 2022-11-28 14:37:17 -05:00
Tsu-ba-me
2f4f9da03a fix(striker-ui): export type OutlinedInputLabelProps 2022-11-28 14:37:17 -05:00
Tsu-ba-me
522b1e5079 fix(striker-ui): override background-color in MenuItem 2022-11-28 14:37:17 -05:00
Tsu-ba-me
459742093e fix(striker-ui): add ISO fields to Provision Server form 2022-11-28 14:37:17 -05:00
Tsu-ba-me
860bdc9b74 fix(striker-ui): remove value state in Slider 2022-11-28 14:37:17 -05:00
Tsu-ba-me
9929534f18 fix(striker-ui): hide storage options that are not relevant to the Anvils field 2022-11-28 14:37:17 -05:00
Tsu-ba-me
2997525ba6 fix(striker-ui): allow restrict storage groups and anvils 2022-11-28 14:37:17 -05:00
Tsu-ba-me
393afaee41 fix(striker-ui): correct filter logic based on 3 max values 2022-11-28 14:37:17 -05:00
Tsu-ba-me
19a6777512 fix(striker-ui): correct colours in MenuItem when focused 2022-11-28 14:37:17 -05:00
Tsu-ba-me
03ef7154cf fix: export SelectProps type 2022-11-28 14:37:17 -05:00
Tsu-ba-me
e1075c131f fix: export OutlinedInputProps type in barrel 2022-11-28 14:37:17 -05:00
Tsu-ba-me
ef562b8082 fix: style difference between w/ and w/o text input in Slider 2022-11-28 14:37:17 -05:00
Tsu-ba-me
131b601e55 fix: correct memory slider WIP 2022-11-28 14:37:17 -05:00
Tsu-ba-me
746747d075 fix(striker-ui): enable text input for Slider and add max/min 2022-11-28 14:37:17 -05:00
Tsu-ba-me
d867cd30f3 fix(striker-ui): export props type in OutlinedInput 2022-11-28 14:37:17 -05:00
Tsu-ba-me
85314c9367 fix(striker-ui): hoist Select and MenuItem 2022-11-28 14:37:17 -05:00
Tsu-ba-me
70aa5bcdfb feat(striker-ui): add ProvisionServerDialog WIP 2022-11-28 14:37:17 -05:00
Tsu-ba-me
b66666a087 feat(striker-ui): add Slider 2022-11-28 14:37:17 -05:00
Tsu-ba-me
88770462ab fix(striker-ui): allow OutlinedInputLabel style override 2022-11-28 14:37:17 -05:00
Tsu-ba-me
3967fc70d0 fix(striker-ui): pass CSS styles from Dialog down to Panel 2022-11-28 14:37:17 -05:00
Tsu-ba-me
c1f783286e fix(striker-ui): allow OutlinedInput style override 2022-11-28 14:37:17 -05:00
Tsu-ba-me
012a1828f8 fix(striker-ui): rename endpoint /files->/file to match back-end 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
86b838cdcb fix(striker-ui): export message box types 2022-03-18 22:50:41 -04:00
Tsu-ba-me
53b2560f34 fix(striker-ui): info file upload appear delay 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
5a3ab20308 fix(striker-ui): remove duplicate icon button declaration 2022-03-18 22:50:41 -04:00
Tsu-ba-me
cef5ae395c fix(striker-ui): change colour of finish edit icon in Servers panel 2022-03-18 22:50:41 -04:00
Tsu-ba-me
8632f29db2 fix(striker-ui): isolate message box for reuse 2022-03-18 22:50:41 -04:00
Tsu-ba-me
131c50863e fix(striker-ui): only send changed properties when edit file 2022-03-18 22:50:41 -04:00
Tsu-ba-me
eab3abd7db fix(striker-ui): show spinner after clicking purge/update in edit file 2022-03-18 22:50:41 -04:00
Tsu-ba-me
24442d524b fix(striker-ui): add purge file confirm dialog 2022-03-18 22:50:41 -04:00
Tsu-ba-me
9ec5b4398c fix(striker-ui): move ContainedButton out of Files 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
8468344d3f refactor(striker-ui): reorder imports in Servers 2022-03-18 22:50:41 -04:00
Tsu-ba-me
878bafcc85 fix(striker-ui): isolate styled OutlinedInputLabel 2022-03-18 22:50:41 -04:00
Tsu-ba-me
323d162172 fix(striker-ui): isolate styled OutlinedInput 2022-03-18 22:50:41 -04:00
Tsu-ba-me
bcda785f3c fix(striker-ui): extend Panel with MUI Paper; for MUI Dialog use 2022-03-18 22:50:41 -04:00
Tsu-ba-me
c1ad5a513b fix(striker-ui): isolate PanelHeader and apply to Servers panel 2022-03-18 22:50:41 -04:00
Tsu-ba-me
d0b36e9f99 fix(striker-ui): rename PanelHeader->InnerPanelHeader 2022-03-18 22:50:41 -04:00
Tsu-ba-me
3dff61b966 fix(striker-ui): isolate custom IconButton in Servers 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
5da85f7600 fix(striker-ui): make file type drop-down menu readable 2022-03-18 22:50:41 -04:00
Tsu-ba-me
74cd20dc7d fix(striker-ui): adjust file list style; extend body text 2022-03-18 22:50:41 -04:00
Tsu-ba-me
39f26e4c8f fix(striker-ui): style file edit form and add spinner when loading data 2022-03-18 22:50:41 -04:00
Tsu-ba-me
f627368534 fix(striker-ui): clear selected files to upload when entering edit mode 2022-03-18 22:50:41 -04:00
Tsu-ba-me
f8b3fb6787 fix(striker-ui): use contained variant button in file components 2022-03-18 22:50:41 -04:00
Tsu-ba-me
bf7e786c03 fix(striker-ui): customize file type select in file info 2022-03-18 22:50:41 -04:00
Tsu-ba-me
387222ebdb fix(striker-ui): customize MUI text field 2022-03-18 22:50:40 -04:00
Tsu-ba-me
554a94a9ad fix(striker-ui): hide file type during file upload 2022-03-18 22:50:40 -04:00
Tsu-ba-me
8c0841ca71 fix(striker-ui): align upload progress in file upload form 2022-03-18 22:50:40 -04:00
Tsu-ba-me
c5a4c77de3 fix(striker-ui): remove progress and update file list when file upload completes 2022-03-18 22:50:40 -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
6b69213bc3 fix(striker-ui): draft file list and upload/edit form 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
61438a8de4 refactor(striker-ui): migrate MUI v4->5 on Display/FullSize 2022-03-18 22:50:40 -04:00
Tsu-ba-me
a887a03b33 refactor(striker-ui): migrate MUI v4->5 on Display/Preview 2022-03-18 22:50:40 -04:00
Tsu-ba-me
3218fc14dc refactor(striker-ui): migrate MUI v4->5 on Resource/ResourceVolumes (unused) 2022-03-18 22:50:40 -04:00
Tsu-ba-me
70ef51f7ca refactor(striker-ui): migrate MUI v4->5 on FileSystem/* (unused) 2022-03-18 22:50:40 -04:00
Tsu-ba-me
95cc1871b0 refactor(striker-ui): migrate MUI v4->5 on Files/Files 2022-03-18 22:50:40 -04:00
Tsu-ba-me
1d5175b68f refactor(striker-ui): migrate MUI v4->5 on Hosts/AnvilHost 2022-03-18 22:50:40 -04:00
Tsu-ba-me
4417388bc9 refactor(striker-ui): migrate MUI v4->5 on SharedStorage/SharedStorage 2022-03-18 22:50:40 -04:00
Tsu-ba-me
bc5583657f refactor(striker-ui): migrate MUI v4->5 on SharedStorage/SharedStorageHost 2022-03-18 22:50:40 -04:00
Tsu-ba-me
82a0cc950d refactor(striker-ui): migrate MUI v4->5 on Network/Network 2022-03-18 22:50:40 -04:00
Tsu-ba-me
a162d04ff0 refactor(striker-ui): migrate MUI v4->5 on Panels/PanelHeader 2022-03-18 22:50:40 -04:00
Tsu-ba-me
f360abd58d refactor(striker-ui): migrate MUI v4->5 on Panels/InnerPanel 2022-03-18 22:50:40 -04:00
Tsu-ba-me
fd6978399b refactor(striker-ui): migrate MUI v4->5 on Text/BodyText 2022-03-18 22:50:40 -04:00
Tsu-ba-me
d925a7e44e refactor(striker-ui): migrate MUI v4->5 on Bars/* 2022-03-18 22:50:40 -04:00
Tsu-ba-me
2ae32014a8 refactor(striker-ui): migrate MUI v4->5 on Anvils/AnvilList 2022-03-18 22:50:40 -04:00
Tsu-ba-me
6b1cb44c70 refactor(striker-ui): migrate MUI v4->5 on Panels/Panel 2022-03-18 22:50:40 -04:00
Tsu-ba-me
9f3a987e3e refactor(striker-ui): migrate MUI v4->5 on Storage 2022-03-18 22:50:40 -04:00
Tsu-ba-me
b112f84210 refactor(striker-ui): migrate MUI v4->5 on Spinner 2022-03-18 22:50:40 -04:00
Tsu-ba-me
19eca2f79b refactor(striker-ui): migrate MUI v4->5 on Memory 2022-03-18 22:50:40 -04:00
Tsu-ba-me
f11fa889cf refactor(striker-ui): migrate MUI v4->5 on Header 2022-03-18 22:50:40 -04:00
Tsu-ba-me
24b0708284 refactor(striker-ui): remove extra root CSS class on Anvils/SelectedAnvil 2022-03-18 22:50:40 -04:00
Tsu-ba-me
96f1d0db59 refactor(striker-ui): migrate MUI v4->5 on Decorator 2022-03-18 22:50:40 -04:00
Tsu-ba-me
de6038a3d5 refactor(striker-ui): migrate MUI v4->5 on CPU 2022-03-18 22:50:40 -04:00
Tsu-ba-me
21dd7577b2 refactor(striker-ui): migrate MUI v4->5 on AnvilDrawer 2022-03-18 22:50:40 -04:00
Tsu-ba-me
d7bed986ae refactor(striker-ui): migrate MUI v4->5 on Anvils/SelectedAnvil 2022-03-18 22:50:40 -04:00
Tsu-ba-me
901df0f5d3 fix(striker-ui): resolve MUI breaking changes on Typography 2022-03-18 22:50:40 -04:00
Tsu-ba-me
19d29a678e fix(striker-ui): fetch file list data from files endpoint 2022-03-18 22:50:40 -04:00
Tsu-ba-me
6692c96835 fix(striker-ui): duck-tape AnvilHost to avoid crash when processing undefined host 2022-03-18 22:50:40 -04:00
Tsu-ba-me
0db0a94a05 style(striker-ui): fix style linting errors in components 2022-03-18 22:50:40 -04:00
Tsu-ba-me
c2f38a3f00 fix(striker-ui): trigger file input field with icon button 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
Tsu-ba-me
96e7af8949 feat(striker-ui): add file-manager page 2022-03-18 22:50:40 -04:00
Tsu-ba-me
7d4e791565 fix(striker-ui): remove undefined hosts after host sanitize
The back-end is currently ignoring requests for status on the DR
host(s) because we don't need to show DR status in the UI (for now).
The front-end gets undefined when trying to match a DR host array index
to the AnvilStatusHost[].

This change filters out the undefined item(s) to prevent crashing.
2022-02-23 23:35:41 -05:00
Josue
be7d12ed1d style(front-end): fix issue with preview placeholder fitting the container 2021-10-21 15:37:49 -04:00
Josue
75210d2557 fix: display appropriate actions for selected servers 2021-10-21 15:37:49 -04:00
Josue
c3d6ca0ed8 fix(front-end): change functionality when the server panel is in edit mode 2021-10-21 15:37:49 -04:00
Josue
c0d4e1132e refactor(front-end): add fetching preview image from the backend 2021-10-21 15:37:49 -04:00
Josue
d44d035bed refactor(front-end): rename interface 2021-10-21 15:37:49 -04:00
Tsu-ba-me
2808fdd123 style(striker-ui): fix styling to make build succeed 2021-08-25 11:43:53 -04:00
Josue
e2a226db9c refactor(front-end): use novnc npm package instead of partially cloned novnc repo 2021-08-10 17:07:10 -04:00
Josue
a2949c3453 style(front-end): expand VncDisplay component to 100% 2021-08-10 17:07:10 -04:00
Josue
50dff00d13 style(front-end): fix scrollbar track colour 2021-08-10 17:07:10 -04:00
Josue
fea3ae94fc refactor(front-end): remove handler for when the mouse pointer leaves the vnc container 2021-08-10 17:07:10 -04:00
Josue
1a64ada0c3 refactor(front-end): implement a new version of a vnc display using a different rfb type 2021-08-10 17:07:10 -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
ae628edb24 style(front-end): display message while the front-end fetches vnc connection configs 2021-08-10 17:07:10 -04:00
Josue
c53b1f8490 fix(front-end): set dashboard button to /index.html 2021-08-10 17:07:10 -04:00
Josue
22bf614809 fix(front-end): remove extracting url from env variable 2021-08-10 17:07:10 -04:00
Josue
3e3e7fba12 fix(front-end): get domain from window and add spinner 2021-08-10 17:07:10 -04:00
Josue
cdab38f4c0 refactor(front-end): remove unnecesary layer wrapping the appbar 2021-08-10 17:07:10 -04:00
Josue
fac15493ba style: add server label and name to the preview and full size components 2021-08-10 17:07:10 -04:00
Josue
421f1d5439 refactor(front-end): add a placeholder for the vnc preview 2021-08-10 17:07:10 -04:00
Josue
ee2bf4da09 refactor(front-end): add button in the drawer to go the dashboard/home page 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
e4681e09c9 refactor(front-end): abstract the process to extract a domain from a given url 2021-08-10 17:07:10 -04:00
Josue
d0dd8db6db fix(front-end): use anvil ip 2021-08-10 17:07:10 -04:00
Josue
41b074e207 fix(front-end): change server page name, adjust paths, and add fetching vnc connection info 2021-08-10 17:07:10 -04:00
Josue
b5def9a539 fix(front-end): remove preview image to avoid build error 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
83883821f4 refactor(front-end): add all the key combinations specified in the specs 2021-08-10 17:07:10 -04:00
Josue
5ff48dad9b feat(front-end): add a first implementation of sending key combinations to a server hosted in node 2021-08-10 17:07:10 -04:00
Josue
f08b3adc12 refactor(front-end): use ref instead of state to avoid unnecessary rerenders 2021-08-10 17:07:10 -04:00
Josue
e3453a1fe6 refactor(front-end): set rfb state to undefined when the VncDisplay component is unmounted 2021-08-10 17:07:10 -04:00
Josue
c959903bec feat(front-end): add keyboard button and drop down menuw with key combinations 2021-08-10 17:07:10 -04:00
Josue
fa6cb627c1 refactor(fron-end): switch to custom implementation of VncDisplay 2021-08-10 17:07:10 -04:00
Josue
47b3d3e9c3 feat(frnot-end): implement a custom version of VncDisplay to add features needed for the project 2021-08-10 17:07:10 -04:00
Josue
66c0e01b27 refactor(front-end): add placeholder for preview image and button to switch to full display mode 2021-08-10 17:07:10 -04:00
Josue
23cdfd10b2 style(front-end): remove component header and add close button to full display mode 2021-08-10 17:07:10 -04:00
Josue
783a0d99b6 refactor: create component for preview and move display views to their own directory 2021-08-10 17:07:10 -04:00
Josue
6e380fe11c refactor: rename display component to FullSize so it's only used for vnc stream full display 2021-08-10 17:07:10 -04:00
Josue
e4f617ffc0 refactor: remove unnecessary setup for displaying vnc feed 2021-08-10 17:07:10 -04:00
Josue
96576f5055 refactor: remove react-vnc and add react-vnc-display for vnc connection in the server page 2021-08-10 17:07:10 -04:00
Josue
c1d8cf3a48 style: remove bottom padding from inner pannel 2021-08-10 17:07:10 -04:00
Josue
bf93f5a5db refactor: add condition to render divider 2021-08-10 17:07:10 -04:00
Josue
57c891bfdf refactor: add anchors to list items in server list 2021-08-10 17:07:10 -04:00
Josue
32b3b6a1f8 refactor: add better alignment and a divider to the resource component 2021-08-10 17:07:10 -04:00
Josue
fa7950057c refactor: include link icon and decorator in the resource component 2021-08-10 17:07:10 -04:00
Josue
0cfe18904f refactor: move volumes and nested data to their own component 2021-08-10 17:07:10 -04:00
Josue
7608d643fd refactor: pass fetched server into Resource component 2021-08-10 17:07:10 -04:00
Josue
8f353679bb feat: add server page and boilerplate code for the components 2021-08-10 17:07:10 -04:00
Josue
159c02e0ab style(front-end): modify scrollbar style for panels to match design 2021-08-10 17:07:09 -04:00
Josue
6d1f4f8025 fix(front-end): adjust padding and breakpoint when showing scrollbars 2021-08-10 17:07:09 -04:00
Josue
8615bf9f20 fix(front-end): avoid sending a set_power request when closing the power menu 2021-06-25 16:52:23 -04:00
Josue
a1163916ab fix(front-end): adjust logic to perform set action and change prop name sent to the back-end 2021-06-25 16:52:23 -04:00
Josue
bf8a323c50 style(front-end): change icon for edit mode, and fix problem with capitalized text in power button 2021-06-25 16:52:23 -04:00
Josue
42d3a637d0 refactor(front-end): add fetcher to set power and refactor power buttons 2021-06-25 16:52:23 -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
809bb1bb32 style: fix colours when enabling edit mode 2021-06-25 16:52:23 -04:00
Josue
025d64b0fc fix: improve server selection in the server component 2021-06-25 16:52:23 -04:00
Josue
b5770ab02d feat: add controls to turn servers on or off 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
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
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