Commit Graph

232 Commits

Author SHA1 Message Date
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