Skip to content

NGLASS-2381 Fix restored layer selection and Queue scrolling - #269

Merged
seankmartin merged 2 commits into
feature/edit-modefrom
codex/nglass-2381-refocus-queue
Nov 13, 2026
Merged

seankmartin merged 2 commits into
feature/edit-modefrom
codex/nglass-2381-refocus-queue

Conversation

@afonsobspinto

@afonsobspinto afonsobspinto commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

Fixes the generic viewer bugs behind NGLASS-2381 QA items 2 and 3.

  • 2. Refocus errors: restored layers can become visible before their selection state is initialized. Skip uninitialized layers during mouse-selection sampling, safely return no selection from them, and dispatch a layer-change notification after initialization so selection is refreshed without another mouse movement, including while data sources are still loading. Two regression tests cover selection before initialization and refresh after initialization.
  • 3. Queue Recent Activity scrolling: add overflow-y: auto to the Queue tab so entries extending below the clipped side panel remain reachable.

@afonsobspinto
afonsobspinto marked this pull request as ready for review November 10, 2026 23:02

@seankmartin seankmartin left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code itself looks good thanks but the test could use some more work before being ready to go. Also might make sense to trim that test down to the more core regression protection, which is likely just the first two tests

Comment thread src/layer/index.spec.ts Resolved
Comment thread src/layer/index.spec.ts Resolved
Comment thread src/layer/index.spec.ts Resolved
Comment thread src/layer/index.spec.ts Resolved

@seankmartin seankmartin left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

much better thanks

@seankmartin
seankmartin merged commit ef7c3bc into feature/edit-mode Nov 13, 2026
1 check passed
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