Commit 7738308
authored
feat(webapp): add new floating session toolbar for web client sessions (#1756)
## Summary
Introduces a new floating session toolbar for web client sessions.
This toolbar replaces the previous implementation with a more flexible,
reusable, and protocol-agnostic design, supporting multiple session
types and improved user interaction.
## Key features
### Floating toolbar
- New floating toolbar UI for active sessions
- Supports:
- docking (top, bottom, left, right)
- free positioning (drag)
- auto-hide behavior
- Designed as a presentation-focused component
### Protocol support
- Works across all session types:
- RDP
- VNC
- ARD
- SSH
- Telnet
- Protocol-specific behavior handled outside the base toolbar
### Interaction controls
- Session control actions (e.g. close, special keys where applicable)
- Feature toggles:
- dynamic resize
- unicode keyboard
- cursor crosshair
- wheel speed (where supported)
### Session info popover
- Added session info popover to display:
- Session ID
- Gateway URL
- Username
- Default key/value renderer with:
- stable ordering
- hidden row support
- empty value handling
- boolean formatting (Yes/No)
- Row-based model (`ToolbarSessionInfo`) for protocol-provided data
### Extensibility
- Optional `sessionInfoTemplate` input for future custom rendering
- Base toolbar remains protocol-agnostic and presentation-focused
## Styling
- New SCSS structure for the toolbar
- Ensured compliance with Angular `anyComponentStyle` budget
- Improved theme consistency using CSS variables
## Notes
- Gateway URL currently uses existing connection data
- `sessionInfoTemplate` is not yet used by built-in protocols
## Validation
- Verified across all supported protocols1 parent fe4324e commit 7738308
35 files changed
Lines changed: 3556 additions & 611 deletions
File tree
- webapp/apps/gateway-ui/src/client/app
- modules/web-client
- ard
- rdp
- ssh
- telnet
- vnc
Lines changed: 54 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
Lines changed: 15 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 1 | + | |
11 | 2 | | |
12 | 3 | | |
13 | 4 | | |
| |||
20 | 11 | | |
21 | 12 | | |
22 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
23 | 28 | | |
Lines changed: 39 additions & 58 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | | - | |
| 29 | + | |
29 | 30 | | |
30 | | - | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
79 | 43 | | |
80 | 44 | | |
81 | 45 | | |
| |||
90 | 54 | | |
91 | 55 | | |
92 | 56 | | |
| 57 | + | |
93 | 58 | | |
94 | 59 | | |
95 | 60 | | |
96 | 61 | | |
97 | | - | |
98 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
99 | 67 | | |
100 | 68 | | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
106 | 72 | | |
107 | | - | |
108 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
109 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
110 | 82 | | |
111 | 83 | | |
112 | 84 | | |
| 85 | + | |
113 | 86 | | |
114 | 87 | | |
115 | 88 | | |
| |||
132 | 105 | | |
133 | 106 | | |
134 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
135 | 111 | | |
136 | 112 | | |
137 | 113 | | |
| |||
142 | 118 | | |
143 | 119 | | |
144 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
145 | 124 | | |
146 | 125 | | |
147 | 126 | | |
| |||
178 | 157 | | |
179 | 158 | | |
180 | 159 | | |
| 160 | + | |
| 161 | + | |
181 | 162 | | |
182 | 163 | | |
183 | 164 | | |
| |||
Lines changed: 73 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
Lines changed: 21 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 1 | + | |
12 | 2 | | |
13 | 3 | | |
14 | 4 | | |
| |||
21 | 11 | | |
22 | 12 | | |
23 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
24 | 34 | | |
0 commit comments