Umbraco.CMS.Backoffice icon indicating copy to clipboard operation
Umbraco.CMS.Backoffice copied to clipboard

[FEATURE/LIMITATION]: Option to hide uui-tab for section view

Open enkelmedia opened this issue 10 months ago • 0 comments

As of my current understanding there are a lot of ways to mount UI for a custom section, I think that this is a more or less accurate summary:

  • A dashboard is routed like so: {section.meta.pathname}/dashboard/{dashboard.meta.pathname}
  • A sectionView is routed like so {section.meta.pathname}/view/{sectionView.meta.pathname}
  • A workspaceView is routed like so {section.meta.pathname}/workspace/{workspace.meta.entityType}

(Btw. took me several hours of guess work so might be worth adding the routing information to the docs)

Now, if I need to provide something that is not a "full blown" workspace my impression is that a sectionView might be a good fit.

My problem here is that as soon as I add a section view it's icon will be displayed as a option to the right hand side of the dashboard in the first view of a section.

I think it would be nice if we could configure a sectionView to only be a routed view in the section (aka hide the uui-tab), this way I can link to that view but without having it shown next to my dashboard.

Not sure if this is easy or if the thing that I'm looking for is better solved in another way?

enkelmedia avatar Apr 01 '24 20:04 enkelmedia