Repository navigation
Description
This is the follow-up to #559. The point of this pass was to catch the things users usually find first: the second quick click, the stale browser tab, the narrow screen, the shared folder after reload, and the site with enough content to make a visualization fall over.
I updated to current origin/trunk (c670170) before the final verification pass, then replayed every candidate from the older checkout. Anything already fixed upstream was removed from this issue.
The bugs below still reproduce on current trunk. The two settings problems are the most urgent because OpenStation tells the user everything is saved while silently keeping the wrong value. Screenshot evidence is attached in the first comment.
1. A quick second toggle in Extended Options is silently lost
Why this matters: The control ends in one state, the server saves the opposite state, and the user is not told anything went wrong.
To reproduce:
- Open OpenStation Preferences → Features as an administrator.
- Toggle Enable drag-and-drop in the Media Library off and immediately back on while the first save is still running.
- The checkbox finishes enabled.
- Reload or read
desktop-mode/v1/extended-options; the server persisted disabled.
The save function returns early while a request is in flight, but the still-enabled control keeps accepting changes and never queues a trailing save.
Where to look: src/settings/sections/extended.ts
2. Two open sessions can overwrite each other’s unrelated settings
Why this matters: A setting that already showed as saved can be silently undone by a stale tab or another device changing something unrelated.
To reproduce:
- Open OpenStation in two browser sessions for the same user.
- In session A, change the wallpaper and wait for it to save.
- Without reloading session B, change only the accent color and wait for it to save.
- Reload. Session B’s stale full-settings snapshot restores the old wallpaper while keeping the new accent.
Each save replaces the complete server-side settings object. There is no revision check, conflict response, field merge, or patch request.
Where to look: src/settings/state.ts, includes/os-settings.php
3. Owned folder windows lose their Share button after reload
Why this matters: Folder sharing works on the server, but the owner loses the main way to manage it from the folder window.
To reproduce:
- Enable folder sharing and create or share a folder.
- Reload the owner’s desktop.
- Open the folder from the wallpaper.
- The title bar has its normal window and breadcrumb controls, but no Share folder action.
The button matcher requires folder ownership from the client folder store. Normal persisted-placement hydration does not populate that store.
Where to look: src/desktop-files/share-menu-items.ts
4. Accepted shared folders never show the shared badge
Why this matters: Neither owner nor recipient can tell from the desktop that a folder is shared, even after an invitation has been accepted.
To reproduce:
- Share an owned folder with a second user.
- Accept the invitation as the recipient.
- Reload both desktops.
- The folder tile has no shared badge for either person.
The badge reads placement.file.shareSummary, but placement responses omit that field. It exists only in the separate folder response shape.
Where to look: includes/desktop-files/rest.php, src/desktop-files/share-menu-items.ts
5. OpenStation Preferences is mostly unreachable at 390px
Why this matters: On a phone-sized viewport or under magnification, most of the window and every right-side title-bar action can sit outside the visible page with no horizontal recovery path.
To reproduce:
- Set the viewport to 390×844.
- Open OpenStation Preferences as a normal window.
- The fresh window renders 820px wide. Its right edge lands at 849px, while the viewport ends at 390px.
- Window actions, Minimize, Maximize, Fullscreen, Close, and much of the content are unreachable.
The window keeps its desktop minimum width instead of switching to a compact contract or clamping itself to the viewport.
Where to look: src/desktop.ts, src/window-manager/index.ts
6. Arrow keys do not operate tabs—and can switch desktops instead
Why this matters: Keyboard users cannot move through tab strips using the standard Left/Right Arrow behavior. In Preferences, the unhandled key can bubble to the shell shortcut and switch virtual desktops, making the entire window disappear.
To reproduce:
- Open Preferences and focus the selected Appearance tab.
- Press Right Arrow.
- Focus and selection stay on Appearance instead of moving to Themes.
- In the reproduced shell, the key also switched virtual desktops and hid Preferences.
- Repeat in Posts: Right Arrow on All posts does not move to Categories.
The tab component handles clicks but has no ARIA tab-pattern keyboard behavior.
Where to look: src/ui/components/os-tabs/os-tabs.ts, src/window/dom.ts
7. Cron’s custom interval field is invisible and unusable
Why this matters: The Cron app opens and lists jobs, but users cannot finish creating a custom recurrence because the required number field never upgrades into a real control.
To reproduce:
- Open Cron Jobs.
- Choose Create.
- Select Custom interval.
- The intended
<os-number-field>remains an undefined, zero-size element with no focusable input.
The component exists in source but is not present in the production component registration path used by the extension.
Where to look: extensions/desktop-mode-cron-manager/includes/window.php, src/ui/components/os-number-field/
8. Spatial desktop shortcuts ignore enabled native windows
Why this matters: A user can explicitly enable native Posts, Pages, Comments, Plugins, and Users, but clicking their Spatial-layout wallpaper shortcuts still opens the old iframe versions.
To reproduce:
- Choose the Spatial desktop layout.
- Enable the native Posts, Pages, Comments, Plugins, and Users features.
- Click any matching wallpaper shortcut.
- OpenStation opens the classic URL/iframe window instead of the enabled native app.
- Opening the same app from the canonical native API or dock correctly uses the native renderer.
The synthesized shortcut carries only a URL and bypasses the native replacement registry used by the dock.
Where to look: src/settings/desktop-shortcuts-sync.ts, src/desktop-files/built-in-openers.ts, src/desktop-layout.ts
9. Plugin fallback icons render as blank gray squares
Why this matters: Bundled and locally installed plugins without working WordPress.org artwork lose their identity in the native Plugins window.
To reproduce:
- Open native Plugins and wait for the remote icon fallback chain to finish.
- Look at a plugin without usable WordPress.org artwork, such as a bundled extension or Hello Dolly.
- Its fallback is a blank gray square instead of the intended plugin icon.
The fallback inserts a Dashicons class inside the table’s Shadow DOM, where the document-level Dashicons font and pseudo-element CSS cannot reach it.
Where to look: src/plugins-window/installed-view.ts, src/plugins-window/icon-fallback.ts
10. Firefox drops Gravatars on WordPress 6.0/local HTTP installs
Why this matters: Real user avatars are replaced with initials in the native Users window on a supported minimum environment.
To reproduce:
- Run the supported WordPress 6.0/PHP 7.4 environment over local HTTP.
- Open native Users in Firefox.
- The REST response supplies
http://*.gravatar.comURLs. - OpenStation probes them with
crossOrigin=anonymous; the HTTP→HTTPS redirect fails CORS, and the UI falls back to initials.
Normalizing known Gravatar URLs to HTTPS before the probe avoids the redirect/CORS failure.
Where to look: src/ui/util/avatar-resolve.ts
11. Content Graph freezes the browser with a large site
Why this matters: A site within the lab’s stress profile can lock the entire OpenStation shell for more than ten seconds just by opening Content Graph. The completed view is also too dense to read or operate meaningfully.
To reproduce:
- Use a site whose Content Graph contains roughly 8,890 nodes.
- Open Content Graph.
- On the final trunk replay, Chromium took 11.59 seconds to become usable and 28.64 seconds on the evidence replay. The longest single main-thread blocks were 10.85–14.12 seconds. Earlier cross-browser runs also blocked Firefox for about 16 seconds and WebKit for about 13 seconds.
- The Fit overview renders thousands of tiny marks with no useful visual hierarchy.
The current path performs synchronous simulation warm-up work over the full graph and creates a Pixi object/text workload for every node before yielding.
Where to look: src/content-graph/index.ts, src/content-graph/scene.ts, src/content-graph/sim.ts
Suggested order of attack
- Fix the two silent settings-loss paths (Uploading demo video #1 and ci: make
npm run test:phpactually work #2). - Make Preferences and tab navigation safe for narrow and keyboard use (Add command palette registration APIs and sync functionality #5 and feat: enable media library enhancement by default with opt-out option #6).
- Restore the broken Cron and sharing controls (chore: fix all ESLint + tsc --noEmit errors #3, fix: resolve 3 PHPUnit failures + 1 error on trunk test code #4, and ci: wire PHP tests through wp-env + fix 4 pre-existing failures #7).
- Correct the alternate entry points and compatibility fallbacks (Feat/os settings help tab #8–docs: marketing-first README + stage technical content for the wiki #10).
- Move Content Graph loading off the long synchronous path and introduce a real large-graph display strategy (Feat/unify command palettes #11).
Each fix should get a focused regression test at the owning state/component layer, plus one browser replay of the user-visible flow.
Activity
nickhamze commentedon Aug 11, 2026
Visual evidence
These are the clearest captures from the reproductions above. The narrow-window, Spatial-routing, and Content Graph images are from the final
origin/trunkreplay. The plugin and avatar images are from the supported WordPress 6.0/PHP 7.4 lane.Preferences at 390×844
The window opens at its desktop width, leaving most of the content and every right-side title-bar control beyond the viewport.
Spatial shortcuts bypass native apps
Native Posts and Plugins were enabled. The wallpaper shortcuts still opened their classic iframe windows.
Cron custom interval
The field between the schedule slug and display label never upgrades into an input. This focused capture is from the first reproduction; the final trunk replay produced the same undefined, zero-size component.
Supported minimum environment fallbacks
Content Graph with 8,890 nodes
The final trunk replay took 11.59 seconds, then 28.64 seconds on the evidence run. The finished Fit view is still too dense to read.
AllTerrainDeveloper commentedon Aug 13, 2026
Opened #602 covering items 1, 2, 3, 4 and 8 from this list, plus one bug found while verifying 3/4 against a live install (a desktop tile dragged onto a folder icon kept its wallpaper coordinates and landed outside any folder window's reach — the layer doesn't scroll, so it was unreachable rather than merely off-screen).
Not closing this issue: items 5, 6, 7, 9, 10 and 11 are untouched.
Two notes for whoever picks up the rest:
openstation_save_os_settings(). That function's contract is replace, and migration 1 inincludes/migrations.phpunset()s keys and re-saves precisely so the sanitizer backfills the new defaults. A merging saver would turn that migration into a silent no-op, invisible to PHPUnit because it builds fresh meta every run.built-in-openers.ts.desktop-shortcuts-sync.tssynthesizes the shortcut correctly anddesktop-layout.tsjust decides which items get synthesized; the shortcut opener was the one URL-opening path that never consulted the native-window remap registry.epeicher commentedon Nov 21, 2026
Factory intake: ACCEPT (risk medium, surfaces: ui)
Summary
Scope
Build: the shell's bare-arrow shortcuts stand down when the focused control owns the arrow keys.
src/window-manager/desktop-shortcuts.ts, ininstallDesktopArrowShortcuts(). Add one more gate next to the existingisTextEntryFocus( document )andisModalOpen()checks.isTextEntryFocus()does insrc/window-manager/switcher.ts(walk down through open shadow roots), then walk up through the ancestors, stepping from a shadow root to its host, until the document.tab,tablist,menu,menubar,menuitem(and its checkbox and radio variants),listbox,option,combobox,radio,radiogroup,slider,spinbutton,switch,tree,treeitem,grid, and a focusableseparator; and the native<select>,<input type="range">and<input type="radio">.document).tests/vitest/desktop-shortcuts.test.ts, which today never dispatches a real keydown through the installer. One case with two desktops and focus on an<os-tab>inside<os-tabs>(no switch, no Show Desktop), one with focus on the body (still switches).docs/workspaces.mddescribes when these arrows are suppressed ("While the wizard is up it owns the keyboard"). Add the new rule wherever the shortcuts are described, there and indocs/javascript-reference.mdif it covers them.Left out:
src/ui/util/avatar-resolve.tsprobes the URL as given and never upgrades it to HTTPS. Small fix, separate issue.src/content-graph/sim.tscompares every pair of nodes on each step, andsetData()insrc/content-graph/scene.tsruns up to 90 of those steps before the first paint. It needs a design for large graphs, so it is a separate issue.desktop-mode-official-extensions).os-number-fieldis in the kit's lazy-load list here (src/ui/components/tags.ts), so if it still fails, please report it there.wp.osmethod that lets a plugin's custom control claim the arrow keys. That is new public API and needs a maintainer's decision first.Already fixed on trunk, nothing to build:
apps/os-settings/parts/features.ts,src/app-runtime/session.ts).src/settings/state.ts,includes/os-settings.php).filesBootFolders, so ownership is known after a reload (src/desktop-files/boot-folders.ts).filenow carriesshareSummary(includes/desktop-files/types/class-openstation-folder-file.php, pinned bytests/phpunit/tests/desktopFilesShareSummary.php).src/mode/index.ts), so Preferences no longer opens as an 820px window at 390px.<os-tabs>and the window tab strip now move with the arrow keys, Home and End (src/ui/components/os-tabs/os-tabs.ts,src/window/tab-strip.ts).src/desktop-files/built-in-openers.ts, pinned bytests/vitest/desktop-shortcut-native-remap.test.ts).<os-icon>(apps/plugins/parts/installed-library.ts,installed-detail.ts).Why
The issue bundles eleven unrelated bugs, and most were fixed in the three months since it was opened, so the useful job is the most serious one that is still live. The desktop shortcuts listen on
documentin the capture phase and only step aside for text entry and open modals, so they run before any control sees the key: a tab strip moves its selection and the shell acts on the same keypress. In Preferences, whose sidebar is a vertical tab list, Down changes the page and minimizes every window; with two desktops, Right on any tab strip moves the tab and switches desktop. The same applies to every select, slider, menu and segmented control in the kit, which is why the fix belongs in the one gate rather than in each component. It is rated medium because it changes the window manager's keyboard handling, which every user of the shell touches, but it adds no API, stores nothing and decides no access.epeicher commentedon Nov 21, 2026
Factory: merged
PR #1105 delivers the part of this issue that the intake comment above scoped. The rest is queued as #1110, #1111, each built as a PR of its own. This issue stays open until they land. It leaves the factory's queue.