martindholmes / majwIssues

Repository for issue-tracking for the MAJW project.
Mozilla Public License 2.0
0 stars 0 forks source link

Large tables should be split alphabetically #2

Open martindholmes opened 1 year ago

martindholmes commented 1 year ago

The Women, Records, and upcoming Relatives pages are tables and they're too big for browsers to handle (the spec limits them to 1000 rows, although Firefox happily deals with more). We need to switch these to lists, and display each item using a grid layout that mimicks the table; we also need to make these displays sortable.

Another option would be to split them into alphabetic sets, which is easier and perhaps more user-friendly. @AdrienneWB what do you think? Instead of the complete listing, we could have clickable letters of the alphabet like this:

https://mapoflondon.uvic.ca/gazetteer_a.htm

AdrienneWB commented 1 year ago

I think the alphabetic sets idea sounds good — this how I organically work in the db anyway (that is, because the data is overwhelming in total, I tend to pull up one letter at a time and work through records alphabetically). That does seem the user-friendly option.

martindholmes commented 1 year ago

OK, I'll do that, and switch the topic of this ticket to reflect it.

martindholmes commented 1 year ago

Actually the numbers of women and relatives don't reach 1,000 yet, so we don't have to worry for a bit. Records (mentions) are well over 1,000, though, and that page should in theory blow up on Chrome-based browsers, but it doesn't; I guess that constraint has now been abandoned, although I can't find any documentation of it. I think this could go on the back-burner for a bit.

AdrienneWB commented 1 year ago

Ok -- as long as it will work! :)