Add a per-widget toggle to hide file-layout objects (images, video, audio, PDF) from the children shown in tree-view widgets. Currently every object linked in a page’s body appears as a tree child, including media embedded purely as content — so a page with screenshots shows each image alongside its actual sub-pages.
HOW COULD IT BE DONE?
Add a “Show files” toggle to the widget settings menu (alongside View and Number of Objects), defaulting to off. Implementation is a layout check on the existing child-link enumeration: rows whose object layout is a file type are skipped. The app already branches widget behavior by layout — view options differ between regular objects and queries/collections — so this follows an established pattern.
REAL WORLD USE CASES
Documentation-style pages mix structure and media: a project page links to sub-documents (specs, notes, test logs) and also embeds reference images inline. The sub-documents are hierarchy; the images are content. The tree widget currently flattens that distinction — a page with 10 screenshots and 3 sub-pages renders 13 children, burying the navigation the widget exists to provide. With files hidden, the tree reads as a page hierarchy (the model Confluence and Notion users expect from a sidebar tree), while media stays fully accessible in the page body where it’s actually consumed.
RECOMMENDED ALTERNATIVES
Moving images into a dedicated child object (e.g. “Reference imagery”) linked from the page — works, but forces document structure to serve widget rendering, and must be maintained manually on every page.
Avoiding tree view for media-heavy pages — gives up hierarchy navigation exactly where pages are richest.
ADDITIONAL CONTEXT
Files became first-class objects with relations (implemented FR), which is why embedded media now appears as tree children. This feature request adds the display-side control to match.