massgov / feature-requests

Prioritization for feature requests for the Mass.gov project.
10 stars 8 forks source link

Fix editing of curated lists #171

Open jture opened 5 years ago

jture commented 5 years ago

Two points

  1. It is very hard to move sections of curated lists. The drag-and-drop handles won't move above the visible screen area and if any list sections are lengthy and thus take up too much screen space, sometimes the handles won't respond at all. SUGGESTED FIX: make it possible to collapse list sections so that they're easier to move around.
  2. When adding a new item to a curated list, the editor jumps to the top of the listing page, far away from the location where the new item is to be placed. This is clearly a bug. The add-new-item should open an entry field where it is needed rather than flying away from the location.

Thank you!

mcrockerus commented 5 years ago

I am having the same issues with a large curated list. I am adding new forms, editing existing forms, and also re-positioning forms as I go and it just takes forever.

Adding new forms to a curated list is nice and easy once the forms have been added to the CMS as Documents, but I agree it is not helpful that you are brought back to the top of the list when you select the button to add a new/existing document within the curated list.

Editing existing forms and re-positioning forms in curated lists is definitely not fun. Editing the existing forms is a slow process with lots of scrolling, and saving can take a while. Using the row weights to re-position documents in the list is nice, but strangely they do not always go where I tell them to. I have had better success using the 'drag to re-order' grips that are accessible once the row weights are turned off, but re-ordering this way is clunky with a large list.

Possible solution Create another template called a Container. A user could name the container template something like "SNAP Applications - Group A" (I work for DTA). Then add a limited group of documents (15 or so) and have the ability to edit and reorder documents from within the container. If you have more documents to add than the container template allows, then you just create another container and call it "SNAP Application - Group B", and so on. Working with small sets of documents would hopefully be a bit easier than a giant list. Anyway, every saved container would get an ID, just like documents.

Then back in the Curated list, add a button called "add an existing container". Once clicked have it behave just like the "Add an existing document" button behaves; specifically letting you enter the ID of container you want to insert. Have the container insert as a collapsed group/list with the containers name and ID number. The user would have the option to expand or collapse this container to reveal the documents contained within, and have the ability to collapse it again to make moving this group of documents around easier. You could add as many of these containers into the curated list as needed. At some point in the future, if something needed to be added/edited/removed/replaced, the user would be able to search for the document in the CMS as we currently do, but if the document is part of a container, maybe have a way to show the user that, like the Pages Linking Here feature, or add another column in the All documents section, just as a way of keeping track of these connections.

Thank you for reading this, I hope it helps!

joeg8612 commented 4 years ago

We are working on part of this issue - a change that will put focus at the top line of a new section when you add it.

Lchiong commented 3 years ago

It would be great to have the option to easily reorder list items on the curated lists and within the groups on the new service page template. Thanks!