Repository navigation
feat: add queues and align UI to Nebula - #267
Conversation
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
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
tonyco97
left a comment
There was a problem hiding this comment.
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.
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
|
Thanks @tonyco97, all points are addressed in 4c77197, threads resolved. The Dock |
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
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.
How to test
See also
Generated by Claude Code:claude-sonnet-5-5 with nethserver-pr