Skip to content

Enhance behaviour of showing Favorites on first editor usage#9186

Open
neilcsmith-net wants to merge 2 commits intoapache:deliveryfrom
neilcsmith-net:gh8908rev
Open

Enhance behaviour of showing Favorites on first editor usage#9186
neilcsmith-net wants to merge 2 commits intoapache:deliveryfrom
neilcsmith-net:gh8908rev

Conversation

@neilcsmith-net
Copy link
Member

@neilcsmith-net neilcsmith-net commented Feb 4, 2026

Follow up on #8908

  • Only open Favorites when first file editor is opened. Don't open if Dashboard or other non-file TopComponent is opened in editor mode. Requires moving to listen on TopComponent registry.
  • Simplify branding this feature disabled in platform applications. Ideally the default would be off and enabled in the IDE branding, however as we've already shipped the platform with it enabled by default I've left as is.

A further enhancement might be to do the equivalent of calling Tab::doSelectNode but without taking focus away from the opening editor?

Could possible target delivery, but it's a minor usage fix so left for NB30 for now.

@neilcsmith-net neilcsmith-net added this to the NB30 milestone Feb 4, 2026
@neilcsmith-net neilcsmith-net requested a review from mbien February 4, 2026 12:33
@neilcsmith-net neilcsmith-net added Editor Platform [ci] enable platform tests (platform/*) ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) labels Feb 4, 2026
@mbien
Copy link
Member

mbien commented Feb 4, 2026

improvements look good to me on first glance. I agree that we could try to get this in for NB 29.

The fact that it opens with the dashboard (since it uses the editor mode) is indeed annoying and the introduction of Favorites.openOnFirstFile as switch is also a good thing without having to set the other property as workaround.

Use TopComponent.Registry and only open Favorites on first open
of a file editing component. Do not open for non-file TopComponents
like Dashboard.
@neilcsmith-net neilcsmith-net changed the base branch from master to delivery February 4, 2026 16:14
@neilcsmith-net neilcsmith-net modified the milestones: NB30, NB29 Feb 4, 2026
@ebarboni
Copy link
Contributor

ebarboni commented Feb 4, 2026

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) Editor Platform [ci] enable platform tests (platform/*)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants