Skip to content

Conversation

@rachel-fenichel
Copy link
Collaborator

Sibling of #284

Moves the action menu and all of its code from navigation.ts and navigation_controller.ts to a new file, src/actions/action_menu.ts.

This action is different from the others in that it needs a canCurrentlyNavigate function rather than a canCurrentlyEdit function for precondition checks.

This PR just moves code around. It doesn't change any behaviour. Testing by running it.

@rachel-fenichel rachel-fenichel requested a review from a team as a code owner March 6, 2025 02:32
@rachel-fenichel rachel-fenichel requested review from cpcallen and gonfunko and removed request for a team and gonfunko March 6, 2025 02:32
ShortcutRegistry.registry,
);

interface Scope {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Perhpas this should be exported so it can be imported by the menu items that now support connection contexts (which IIRC currenlty have their own copy of this type).

@rachel-fenichel
Copy link
Collaborator Author

Superseded by #314

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