ic-labs / django-icekit

GLAMkit is a next-generation Python CMS by the Interaction Consortium, designed especially for the cultural sector.
http://glamkit.com
MIT License
47 stars 11 forks source link

Make page tree display in table layout? #223

Closed cogat closed 7 years ago

cogat commented 7 years ago

Having the page tree in a draggable JS tree causes the following problems:

The only things the JS transformation accomplishes (that we use) are:

I propose we render the page list as a normal table, with indented titles, and classes on each line that indicates all parents of that line. No drag/drop. Toggling a parent toggles the visibility of lines with that parent.

cogat commented 7 years ago

The commit above ditches the JS injection of a nested list, which replaced the table in the changelist. Instead, we're now grafting tree indentation and disclosure controls into the table. Drag/drop has gone, but it wasn't working or much use to us anyway. There are still up/down arrows for incremental reordering.

We can now search all pages, not just the top level.

cogat commented 7 years ago

TODO: