Skip to content

Deactivate / Hide navbar icons on custom landing page #597

Open

Description

@kevinrue

Is your feature request related to a problem? Please describe.

Most observers are not defined yet when the landing page is shown, leading to a confusing situation where users can click on navbar menu items that don't do anything until the main app is launched.

That said, https://github.com/kevinrue/iSEEExperimentHub defines a landing page where I defined an observer for the tour button as soon as the landing page is defined, giving a tour to the landing page (when the main app is started, the button then launches the tour for the main app, if defined).

Describe the solution you'd like

Some of the navbar icons do not apply to the landing page (e.g., extract the R code) and could be hidden altogether.
Others (like the tour mentioned above) have the potential to be overridden for the purpose of the landing page.

I don't have a clear plan in mind, and I'm not even sure how flexible the navbar is form that perspective, but it would be nice to hide/disable buttons

Describe alternatives you've considered
n/a

Additional context
n/a

Activity

  1. kevinrue commented on Aug 12, 2022

    @kevinrue
    MemberAuthor

    See iSEE/iSEEhub#12

    @LTLA
    You'll note that iSEEhub uses ::: to access the identifier of those buttons.
    This is obviously sub-optimal, but so would be referring to their name as a character string that might change in iSEE (unlikely, but less clean for traceability too)

    Thoughts?

  2. LTLA commented on Aug 12, 2022

    @LTLA
    Member

    Seems like these buttons should be disabled by the core landing page machinery in iSEE itself.

  3. kevinrue commented on Aug 13, 2022

    @kevinrue
    MemberAuthor

    That is true, but as demonstrated in iSEEhub, some of them can be given a purpose in landing pages, which means that their identifier should also be exported by iSEE so that scripts and packages that design landing pages can cleanly access those identifiers without relying on :::.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions