Use case or problem
When using Obsidian Publish, the interactive graph view takes up a significant portion of the page, limiting the space available for content. This can be particularly problematic on smaller screens or when users want to focus solely on the written content. Currently, there is no built-in way to hide or collapse the graph view on published pages, which can detract from the reading experience.
Proposed solution
Implement a toggle or collapse button for the interactive graph on Obsidian Publish pages. This feature would allow visitors to:
- Collapse the graph view, expanding the content area to full width
- Easily restore the graph view when desired
The collapse/expand functionality could be implemented as:
- A small arrow or icon near the graph view that toggles its visibility
- A setting in the page options that allows hiding the graph by default
- A keyboard shortcut (e.g., ‘G’) to quickly show/hide the graph
Additionally, consider adding an option in the Publish settings to allow site owners to set the default visibility of the graph view for their published sites.
Current workaround
Currently, users can create custom CSS to hide the graph view, but this affects all pages on the published site and requires technical knowledge to implement. There is no easy way for visitors to toggle the graph view’s visibility on a per-page basis.
Related feature requests
- Obsidian Publish: let the visitor customize the graph views
- Making Graph view accessible on mobile browsers when checking ones Obsidian Publish website
Thanks for a great product!!