Repository navigation
UI 2.0: new desktop layout as an opt-in preview #1587
Replies: 5 comments 8 replies
Title: radio search results persist after the search is cleared or the app is reopened (layout = current and UI 2.0 preview)Steps
Logstr-diagnostic-ST10-v1.8.3-20261121-183931.zip Versionv1.8.3 |
|
I wanted to add something to the above. In both layouts, if the radio search input box is empty, and I click on Search, empty search results should be returned. |






Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Moved here from issue #1284 and its phase issues #1285 to #1290 so that Issues hold bug reports only. The original thread stays readable there. Work in progress: phase 2 in PR #1515, phase 3 in PR #1554, phase 4 in PR #1566.
The desktop app grew one feature at a time, and its eight tabs follow the technical layers more than what people do with it. DrDBanner proposed a full concept in #1278 that sorts it into listening, controlling and setting up without dropping a single function. We reviewed it and made it ours; the decisions, tokens and mockups are in docs/UI-2.0.md.
How it ships: as a preview you can switch on in the settings, next to the current layout. The new layout is a new shell around the existing views and the same state, so nothing gets built twice. Once it covers everything it becomes the default, and the old layout goes one or two releases later.
The main changes against the concept: the speaker choice sits at the top of the sidebar, because keys and playback belong to one speaker; "which speaker am I controlling" is separate from "who plays along"; favorites are app-wide; stereo pairs and fixed groups are set up under Speakers; actions use a blue with 5.4:1 contrast; shortcuts are Ctrl, not Cmd. New on our side: the firmware check in the setup wizard, one status pill for every speaker state, one place for all updates, and the phone remote in the same structure.
The phases are the sub-issues below. Feedback on the design is welcome here or in #1278, and so is help with any phase.
Phases
UI 2.0 phase 1: tokens, components and the shell with sidebar and persistent player (was #1285)
The color tokens for the three themes, the shared components (buttons, status pill, list rows, cards, popover), and the new shell: sidebar with the room switcher on top, the player that stays in place, and the setting that switches the preview on. Existing views render inside the new shell unchanged.
Part of #1284. Design: docs/UI-2.0.md.
UI 2.0 phase 2: Radio, Library, Recently played and Spotify in the new shell (was #1286)
Radio with the six keys of the selected speaker, Discover and Favorites as separate tabs, station details for the technical data; Library one level per step; Recently played grouped by day; Spotify with accounts and putting the playing playlist on a key.
Part of #1284. Design: docs/UI-2.0.md.
UI 2.0 phase 3: Speakers, one speaker, groups and stereo pairs (was #1287)
The speaker list with one status pill per state (playing, update ready, standby, starting up, not reachable, stereo pair, Bose original), the page for one speaker (Overview, Sound, Network, Keys and alarms, Maintenance), and setting up stereo pairs and fixed groups. The player's output popover handles who plays along right now.
Part of #1284. Design: docs/UI-2.0.md.
UI 2.0 phase 4: setup wizard with the firmware check (was #1288)
Find, check, install, confirm, for exactly one speaker. The check step updates firmware below 27.0.6 in place before STR is installed; the USB stick stays the fallback. Done only once the speaker answers with STR.
Part of #1284. Design: docs/UI-2.0.md.
UI 2.0 phase 5: states, Help and info, and the phone remote (was #1289)
Empty, loading, offline and error states without dead ends; Help and info as one place for diagnostics, wishes, source, world map and support links; the phone remote in the same structure (room switcher, Listen, Find, Speakers, More).
Part of #1284. Design: docs/UI-2.0.md.
Conversation from #1289 (1 comments)
JRpersonal, 2026-10-27:
Two items deferred from phase 3 (#1554) to this phase:
Both are noted in
docs/UI-2.0.md.UI 2.0 phase 6: make the new layout the default and remove the old one (was #1290)
Once the preview covers every function: the new layout becomes the default, the old one stays switchable for one or two releases and is then removed with its code.
Part of #1284. Design: docs/UI-2.0.md.
Conversation from #1284 (10 comments)
DrDBanner, 2026-10-14:
If you move speakers to the sidebar, then it becomes natural for me to give them more space and first level actions. One click for selection and/or context in main content area. Simple clicks to create groups. See the idea mockup.
JRpersonal, 2026-10-14:
I like this better than what we had. One list in the sidebar answers both questions at once: which speaker I'm looking at, and who plays along. The
+on an idle speaker to add it to what's playing is exactly one click, and the offline one greyed out keeps the "status never by color alone" rule as long as it says "Offline", which yours does.So I'd take it for phase 1 (#1285) in place of the separate room switcher and output popover. Two things to settle first:
The volume of the group and the per-speaker levels would then sit in the persistent player. Does that match what you had in mind?
DrDBanner, 2026-10-15:
Unsure. Also unsure if we produce UX deadends here. Will need to think about it. But beside that, it might be a good strategy to try different scenarios from the get go. Here a proposal:
Proposal: Parallel UI Development for ST Reborn
Developing a new frontend alongside the existing interface, using the current Go backend and Wails infrastructure.
An important aspect would be the ability to develop and compare different UX approaches directly within the application, without maintaining separate implementations of the underlying functionality.
1. Technology
I would suggest Svelte 5, TypeScript, Tailwind CSS 4, and daisyUI 5, building on the existing Vite and Wails infrastructure.
Svelte seems particularly suitable for several reasons:
Tailwind would provide the styling foundation, while daisyUI could supply common controls such as dialogs, menus, forms, and navigation elements.
The visual design would follow our own design system rather than daisyUI's default appearance. SvelteKit doesn't appear necessary for this use case.
2. Parallel Development and Integration
The new frontend could be developed as a separate module alongside the existing UI.
Whether this should be a directory in the main repository, a separate repository, or a Git submodule is primarily an organizational decision.
Both interfaces would use the same Go backend and existing Wails bindings.
A development-time switch would be sufficient initially. Runtime switching could be considered if it can be integrated without introducing unnecessary complexity. Working against the real backend from the beginning would help ensure that the new frontend remains compatible with existing functionality.
For testing situations that are difficult to reproduce with real hardware, simulated device states could be provided.
3. Functional Scope
The redesign should cover the complete application, including:
These areas should work together naturally rather than being treated as disconnected sections. The initial implementation could focus on speaker management, configuration, firmware, and updates, since these offer useful opportunities to establish the component structure and test more complex interactions.
Media and playback functionality would remain an integral part of the application and be incorporated into the same design system.
4. A/B Comparisons and UX Experiments
One of the main advantages of developing a parallel UI would be the opportunity to evaluate different interaction concepts before settling on a final design.
For example, speaker management could have two variants:
Both variants would use the same application state and backend functionality.
A lightweight variant registry could make individual implementations interchangeable:
A development-only Design Review Mode could provide controls for switching between variants without restarting the application whenever feasible.
This approach could also be used to compare device configuration layouts, firmware update workflows, navigation concepts, and other interactions.
Reproducible Test Scenarios
To make comparisons meaningful, we could provide predefined scenarios such as:
These scenarios could be reproduced using simulated states without requiring specific hardware conditions. This would allow contributors to evaluate the same workflows across different UI variants. Once a design decision has been made, unused variants could be removed.
5. Frontend Architecture
I would separate the frontend into three areas:
Presentation
Views, navigation, components, dialogs, and alternative UX implementations.
Application State
Selected devices, groups, playback sessions, configuration values, update progress, and other shared states.
Backend Integration
A thin adapter layer connecting the frontend to existing Wails bindings and backend services.
The purpose of this separation is to allow UI components and UX variants to change without duplicating backend communication or application functionality. The existing Go backend remains responsible for device communication, firmware operations, and other hardware-specific behavior. The new frontend should use the actual backend capabilities rather than inventing parallel implementations.
6. Design System and Cross-Platform Consistency
The existing UI mockups could serve as an initial reference, but individual design decisions should remain open to evaluation.
A shared design system would define typography, spacing, colors, icons, controls, and interaction states.
The interface should support:
Since Wails uses platform-specific WebViews, minor rendering differences are expected. The goal would be a consistent interface rather than absolute pixel-level identity.
7. Scope Boundaries and Future Architecture
There is also a broader architectural opportunity worth considering separately. Currently, ST Reborn is closely tied to Bose SoundTouch devices. In the longer term, it might make sense to move manufacturer-specific handling into independent modules behind a common device abstraction layer. This could eventually support additional manufacturers, protocols, and device capabilities.
A related concept would be Topology & Zones, providing optional hierarchical organization and control of more complex device installations.
However, these are separate architectural projects.
For the current UI initiative, I would suggest:
This should keep the initial project manageable while leaving room for future development.
8. Suggested First Milestone
Rather than implementing every view immediately, I would start with a small but functional vertical slice:
This would demonstrate the technical integration and the A/B comparison mechanism before expanding into the remaining application features.
Appendix
unrelated but related
Broader concepts such as manufacturer-independent device modules and Topology & Zones could be explored independently at a later stage.
Additional Concepts
Zones: Example Use Case
Zones allow devices, stereo pairs, and existing groups to be organized into nested, hierarchical structures.
Each zone can act as a collective control target, while its child zones and devices remain individually accessible. This would allow users to control a single speaker, a stereo pair, an entire room, a floor, or the whole building through the same hierarchy. Zones would be an optional feature with a dedicated management interface, particularly useful for complex installations.
Potential Long-Term Vision
Evolve ST Reborn into a manufacturer-independent audio management and orchestration platform, potentially supporting synchronized zone/multiroom playback across different ecosystems.
JRpersonal, 2026-10-15:
Take your time on the two sidebar points. I'd rather settle them on a clickable version than on paper, so I'll build your sidebar in phase 1 (#1285) with the pair as one row and the playing group pinned, and you can tell me where it dead-ends.
On the parallel UI: I'm keeping one frontend. A second stack (Svelte, TypeScript, Tailwind, daisyUI) next to the current one would mean every feature, fix and string lands twice, in 13 languages, and I maintain this alone. UI 2.0 stays a new shell around the existing views and the same state, switched on as a preview.
Two parts of your proposal I'd like to take into that shell, though:
Device abstraction, other manufacturers and zones are outside UI 2.0. If you want to push those, open an idea for each in the Ideas category, so they get their own votes.
DrDBanner, 2026-10-15:
The Svelte and Tailwind approach was primarily motivated by the idea of building a maintainable, component-based UI with flexible A/B experimentation.
Since we're considering a substantial UI redesign anyway, I thought it might be a good opportunity to address potential limitations of the current stack. Svelte's built-in reactivity, lightweight runtime, and component model could make future UI development and experimentation easier and faster.
My main consideration isn't just the framework itself, but avoiding the need to repeatedly invent, implement and maintain solutions that already exist in mature component ecosystems. Fewer dependencies don't necessarily mean less code or lower maintenance costs.
That said, I understand your concern about maintaining two stacks. If the existing architecture can support reusable components, shared state, and interchangeable UI variants without introducing unnecessary complexity, that would certainly be fine.
The intention was never to maintain two stacks permanently. The existing frontend would eventually be replaced, leaving only one to maintain.
look at it ...
streborn-ui-shell.html
one tailwind render pipeline to only serve whats needed. svelte on top while it's handy.
JRpersonal, 2026-10-16:
Thanks for building the shell, clicking through it says more than any description would have. The sidebar grouping and the persistent player are close to what I had in mind for #1285, and I'll use it as the reference when I build phase 1.
You're right that fewer dependencies don't automatically mean less code. For this app I'm still staying with what it has, for two reasons. First, the current frontend is about 43,000 lines of plain JavaScript and CSS with its tests, and replacing it, even step by step, would take months in which I'd keep fixing bugs in the old one while porting it. Second, it ships with no runtime dependencies at all. For an app that installs software onto people's speakers, that's a deliberate choice: there's nothing in the download that I didn't write and can't audit.
What I'm taking from your proposal is the part that matters most for the redesign. Phase 1 gets real components and design tokens in plain CSS, so variants can be swapped without a framework, plus the A/B switch and the simulated speakers from my last comment. If something in the shell turns out to be painful without Svelte, I'd rather hear it on #1285 with a concrete case than decide it up front.
Would you review phase 1 once there's a clickable build? You've thought about this layout more than anyone else so far.
DrDBanner, 2026-10-16:
Yes, sure.
JRpersonal, 2026-10-25:
Status update, since you put the most into this.
Phase 1 is built (#1492) and runs in the app as a preview (Aa menu > Layout > UI 2.0 preview). The first version followed the doc, with a room switcher and a separate Output popover, which is the version I said your sidebar would replace. So before anyone gets a build I'm rebuilding it the way we discussed on 14 October. Every speaker sits in one list with a
+on the idle ones, a stereo pair is one row, the playing group stays pinned on top, and group volume plus the individual levels live in the player. It is also covered by automated UI tests now, running in CI against simulated speakers, close to the reproducible scenarios you proposed.What comes next:
Each phase ships as an update to the preview with screenshots, and I'll post here when a build is ready to try.
Three questions before the preview build:
+) are two different clicks. Clear enough, or one of the dead ends you were worried about?DrDBanner, 2026-10-26:
Nice work! Looking at it, one improvement immediately comes to mind: making the sidebar sections collapsible, with a chevron at the right end of each section heading. That would allow the available space to be shared between sections depending on what the user needs at the moment.
But looking a little further:
I'm not sure Multiroom necessarily needs to be a separate navigation item, except when managing multiple groups or more complex configurations. The current approach also reveals what I'd call the problem of N: it works reasonably well with a few speakers, but doesn't scale particularly well as the number of speakers, stereo pairs, and groups increases.
I'm also trying to understand your underlying approach. It seems to me that you're treating the speaker remote control as the starting point for the UI. My perspective is slightly different: I start with the intention to listen to music, then decide where to play it ... on a speaker, a stereo pair, a group, or several independent outputs.
That distinction has quite an impact on how the interface should be organized.
The sidebar is great for navigation and quick access, but I don't think it should carry the full responsibility for managing an arbitrary number of devices and groups. That's where the main content area could come into play, without losing the convenience of direct controls in the sidebar.
I'll explore an alternative based on that idea, building on the existing concept rather than starting over. Hopefully we can find an approach that combines the best of both.
JRpersonal, 2026-10-26:
Collapsible sections with a chevron: yes, I'll take that, it's cheap and it solves the space question without a rule from me.
Your starting point is the more interesting part. You're right that I built it from the speaker side: pick a speaker, then choose what it plays. "Music first, then where" turns that around, and the problem of N mostly comes from the speaker side carrying everything. I'd like to see your alternative before I build more of the sidebar, so I'll hold phase 3 (Speakers and groups, #1287) until you've shown it. The music views in phase 2 don't depend on that choice, so they keep going.
All reactions