event-catalog / eventcatalog

An open source documentation tool to bring discoverability to your event-driven architectures
https://eventcatalog.dev
MIT License
1.71k stars 145 forks source link

Allow to hide/disable certain areas in the left sidebar #556

Closed otbe closed 2 months ago

otbe commented 3 months ago

It would be nice if we can configure certain areas in the sidebar similar to

{
  docs: {
    sidebar: {
      showPageHeadings: false,
    },
  },
}

Im thinking of disabling messages (events for now, commands/queries maybe later) completely because to display a list of >900 events in this way makes no sense really.

boyney123 commented 3 months ago

Yeah I hear you, I'm tempted to add a filterable dropdown in that list to help... let me explore a few things, will get back to you. I have others also experiencing similar things.

boyney123 commented 2 months ago

So this is my thinking at the moment.

Demo https://github.com/event-catalog/eventcatalog/assets/3268013/58c230dc-06e1-4db0-9a3f-7658ea09afb5

Thoughts? Would this help?

otbe commented 2 months ago

Wouldnt this be a bit redundant to the global search and the "Discover" section? 🤔 I think I would redirect people to the global search if they know what they are looking for or to discover section if they want to discover a domain/event/whatever.

wliew99 commented 2 months ago

i like the discover page of events better. I like to hide the service section on the main left menu, if made available.

boyney123 commented 2 months ago

Cool, I added the ability to hide things in the navigation bar and configure it.

https://www.eventcatalog.dev/docs/api/config#docs

Just waiting for GitHub actions to unqueue my release, not sure what issues they are having at the moment. Once that's done new release will go out with this feature.

boyney123 commented 2 months ago

OK this now out in 2.0.10. Will close this issue for now, thanks for raising