Skip to content

Provide visual cue for editors that a folderish page is part of the site structure #4280

@fredvd

Description

@fredvd

One thing that has been confusing or rather slightly annoying while editing content in a Volto site is that everything in my (top) site hierarchy is a Page. I am lost without seeing the main site structure if I’m not reading every page title to umderstand it is a branch. I want my folders back !! 🤣 But I realise adding back the folder ct just for that is not worth it.

I had an insight though: it is only the editing UI where I want to see this. What if we index an extra property on every (Page) item that stores if the page has any direct sub pages? And with that info show a slightly different Icon on the folder contents to signal that this page is part of the site structure. That would do it for me as a visual cue for the branches between the leaves.

The icons shoudn’t switch for only contained images and files in a Page. Those are probably part of the blocks layout on the page.

We could even create 3 or 4 icons, where the folder icons are similar slightly differ on how much they are filled: if more than x pages are there or if there are sib sub pages. I do wonder what the indexing costs would be for this with a very large site. Then again, you could let the indexer run only when content is added and recalculate/reindex the parents.

Is something like this feasible? is the folderish page vs 'structural folder' UX debate partly addressed in Quanta? @sneridagh @tiberiuichim

( mostly copied from discussion at https://community.plone.org/t/why-is-volto-overriding-classical-dexterity-types/15895/4 )

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions