Skip to content
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

Allow a specific panel to be opened by default #227

Closed
wu-lee opened this issue Jan 10, 2024 · 2 comments
Closed

Allow a specific panel to be opened by default #227

wu-lee opened this issue Jan 10, 2024 · 2 comments
Assignees
Labels
duplicate This issue or pull request already exists

Comments

@wu-lee
Copy link
Contributor

wu-lee commented Jan 10, 2024

Problem

Owned by Oxford (and some other projects) would like a mykomap to start. not only with the sidebar open, but with a specific panel active.

In ObO's case, they'd like the about page to be shown, with some help for new visitors.

In other cases, they'd like the search panel to be showing.

What happens now

Currently, the panel can be opened by default (although see #226), but it always shows the directory (unless the directory is not enabled). If the directory is not enabled, it defaults to another panel (presumably the next in the list, left-to-right).

Proposed solution

Implement a config option which selects the panel to open by default, if the sidebar is opened. Possibly this could be the same option defaultOpenSidebar but with a string identifying the panel instead of merely a boolean true or false value.

@ColmDC
Copy link
Contributor

ColmDC commented Feb 2, 2024

See #231

@rogup rogup self-assigned this Mar 4, 2024
@ColmDC ColmDC added the duplicate This issue or pull request already exists label Mar 8, 2024
@ColmDC
Copy link
Contributor

ColmDC commented Mar 8, 2024

Closed as dupliate of 231

@ColmDC ColmDC closed this as completed Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants