Skip to content

fix(workspace): keep unmatched focus labels from selling a no-op - #880

Closed
cursor[bot] wants to merge 8 commits into
developfrom
cursor/bc-fee24870-fea4-4d15-977a-a76d0b07145b-071e
Closed

fix(workspace): keep unmatched focus labels from selling a no-op#880
cursor[bot] wants to merge 8 commits into
developfrom
cursor/bc-fee24870-fea4-4d15-977a-a76d0b07145b-071e

Conversation

@cursor

@cursor cursor Bot commented Aug 16, 2026

Copy link
Copy Markdown

Closed as proven duplicate of canonical #874

Exact evidence before closure:

No checks/reviews transfer from this duplicate. Canonical #874 must use fresh exact-head evidence only.

cursoragent and others added 8 commits August 16, 2026 15:25
Replace the stub rehearsal-priorities card with role-and-section pairs
so a player can see what to lock in before the room starts. Prefer high
priority, then medium, then focus sections, and never turn blank or none
sentinels into instructions.

Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
Repeated verse labels no longer consume the third rehearsal-priority slot, and empty copy now points at the section roadmap instead of a no-op role click.

Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
Clicking a named role-and-section pair selects that role and focuses the matching section so players can jump from the priority card into the part they need to lock.

Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
Fallback focus labels now jump to the first matching section so players can still act when analysis only names a section, not a role pair.

Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
Omit focus labels that do not match a roadmap card so a missing
bridge cannot clear verse focus. Scroll the named section into
view when a lock-in pair or fallback label is opened.

Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
@cursor
cursor Bot requested a review from seonghobae August 16, 2026 16:14

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale comment

Base-branch correction needed

open_git_pr opened this against main. Gitflow requires develop (acdbea63). Retarget the base to develop before treating this as the lock-in landing vehicle.

This head (a0c2e612) includes #877 plus unmatched-focus honesty and roadmap scrollIntoView. Prefer it over #877 and #874 once the base is develop.

Do not treat this comment as approval. Exact-head CI and an independent non-author last-push review are still required. Do not mix stem-lane work here.

View PR

Open in Web View Automation 

Sent by Cursor Automation: Fix Issues

@seonghobae
seonghobae changed the base branch from main to develop August 16, 2026 16:20
@seonghobae
seonghobae marked this pull request as ready for review August 16, 2026 16:21
@cursor

cursor Bot commented Aug 16, 2026

Copy link
Copy Markdown
Author

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale comment

Review (head a0c2e612, base now develop)

This PR was opened against main, which produced a 230-file false tree. It is now retargeted to develop@acdbea63. The real diff is 10 files (+764/-10) and matches the lock-in residual that #877 left open.

Verified on the develop diff:

  • Unmatched focus labels are omitted, so a missing bridge cannot be sold as a roadmap action.
  • handleFocusSectionActivate only writes a section id when a card matches; it no longer assigns null and wipe verse focus.
  • Blank/none first-section sentinels fall through to a real entrance.
  • Lock-in pair and focus-label clicks mark aria-current and call scrollIntoView.
  • Late Night Set high-priority pairs, repeated-verse third slot, and ko+en empty copy stay honest.
  • Storybook inventory is Workspace/Rehearsal Priorities.

No Critical findings on this head. GitHub blocks same-actor approval, so this is COMMENT only. Prefer this over #874. #877 is closed. Do not mix stem-lane placeholder work onto this head. Merge only after exact-head CI on a0c2e612 and an independent non-author approval.

View PR

Open in Web View Automation 

Sent by Cursor Automation: Fix Issues

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale comment

Review at a0c2e612

The residual fix itself is the right slice: omit unmatched focus labels, skip none first-section sentinels, and scroll the named roadmap card into view.

Do not merge #880. The Gitflow base is main, so the published diff is not the lock-in residual. Landing vehicle is #882 43cb9438 vs develop@acdbea63 (same residual on the protected develop tip). Prefer #882 over #880 and #874.

Do not open a third residual-fix PR. Do not mix stem-lane work onto this slice. Do not self-approve.

View PR

Open in Web View Automation 

Sent by Cursor Automation: Fix Issues

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review at a0c2e612 vs develop@acdbea63

Base is develop. Earlier notes that preferred #882 because this PR targeted main are stale. #880 is the lock-in landing vehicle. Prefer it over draft #882 (43cb9438) and draft #874 (c646037d). #877 is closed. Do not open a third residual-fix PR. Do not mix stem-lane or #776 work onto this head.

Verified on the develop diff (10 files, +764/−10):

  • collectFocusSectionLabels omits a label unless findSectionIdForFocusLabel returns an id, so focusSections: ["verse", "bridge"] shows only verse.
  • handleFocusSectionActivate writes only inside if (sectionId) and cannot assign null or wipe verse focus.
  • Blank/none/NONE sentinels are skipped for lock-in names, focus labels, and the first-section fallback.
  • Lock-in pairs de-dupe by display text and role.id:section.id. Late Night Set stays Bass Guitar · verse and Keyboard 1 Right Hand · verse; a repeated verse leaves the third slot as Lead Vocal · chorus.
  • Named roadmap cards get aria-current="true" and scrollIntoView.
  • ko+en empty copy points at the section roadmap. Untrusted strings render as React text nodes only. No new file, URL, subprocess, IPC, WebView, model, database, or dependency path.

No Critical or Important findings on this head.

Follow-ups after merge, not this slice: assert queryByText("bridge") in the omit test; honor prefers-reduced-motion on roadmap scroll; replace sequential .replace in aria-labels with the single-pass interpolator #744 already owns.

This comment is not approval. GitHub blocks same-actor approval. Merge only after exact-head CI on a0c2e612 and a qualifying independent non-author last-push review.

Open in Web View Automation 

Sent by Cursor Automation: Fix Issues

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.

2 participants