Skip to content
New issue

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

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

Already on GitHub? # to your account

Configure visible panels via URL parameters #837

Open
rodichenko opened this issue Jul 28, 2022 · 1 comment
Open

Configure visible panels via URL parameters #837

rodichenko opened this issue Jul 28, 2022 · 1 comment
Assignees
Labels
kind/enhancement New feature or request

Comments

@rodichenko
Copy link
Collaborator

Background
At the moment, NGB allows to specify application layout via layout URL parameter, which defines the panels visibility, size, position, etc.. This parameter is quite "heavy", while for some cases user just wants to configure panels visibility only.

Approach
Let's introduce panels parameter - a JSON array of panels identifiers. NGB should display only listed panels at the startup:

https://server.com/ngb?...&panels=["browser", "datasets"]

A list of valid identifiers:

  • browser
  • datasets
  • variants
  • blast
  • bookmark
  • genes
  • heatmap
  • motifs
  • pathways
  • strainLineage

Other options

Let's also introduce hideMenu=<on/off> parameter that configures left menu visibility. If on value is passed, NGB main menu
will be hidden.

@rodichenko
Copy link
Collaborator Author

Backported to release/2.7.1 (b34407c)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants