Repository navigation
ENG-2410 Settings layout polish: max width, cut-off placeholder, tooltip cursor, search highlight - #1558
Open
trangdoan982 wants to merge 0 commit into
Conversation
…tip cursor, search highlight Cap row-based settings tabs and the node config page at 720px, shorten the personal override placeholder, give the scope icon the default cursor, and hold the search highlight longer and darker. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Entire-Checkpoint: 01M554BHSAE38GC59P1EMYHPDT
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Entire-Checkpoint: 01M554JBZZDFSA925YKC6ER68J
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Entire-Checkpoint: 01M555JFG5EAQMHRA22JEYA7XN
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Entire-Checkpoint: 01M5DSV3RANEN2ZF9HZA81HWBS
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #1525 (
roam-setting-overhaul). Merge that first.Reviewer brief
bg-gray-200.panelClassName="dg-settings-row-panel"inapps/roam/src/components/settings/Settings.tsx, and the node config page getsdg-settings-node-configinNodeConfig.tsx. Relations, Admin and the node index keep full width because they hold wide tables, and so does the node page section holding the specification query editor (its condition row needs about 750px). The rule lives insettingsStyles.cssbecause Roam's global Tailwind 2 has no child selectors or arbitrary values.DiscourseNodeSpecification. Separately, the same cut-off placeholder bug exists outside this ticket: the canvas shortcut override inputs ("(no sho…") and "Click to set trigger" inDiscourseNodeSearchMenu.tsxwhen that field is empty.NodeMenuTriggerComponentalso renders in the legacy panel increateSettingsPanel.ts, so "Set trigger" shows there too.Each fix is a small change on the path that produced the reported problem:
flowchart LR subgraph Before A1["Wide window: row spans full panel<br/>control 1065px from label"] B1["'Click to set trigger'<br/>168px text in 130px box"] C1["Scope icon inherits<br/>label's cursor-pointer"] D1["Search flash<br/>600ms, bg-gray-100"] end subgraph After A2[".dg-settings-row-panel > *<br/>max-width: 720px"] B2["'Set trigger'<br/>92px, fits"] C2["cursor-default<br/>on SettingScopeIndicator"] D2["FLASH_HOLD_MS = 900<br/>bg-gray-200"] end A1 --> A2 B1 --> B2 C1 --> C2 D1 --> D2Verification
Ran a Playwright scenario in a 1920×1080 window against the dev build, before and after the change (
dg-roam-load-extension, slot 1).defaultcursor, tooltip openspointer→default; tooltip opensbg-gray-100→ 894msbg-gray-200Screenshots (1920×1080, before and after):
pnpm ci:validatepasses on7ed3eda2. No unit tests added: the change has no new logic.Not verified: the cursor change through a screenshot (screenshots omit the cursor; the computed style is the evidence). Dark theme and narrow windows were not exercised.
Loom video
Pending.
Scope check
$scope-checkagainst ENG-2410 and the final diff.Done When: shortened the Canvas tab's "Discourse tool keyboard shortcut" placeholder from "Click to set single key" to "Set single key" (apps/roam/src/components/settings/CanvasSettings.tsx).w-40keycap input; a one-line copy change, requested by the PR author during verification.Standards check
$dg-pr-adherence-checkagainst the final diff and PR metadata.Local delegated full review
$dg-delegated-full-reviewwhen no other full-review workflow is available.No findings.
🤖 Generated with Claude Code