Propose new features
Designing Decidim together
Ability to remove/hide menu items
@Platoniq implemented this on this module: https://github.com/Platoniq/decidim-module-decidim_awesome/#11-change-the-main-menu-of-decidim-entirely
@verarojman asked on gitter whether it was possible to somehow remove menu items through the decidim.rb initializer. I investigated a bit and it looks like the menu subsystem is append-only at this point.
It is possible to hide them using CSS/JS hacks, but that's obviously brittle and can have unexpected consequences.
Being able to edit the menu through the initializer (or through the admin dashboard) seems like a sensible expectation from Decidim instance maintainers, to me. And from what I could tell, it's viable to extend the menu subsystem to allow for this within its current architecture.
Not sure how high a priority this would be, of course. Nor how common this demand is.
What do you all think?
List of Endorsements
Report inappropriate content
Is this content inappropriate?
You are seeing a single comment
View all comments
Conversation with Xabier
Hi. I don't see the rationale for this feature. I am not sure about the general top menu. But for the case of participatory-space menus (processes, assemblies, etc.) I see several risks. Among them is the risk to manipulate a democratic process by hiding components (like proposals) o survey for wich, nevertheless only selected users might have access by direct url. I cannot see the benefits and I can see severe risks to this proposal. But maybe I am wrong or I am missing some important features.
Hi! I'm fully agree with you @xabier. You're not wrong, you need more context. In @platoniq we are working in a project which we are adapting decidim for an academic online workshop. Also, this project won't need any maintenance because the installation will use one version. So, this is an specific project which use decidim' software. In any case we pretend to extend this feature in decidim master :)
Loading comments ...