You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context
As pointed out by @choldgraf, top-bar buttons are at present hardcoded in the template file, with conditionals determining their presence. Each has its own separate config value. Would be ideal to assimilate them into an object, and implement a less hardcoded way to display/hide these buttons.
Can reduce the clutter of conditionals and duplication of html in the theme code, and make it easier for a user to read and configure as every top-bar button/action would be in one place(object).
Guide for implementation
No response
Tasks and updates
No response
The text was updated successfully, but these errors were encountered:
Describe the problem/need and solution
Context
As pointed out by @choldgraf, top-bar buttons are at present hardcoded in the template file, with conditionals determining their presence. Each has its own separate config value. Would be ideal to assimilate them into an object, and implement a less hardcoded way to display/hide these buttons.
Solution
https://furo-topbar.readthedocs.io/en/latest/ can be used as an inspiration
Benefits
Can reduce the clutter of conditionals and duplication of html in the theme code, and make it easier for a user to read and configure as every top-bar button/action would be in one place(object).
Guide for implementation
No response
Tasks and updates
No response
The text was updated successfully, but these errors were encountered: