Skip to content

fix: issue with file switching and default Tabs#5827

Closed
gap-editor wants to merge 2 commits intoremix-project-org:masterfrom
gap-editor:master
Closed

fix: issue with file switching and default Tabs#5827
gap-editor wants to merge 2 commits intoremix-project-org:masterfrom
gap-editor:master

Conversation

@gap-editor
Copy link
Copy Markdown
Contributor

solves #5810

@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 28, 2025

👷 Deploy request for remixproject pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 2cebff7

export interface TabsUIApi {
activateTab: (name: string) => void
active: () => string
activateByTitle: (title: string) => void
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

we should work only with name as this is a key.


const provider = resolved.provider
// Activate the editor tab before opening the file
await this._components.registry.get('tabs').api.activateByTitle('Editor')
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

there is no Editor tab

@gap-editor gap-editor closed this by deleting the head repository Apr 8, 2025
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