Allow altering visibility of button with routing

Created on 8 July 2020, almost 4 years ago
Updated 1 February 2021, over 3 years ago

Allow altering the visibility of the Moderation Sidebar toolbar button by using routing.

I should be able to hook into the routing system and hide the button, by modifying the route requirements for the sidebar routes.

In addition, proxying a new entity operation through to the existing view operation would make detecting intent easier.

Motivation: I want to conditionally hide the button, and access to the sidebar routes, depending on the entity in context.

✨ Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia dpi Perth, Australia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024