internetarchive / openlibrary

One webpage for every book ever published!
https://openlibrary.org
GNU Affero General Public License v3.0
5.11k stars 1.33k forks source link

Table-style for creating Table of Contents #2384

Open BrittanyBunk opened 5 years ago

BrittanyBunk commented 5 years ago

It's difficult to format the table of contents, so if people could just add a row or column that they need to and then fill in the cells, that would make it much easier to fill in and have it look nice.

See: https://github.com/internetarchive/openlibrary/issues/683#issuecomment-427213861

image

cdrini commented 5 years ago

Hey @BrittanyBunk ! Thanks for the feedback. Please do try to follow the issue templates; it saves a lot of back and forth and makes issues easier to read for the maintainers, since they all look consistent.

If I'm following correctly, you're suggesting that the editing user interface include an editable table format? Like having an "Add a row" button, which will have the necessary columns, and which can then be filled in with the section details? Sort of like a spreadsheet?

In what ways do you think the current method is difficult?

BrittanyBunk commented 5 years ago

Yes, like a spreadsheet. It's difficult right now, because the formatting goes awry when I try to follow the directions. Also, it's tricky to copy/paste and have it come out right if I need to add the | <- just a hassle. Also, after adding it all in, I find that there's extra |'s added, and some of the ones I add get removed. So it just doesn't work and I just abandon it.

mekarpeles commented 4 years ago

Relates to #683

xayhewalo commented 4 years ago

It sounds like we'd need to add functionality to insert data instead of editing the whole Table of Contents object. Assigning @hornc per slack conversations since it seems like something it'd spearhead.

BrittanyBunk commented 4 years ago

@guyjeangilles @mekarpeles thanks for moving this forward right now, as I feel it's needed more than other issues (that I've created) to move forward at this time :)

BrittanyBunk commented 4 years ago

To continue the progress, here are the names of the columns: #, Header, Description/Subtitle (optional), Page number. I'm not sure how to add tabbing into a spreadsheet, but I'm thinking that any tabbed header would have a symbol next to it - like ">" for each tab, like ">>>" = 3 tabs in the header category.

mekarpeles commented 4 years ago

Also see: https://github.com/internetarchive/openlibrary/issues/683