Skip to content

feat: add queues and align UI to Nebula - #267

Merged
edospadoni merged 9 commits into
mainfrom
feat/queues
Nov 23, 2026
Merged

edospadoni merged 9 commits into
mainfrom
feat/queues

Conversation

@edospadoni

@edospadoni edospadoni commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

NethLink gets a lean version of the NethVoice CTI queues section, so agents can sign in to and out of their queues without opening the CTI, and the whole interface is aligned to the Nebula design system, which it did not follow in spacing, hover, focus, icons, colors and texts.

The queues section is new and shows only to users with the queue agent permission; pauses, statistics and queue calls stay in the CTI, linked from the section. The rest of the app works as before, with a consistent look: one row layout for every list, hover only on clickable elements, a visible keyboard focus, real buttons with labels and tooltips, the design system icons and texts that follow its writing guidelines. The tray menu, the update check and the macOS Dock behaviour change too, as listed below.

  • Queues: sign in and out of one or all queues, waiting calls, active and signed-in operators, live updates from the phone island events.
  • Design system: main window, login, account list, command bar and settings dialogs, which now use the shared modal component (focus kept inside, Escape to close, title and buttons always in view).
  • Tray and updates: version title, theme switch and update check in the tray menu; the update check compares versions per channel (stable or testing) instead of flagging any different one, and the About page links to the release found.
  • Splash and macOS: the NethLink logo is drawn like a signature on the splash and About pages; the login and main windows now appear in the Dock and in Cmd+Tab while open.

How to test

  • Sign in with a queue agent and open Queues: sign in and out of a queue and of all queues, expand a queue and check the operators update when a colleague signs in.
  • Go through every section and the profile menu in light and dark theme, also with the keyboard (Tab, Enter, Escape).
  • Open each settings dialog, the tray menu, the login with more than one saved account and the command bar.
  • With a stable version installed, the update dot shows only when a newer promoted stable release exists; with a testing version, also for newer testing releases.

See also


Generated by Claude Code:claude-sonnet-5-5 with nethserver-pr

Agents can sign in to and out of their queues from NethLink, one by
one or all together, and see the waiting calls, the active operators
and the signed-in operators of each queue. Pauses, statistics and the
queue calls stay in NethVoice CTI, linked from the section.

The section shows only to users with the queue agent permission and
updates in real time: the queue member events of the phone island are
now forwarded to the main window too.

Assisted-by: Claude Code:Sonnet 5.5
The splash screen draws the NethLink symbol like a signature, then the
letters appear one after the other. The About page repeats the symbol
animation. Both are skipped when the system asks to reduce motion.

Assisted-by: Claude Code:Sonnet 5.5
The tray menu shows the NethLink version as a title, switches the
theme and checks for updates, with an icon for each item.

The update check compares versions instead of looking for a different
one: a stable installation looks at the promoted stable releases only,
a testing one at the testing and stable releases, and the About page
links to the release found.

Assisted-by: Claude Code:Sonnet 5.5
NethLink lives in the menu bar without a Dock icon, so macOS left its
login and main windows out of the Dock and of Cmd+Tab. The icon now
shows while one of these windows is open.

Assisted-by: Claude Code:Sonnet 5.5
Spacing, rows, hover, focus, icons, colors and texts follow the Nebula
design system across the main window, the login, the account list and
the command bar: one inset and row layout for every list, hover only
on what can be clicked, a visible keyboard focus, real buttons with
labels and tooltips, the icons of the design system and texts that
follow its writing guidelines and glossary.

The settings dialogs use the shared modal component, which keeps the
focus inside and closes on Escape, with the title and the buttons
always in view.

Assisted-by: Claude Code:Sonnet 5.5
@edospadoni edospadoni self-assigned this Nov 20, 2026
@edospadoni
edospadoni requested a review from tonyco97 November 20, 2026 15:47
@github-actions

Copy link
Copy Markdown

Automatic builds from https://github.com/NethServer/nethlink/actions/runs/44766870505.
Commit: 27fa55a

Name Platform Link
win-app.exe Windows (x64) Link
macos-app-x64.dmg MacOS (x64) Link
macos-app-arm64.dmg MacOS (arm64) Link
linux-app.AppImage Linux (x64) Link

The macOS rounded corner mask of the transparent command bar window has
a larger radius than the corners the page draws, so it cut the border
at the corners: the page now draws them alone.

The search field uses the focus ring and the background of the search
field of the main window.

Assisted-by: Claude Code:Opus 5.5
@github-actions

Copy link
Copy Markdown

Automatic builds from https://github.com/NethServer/nethlink/actions/runs/44769728075.
Commit: 05f37d7

Name Platform Link
win-app.exe Windows (x64) Link
macos-app-x64.dmg MacOS (x64) Link
macos-app-arm64.dmg MacOS (arm64) Link
linux-app.AppImage Linux (x64) Link

@tonyco97 tonyco97 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Typecheck and build pass, and the four translations.json files are identical, with every key used in src/ present in both en and it. I tested the Linux AppImage of 27fa55a against a NethVoice test instance: signing in and out of a single queue and of all queues works, a static member gets no button, the operators list updates within a second when a colleague signs in through the API, and the settings dialogs keep focus inside and close on Escape. The version comparison in the update check is correct for both channels.

Two things I'd fix before merging: chat previews show HTML entities (ChatModule) and the update check downloads about 1 MB at every start (constants.ts). The rest are nits.

Outside the diff: the app.on('activate') handler in main.ts reads NethLinkController.instance.window, which is undefined before the first login. Now that the Dock icon shows with the Login window, clicking it while that window is minimized throws. After a logout, the same click shows the NethLink window. Checking for an account and showing the Login window otherwise would cover both cases.

Not tested: Dock and Cmd+Tab on macOS, the tray icons on Windows.

Comment thread src/shared/constants.ts Resolved
Comment thread src/main/main.ts Resolved
Comment thread src/renderer/src/index.css Resolved
Lighter update check: the stable channel reads only the latest
release, the testing one the last ten. A manual check that fails now
shows a notification, and the tray menu follows the system theme.

Interpolated texts are no longer HTML-escaped, any queue member that
is not static can sign in and out, and the all-queues action keeps the
pending state of single queues. The queues section falls back to
favorites when its permission is removed, the parking fill shows over
the button, the islands keep their outline rule, and the Dock icon
opens the login when no account is signed in.

Assisted-by: Claude Code:claude-opus-5-5
The press and hold fill used the green of the old design: it now uses
the primary color of the other buttons. A white copy of the content is
uncovered with the fill, so the text stays readable on both colors.

Assisted-by: Claude Code:claude-opus-5-5
@edospadoni

Copy link
Copy Markdown
Member Author

Thanks @tonyco97, all points are addressed in 4c77197, threads resolved. The Dock activate handler (outside the diff) now opens NethLink when an account is signed in and the login otherwise, without reading an undefined window. In 99aba9e the parking press and hold fill is now blue like the other buttons, with a white copy of the label so it stays readable.

@github-actions

Copy link
Copy Markdown

Automatic builds from https://github.com/NethServer/nethlink/actions/runs/45132755075.
Commit: 99aba9e

Name Platform Link
win-app.exe Windows (x64) Link
macos-app-x64.dmg MacOS (x64) Link
macos-app-arm64.dmg MacOS (arm64) Link
linux-app.AppImage Linux (x64) Link

Agents can now pause one queue or all of them and pick the reason as
in NethVoice CTI: break, lunch break, emergency or backend. The actions
on all the queues move to an "All queues" menu to fit the window.

The server does not keep the reason, so NethLink remembers the one the
user chose until the pause ends and shows its icon in the badge; other
users see a generic pause. Queue texts now say log in and log out, as
the glossary of the design system asks, and a refresh replaces the
queues instead of merging them, so removed queues go away.

Assisted-by: Claude Code:claude-opus-5-5
@github-actions

Copy link
Copy Markdown

Automatic builds from https://github.com/NethServer/nethlink/actions/runs/45145072957.
Commit: 3e1c719

Name Platform Link
win-app.exe Windows (x64) Link
macos-app-x64.dmg MacOS (x64) Link
macos-app-arm64.dmg MacOS (arm64) Link
linux-app.AppImage Linux (x64) Link

@edospadoni
edospadoni merged commit bc082bf into main Nov 23, 2026
4 checks passed
@edospadoni
edospadoni deleted the feat/queues branch November 23, 2026 13:08
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.

2 participants