Skip to content

[Feature]: Ability to conditionally hide/show tabs based on user inputs #188

@AlexPars

Description

@AlexPars

Guidelines

  • I agree to follow this project's Contributing Guidelines.

Description

combination of semantic.dashboard + shiny.semantic delivers very powerful Shiny dashboards.

Tabs created are sidebar tabs (for example, using semantic.dashboard::dashboardSidebar and semantic.dashboard::sidebarMenu and semantic.dashboard::menuItem) and top bars (for example, using semantic.dashboard::tabBox and semantic.dashboard::box)

It would be very useful to be able to conditionally hide/show tabs (both on sidebar and on panels) based on user inputs

Problem

It allows tabs to be added/removed dynamically

Proposed Solution

I do not know.

I have seen approaches such as:
https://shiny.rstudio.com/reference/shiny/latest/showTab.html
https://deanattali.com/blog/advanced-shiny-tips/#hide-tab
https://stackoverflow.com/questions/33027756/hide-an-element-box-tabs-in-shiny-dashboard
https://rdrr.io/cran/fomantic.plus/man/tab_visibility.html
https://stackoverflow.com/questions/70085846/how-i-can-hide-a-tab-with-shinyjs

Alternatives Considered

I have tried approaches mentioned above

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions