Commit 1558c99
authored
refactor(web): enhance network page (#3247)
## Problem
Beyond the usual enhancements, there was some pending work to make the
network pages more useful for users. The following issues were
identified as high priority:
* Associated devices to connection: it is difficult to identify which
devices belong to each connection. Improving the connection list to
clearly show associated devices would make it easier for users to manage
their networks.
* Contextual actions for connections: Users can only click to view a
connection and then edit it. Would be better providing a contextual menu
with actions such as view details, edit, connect, or delete allows users
to perform common tasks more efficiently.
* Creating new connections: Users can only edit existing connections,
which limits a lot the network configuration. Adding the ability to
create new connections will address this gap and improve overall
usability.
Related to,
-
https://trello.com/c/jvgwGFIl/5581-8-bsc1247441-agama-ui-does-not-allow-to-add-or-remove-network-connections
(protected link)
- https://bugzilla.suse.com/show_bug.cgi?id=1247441 (protected link)
- https://jira.suse.com/browse/PED-15913 (protected link)
## Solution
* Backend enhancements: Added a backend improvement to notify the system
about added or removed connections, as well as changes to devices,
ensuring the internal state stays in sync (see PR #3244 ).
* Connections table: Brought back the connections table, enhanced to
give users more control and visibility over their connections.
* Manage connections: Users can now add and remove connections directly
from the UI.
* IP settings improvements: Added the dnsSearchList field to the
connection IPSettingsForm to support additional DNS configuration
options (related to https://jira.suse.com/browse/PED-15913).File tree
52 files changed
+2421
-1030
lines changed- rust
- agama-network/src
- nm
- streams
- agama-utils/src/api/network
- package
- web
- package
- src
- components
- core
- network
- hooks/model
- config
- system
- model/network
- routes
- types
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
52 files changed
+2421
-1030
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
368 | | - | |
| 368 | + | |
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
375 | 383 | | |
376 | 384 | | |
377 | 385 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
| |||
66 | 70 | | |
67 | 71 | | |
68 | 72 | | |
69 | | - | |
| 73 | + | |
70 | 74 | | |
71 | 75 | | |
72 | 76 | | |
| |||
77 | 81 | | |
78 | 82 | | |
79 | 83 | | |
80 | | - | |
81 | | - | |
| 84 | + | |
| 85 | + | |
82 | 86 | | |
83 | 87 | | |
84 | 88 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
300 | | - | |
301 | | - | |
| 299 | + | |
302 | 300 | | |
303 | | - | |
304 | | - | |
| 301 | + | |
| 302 | + | |
305 | 303 | | |
306 | 304 | | |
307 | 305 | | |
| |||
311 | 309 | | |
312 | 310 | | |
313 | 311 | | |
314 | | - | |
315 | | - | |
316 | | - | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
317 | 315 | | |
318 | 316 | | |
319 | 317 | | |
| |||
343 | 341 | | |
344 | 342 | | |
345 | 343 | | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
346 | 372 | | |
347 | 373 | | |
348 | 374 | | |
| |||
417 | 443 | | |
418 | 444 | | |
419 | 445 | | |
| 446 | + | |
420 | 447 | | |
421 | 448 | | |
422 | | - | |
| 449 | + | |
423 | 450 | | |
424 | 451 | | |
425 | 452 | | |
426 | 453 | | |
427 | | - | |
428 | 454 | | |
429 | 455 | | |
430 | 456 | | |
| 457 | + | |
431 | 458 | | |
432 | 459 | | |
433 | 460 | | |
434 | | - | |
435 | | - | |
| 461 | + | |
| 462 | + | |
436 | 463 | | |
437 | 464 | | |
438 | 465 | | |
| |||
446 | 473 | | |
447 | 474 | | |
448 | 475 | | |
449 | | - | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
450 | 482 | | |
451 | | - | |
452 | | - | |
| 483 | + | |
| 484 | + | |
453 | 485 | | |
454 | 486 | | |
455 | 487 | | |
456 | 488 | | |
457 | 489 | | |
458 | 490 | | |
459 | | - | |
| 491 | + | |
| 492 | + | |
460 | 493 | | |
461 | 494 | | |
462 | 495 | | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
463 | 547 | | |
464 | 548 | | |
465 | 549 | | |
| |||
1726 | 1810 | | |
1727 | 1811 | | |
1728 | 1812 | | |
1729 | | - | |
| 1813 | + | |
1730 | 1814 | | |
1731 | 1815 | | |
1732 | 1816 | | |
| |||
1737 | 1821 | | |
1738 | 1822 | | |
1739 | 1823 | | |
1740 | | - | |
| 1824 | + | |
1741 | 1825 | | |
1742 | 1826 | | |
| 1827 | + | |
| 1828 | + | |
| 1829 | + | |
| 1830 | + | |
1743 | 1831 | | |
1744 | 1832 | | |
1745 | 1833 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 | | |
30 | | - | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| |||
44 | 47 | | |
45 | 48 | | |
46 | 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 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
47 | 82 | | |
48 | 83 | | |
49 | 84 | | |
| |||
139 | 174 | | |
140 | 175 | | |
141 | 176 | | |
| 177 | + | |
142 | 178 | | |
143 | 179 | | |
144 | 180 | | |
| |||
160 | 196 | | |
161 | 197 | | |
162 | 198 | | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
163 | 205 | | |
164 | 206 | | |
165 | 207 | | |
| |||
188 | 230 | | |
189 | 231 | | |
190 | 232 | | |
| 233 | + | |
191 | 234 | | |
192 | 235 | | |
193 | 236 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
0 commit comments