Skip to content

feat(web): improve layout and accuracy of wired connection details#2639

Merged
ancorgs merged 11 commits intomasterfrom
network-binding-improvements
Aug 7, 2025
Merged

feat(web): improve layout and accuracy of wired connection details#2639
ancorgs merged 11 commits intomasterfrom
network-binding-improvements

Conversation

@dgdavid
Copy link
Copy Markdown
Contributor

@dgdavid dgdavid commented Aug 5, 2025

This PR introduces several enhancements to the wired connection details view, aiming to improve both the accuracy of the shown data and the usability of the layout, especially in cases where multiple devices share a connection.

To achieve this, the following actions were taken:

  • Fixed connection settings display
    The details page now shows the actual connection settings, rather than using those from the first connected device. This drop the mismatch between the details view and the corresponding connection form.

  • Added "Binding Settings" section
    To clearly displays whether the connection is bound to a specific device and how (by MAC address or device name), rather than just showing information for the first device using it.

  • Added support for multiple devices
    When multiple devices share a connection, users can switch between them using a tabbed section, making it easier to view and compare individual device details.

  • Reorganized layout for clarity
    The layout has been adjusted to better group related information and improve overall readability.

Click to show/hide some screenshots

Before changes

localhost_8080_ (25)

NOTE: below screenshots might be slightly outdated due to suggestions from code review. They will be updated only if the final result changes noticeable

After changes, with only one device using the connection

localhost_8080_ (30)

After changes, with more than one device sharing the connection

localhost_8080_ (29)

👉 Follow up work: do the same for WifiConnectionDetails, once this is reviewwed, adjusted, approved, and merged.


Related to https://trello.com/c/MqZ19UnL (protected link)

dgdavid added 5 commits August 5, 2025 18:18
Introduced a binding settings section in the connection details page as
a first step toward displaying more accurate information.

Moved some pieces of code to avoid code duplication.
In the connection details view, add support for rendering information
for all devices associated with a connection. Multi-device support is
currently rudimentary and will be refined in future work.
The connection details page now displays the actual connection settings,
rather than those from the first device using the connection.

To make this clearer, the "IP Settings" section has been renamed to
"Connection Settings", building on the previous change that added the
"Devices connected" section.

This change also helps reduce the mismatch between the data shown in the
details view and the settings introduced in the corresponding form.
Improved the usability of the "Connected devices" section in the
connection details page by introducing tabs when more than one device
shares the connection.

This change helps users more easily navigate and access the information
for each device and its details.
@dgdavid dgdavid requested a review from teclator August 5, 2025 21:33
@coveralls
Copy link
Copy Markdown

coveralls commented Aug 5, 2025

Coverage Status

coverage: 64.045% (-11.9%) from 75.991%
when pulling f3b9017 on network-binding-improvements
into 940ad03 on master.

@dgdavid dgdavid changed the title feat(web): improve usability of network connection details page feat(web): improve layout and accuracy of wired connection details Aug 5, 2025
@dgdavid dgdavid requested a review from ancorgs August 5, 2025 23:31
Copy link
Copy Markdown
Contributor

@ancorgs ancorgs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This generally looks great! I just have some reservations about the definition and usage of some strings.

Based on suggestions from code review.
dgdavid and others added 4 commits August 7, 2025 07:40
As agreed, although these terms are somewhat interchangeable in the
network area, consistently using a single term improves usability.
'Device' was chosen over 'interface' because it’s more tangible and
closer to the physical world, making the UI easier to understand.

The term 'interface' is still used when listing device properties, to
help build a mental model for users and ease the connection between both
concepts.

Additionally, the label "Any interface" has been changed to "Unbound"
instead of "Any device", as it sounds simpler and more accurate.
Copy link
Copy Markdown
Contributor

@ancorgs ancorgs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ancorgs ancorgs merged commit 43fbeb7 into master Aug 7, 2025
22 checks passed
@ancorgs ancorgs deleted the network-binding-improvements branch August 7, 2025 13:20
@teclator
Copy link
Copy Markdown
Contributor

teclator commented Aug 8, 2025

Also LGTM, it really fixes some of the issues we had.

bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request Aug 13, 2025
https://build.opensuse.org/request/show/1299043
by user IGonzalezSosa + dimstar_suse
- Split progress details into two lines for better readability
  (gh#agama-project/agama#2647).

- Improve layout and accuracy of wired connection details view
  (bsc#1247430, gh#agama-project/agama#2639).

- Block UI if storage is configured by any other client
  (gh#agama-project/agama#2640).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants