Skip to content

feat(ui): default page icon, name no-clobber, member-mgmt gate, resizable sidebar + title tooltip - #37

Merged
PMQ9 merged 2 commits into
wiki-v2from
feat/ux-polish-icon-names-sidebar
Sep 18, 2026
Merged

PMQ9 merged 2 commits into
wiki-v2from
feat/ux-polish-icon-names-sidebar

Conversation

@PMQ9

@PMQ9 PMQ9 commented Sep 18, 2026

Copy link
Copy Markdown

Fork side of the UX polish pass — part of cccvu/wiki-v2#400 (merge this first, then the super-repo re-pins the gitlink to the merge SHA).

What this does

  • Page icon (issue 1): remove the emoji picker from the sidebar tree; render a single default document/table glyph everywhere a page icon shows. Centralized in getPageIcon/PageListIcon + inline edits at the remaining sites. Stored emojis are kept in the DB, just not displayed; the picker component stays for callouts/templates.
  • Real names (issues 2/3, fork side): provisionShadowUser no longer clobbers an existing name on a nameless re-provision (the space control-plane path) — name is written on conflict only when the caller supplies one. The platform sends the real display name (super-repo PR).
  • Space members (issue 4): in remote mode the Members tab shows an Admin-Console note + read-only list (isNativeAuthEnabled() gate); native/standalone keeps full management. Plus a group-list dead-control fix (admin-gate the Edit/Delete menu).
  • Title tooltip (issue 5A): reveal a truncated sidebar page title on hover (500ms), only when actually truncated (useIsTruncated).
  • Resizable sidebar (issue 5B): re-introduce a resizable width — now a single global width applied to every sidebar and persisted (shared same-origin key with the console). Reverses the §89–§93 fixed-width removal (updated §34/§35/§90).

Boundary

Every touched upstream-owned file is documented in UPSTREAM_MODIFICATIONS.md §122–§143 (+ §34/§35/§90 update note); scripts/check-upstream-boundary.sh is green. Fork-owned changes (service-bridge/**, features/layout/**) are boundary-excluded.

Testing

tsc clean · vite build ✓ · client vitest 217 pass (new: useIsTruncated, sidebarWidthAtom clamp/persist, group-list gating, settings-modal remote/native gating) · service-bridge.service.spec 14 pass (updated no-clobber + named re-provision).

🤖 Generated with Claude Code

…zable sidebar + title tooltip

UX polish pass (wiki-v2):
- Page icon: remove the emoji picker; render a single default document/table
  glyph everywhere a page icon shows (data kept, not displayed). Centralized in
  getPageIcon/PageListIcon + one-line edits at the remaining inline sites.
- Real names (fork side): shadow-user provisioning no longer CLOBBERS an existing
  name on a nameless re-provision (the space control-plane path) — `name` is only
  written on conflict when the caller supplies one. Platform side writes the
  display name + backfill in services/platform.
- Space members (issue 4): in remote mode the Members tab shows an Admin-Console
  note + read-only list (membership is platform-managed); native mode unchanged.
  Also gate the group-list Edit/Delete menu on isAdmin (dead-control fix).
- Sidebar (5B): re-introduce a resizable width, now a single global width applied
  to every sidebar and persisted (shared same-origin key with the console).
- Title tooltip (5A): reveal a truncated sidebar page title on hover (delay),
  only when actually truncated (useIsTruncated).

Tests: useIsTruncated, sidebarWidthAtom clamp/persist, group-list gating,
settings-modal remote/native gating, service-bridge no-clobber. tsc clean;
fork client vitest 217 pass; service-bridge spec 14 pass.

Seams documented in UPSTREAM_MODIFICATIONS.md §122–§143 (+ §34/§35/§90 updated).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@PMQ9
PMQ9 force-pushed the feat/ux-polish-icon-names-sidebar branch from 5e4f548 to d33c906 Compare September 18, 2026 15:18
…e clear of content

Review round 1 (perf + frontend lenses):
- The drag handler wrote the width to the persisted (localStorage-backed) atom on EVERY
  mousemove — a synchronous write + full navbar re-render per frame. Track a transient
  width in local state during the drag and commit to the atom ONCE on mouseup; the shell
  renders the live drag value meanwhile. Also capture the navbar's left edge once on
  mousedown instead of calling getBoundingClientRect() every mousemove (forced reflow).
- The absolute resize handle at the navbar's right edge could overlap the sidebar
  scrollbar and the right edge of row action menus. Reserve a small right gutter on the
  EXPANDED (non-rail) navbar via .navbarResizable: the handle is anchored to the padding
  box so it stays pinned at the edge while only the content insets, removing the overlap.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@PMQ9
PMQ9 merged commit ddd2f21 into wiki-v2 Sep 18, 2026
@PMQ9
PMQ9 deleted the feat/ux-polish-icon-names-sidebar branch September 18, 2026 16:27
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.

1 participant