Skip to content

Feature Request: Add custom labels to the AppLayout Tab #1002

@johannesWen

Description

@johannesWen

Feature Request

  • The requested feature would break current behaviour
  • I would be interested in opening a PR for this feature

What problem would this feature solve? Please describe.

Add a custom label to the AppLayout Tab of the default route "/" or other routes if "label" is defined. Currently, the label of the default route is always "Home".

routes = [
    solara.Route("/", component=Page, label="Foo", layout=Layout),
    solara.Route("test", component=Test, label="Test123"),
    solara.Route("example", component=Example)
]

Describe the solution you'd like

If the user defines the "label" parameter of a route, the AppLayout Tab should use this naming. In the above examples the AppLayout tabs labels would be "Foo", "Test123" and "example".

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions