inventaire / inventaire-client

webapp coupled to the inventaire server :books:
https://inventaire.io
50 stars 16 forks source link

allow to edit many entities at once #439

Open maxlath opened 1 year ago

maxlath commented 1 year ago

There could a layout to edit many entities at once, in a way somewhat comparable to the mass edit now possible for inventory items. That tool could work like this

nclm commented 1 year ago

In the beginning, Step 1 could be made a little simpler by integrating it in existing pages rather than having a specific page for the tool with an empty state.

For instance on the page of an author, there could be an “Edit all” button next to “Works” and another next to “Series”. Or on the page of a work, a button next to “Editions”. That would be a little simpler than coming up with a query interface, even though that could be a nice thing to have in the future.

For the edit page itself, there are a few directions it could go. Some possibly relevant existing interfaces I’m thinking of are for instance:

I could come up with some sketch some time.

AutomCoding commented 1 year ago

I wrote a simple browser macro for mass editing and inspection. If I visit an authors page and run the script it finds all works by that author, then a list of all editions of those works, removes duplicates, opens a new browser window and opens one tab for each edition's editing page. It does the same for editions of works in a series. Then I manually do what I wanted to do in each tab and close the window.

jum-s commented 1 year ago

Linked to this issue:

nclm commented 9 months ago

I’ve been doing a bit of data cleanup/completion across authors/series/works/editions recently, and as much as Inventaire is much nicer to work with than Wikidata for many things, a batch editing tool is really missing! (the /cleanup tool is already something nice, but only usable for some specific use cases)

Here are some thoughts. I’m afraid you’re getting scans of my sketchbook, sorry for the mess! It’s much quicker than firing up Penpot/Figma or dev tools 😅 All very rough and early.

inventaire-batch-editing-sketch-1 inventaire-batch-editing-sketch-2 inventaire-batch-editing-sketch-3 inventaire-batch-editing-sketch-4 inventaire-batch-editing-sketch-5 inventaire-batch-editing-sketch-6 inventaire-batch-editing-sketch-7 inventaire-batch-editing-sketch-8

Three directions basically:

I could use any of the three really. I do have a thing for variant C as I feel it would cover most use cases and be very quick to operate! Also it’s ability to apply changes to only a selection of the complete list.

Let me know what you think 😊

nclm commented 9 months ago

One more thought: even if the UI should make it as clear as possible what changes are made and ask you to confirm anything that could lead to large changes of data, it could be useful to consider Saving/Cancelling on a batch edit tool, or Undo. It’s not the way Inventaire usually works, but could be a way to prevent “Oops I accidentally copied over the same title over all the entities and it’s been all pushed to Wikidata already”.