Skip to content

File Menu & QuickTools Visibility for editor tabs #1292

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

bajrangCoder
Copy link
Collaborator

Changes

This PR implements visibility management for the file menu icon and adds QuickTools visibility control per tab.

File Menu Icon (Pencil Icon)

  • Hides the file menu icon from header when active editor tab type is "page", otherwise show it

QuickTools

  • Adds hideQuickTools boolean property to EditorFile (defaults to false)
  • Allows per-tab control of QuickTools visibility

Usage

// Create a new tab with QuickTools hidden
new EditorFile("My Tab", {
  hideQuickTools: true
});

hide file menu (pencil icon) when a `type="page"` editor tab is opened, as there is no need of it in that case
Adds `hideQuickTools` boolean property to EditorFile (defaults to false) to control visibility of quicktools for editortabs as in many cases that quicktools toggler button hides some content of tab which is annoying
This is temporary , just for compatibility
@bajrangCoder bajrangCoder merged commit 9221237 into Acode-Foundation:main May 5, 2025
2 checks passed
bajrangCoder added a commit to bajrangCoder/Acode that referenced this pull request May 8, 2025
@bajrangCoder bajrangCoder deleted the feature/file-menu-quicktools-visibility branch May 9, 2025 16:26
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.

1 participant