Timeline for New Feature: Table Support
Current License: CC BY-SA 4.0
20 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 23, 2021 at 22:27 | history | edited | Franck Dernoncourt | CC BY-SA 4.0 |
added 159 characters in body
|
Dec 24, 2020 at 20:41 | history | edited | Franck Dernoncourt | CC BY-SA 4.0 |
added 104 characters in body
|
Dec 12, 2020 at 18:43 | comment | added | Justin | @HamVocke "What about sorting multiple columns?" The easiest way to support this is by using a stable sort (and IMO that is the correct way to do column sorting; the non-stable variant is wrong). Then, if you want to sort by (Firstname, Lastname), you can sort the firstname column, then sort the lastname column. | |
Dec 9, 2020 at 10:13 | comment | added | Liam | Right ok, I think I'm focusing on the list of names in Excel. I get that now, I still think it's niche TBH. I guess it depends on how this feature is going to get used and I don't think we know that right now. | |
Dec 9, 2020 at 10:12 | comment | added | Franck Dernoncourt | @Liam I'd use the table for a question on the accuracy of speech recognition apis. Linguistics SE, or DS. | |
Dec 9, 2020 at 10:07 | comment | added | Franck Dernoncourt | @Liam easy to do client side. Tables can also be used in answers. No need for a table to be large for sorting to be useful. My table is an example where sorting would be useful. | |
Dec 9, 2020 at 10:02 | comment | added | Liam | I can't think of a single use case where this would be useful? If someone is adding so much data that sorting is useful, then that data is probably detrimental to the question being asked. Seems like an idea for ideas sake. Given the difficulty of the task I'd say there are better things to fix | |
Dec 8, 2020 at 18:44 | comment | added | jaskij | If sorting is ever introduced, please use a stable sorting algorithm (one which preserves previous order in case of ties) - this is an intuitive way to do multiple column sorting. | |
Dec 6, 2020 at 17:33 | comment | added | user1271772 | Why don't we just do exactly what Wikipedia has? The code is not hard to access and is easy to imitate. | |
Dec 4, 2020 at 17:03 | comment | added | Mark Stewart | I love the ability to sort tables in Wikipedia; and I've updated a few articles to allow tables with "strange" data to sort correctly, and there are unfortunately lots of workarounds to sort things nicely. en.wikipedia.org/wiki/Help:Sorting I think there are few cases in SO where I would have benefitted from sorting a table. | |
Nov 30, 2020 at 17:13 | comment | added | Franck Dernoncourt | @HamVocke Thanks for the feedback. I agree that a perfect solution is very hard to achieve. In your shoes I'd simply imitate Wikipedia's sortable table. | |
Nov 30, 2020 at 17:10 | history | edited | Ham VockeStaffMod | CC BY-SA 4.0 |
added 21 characters in body
|
Nov 30, 2020 at 17:10 | comment | added | Ham Vocke StaffMod | We've discussed this idea with a bunch of folks today. We think this is harder to get right than it seems initially. Sorting table data will inevitably lead to follow-up questions: What about sorting multiple columns? What about different sorting methods (dates, integers, ...)? I agree that this is a nice feature but it takes more effort to flesh this out properly. | |
Nov 26, 2020 at 10:31 | comment | added | NoDataDumpNoContribution | @HamVocke I can imagine it could be both. Even though the content creator could in principle create any desired sorting manually, it might be convenient to use the feature once it's there to also allow the post author to specify a default sorting. And once it's there one could also allow the reader to re-sort. Once you are there, you also might want to filter. Data tables comes to my mind. | |
Nov 25, 2020 at 18:40 | comment | added | Ham Vocke StaffMod | We've got prior art in Stacks, our design system. Maybe we can do something similar here. It's an interesting proposal and we'll have to think this through. | |
Nov 25, 2020 at 18:36 | comment | added | Franck Dernoncourt | @HamVocke for the reader. Same as on Wikipedia. | |
Nov 25, 2020 at 16:24 | comment | added | Ham Vocke StaffMod | What's the idea behind this? Should this be a tool for the post author to sort a table when writing a post? Or is this supposed to be something for a reader so they can sort data according to their needs? | |
Nov 24, 2020 at 20:20 | comment | added | NoDataDumpNoContribution | You would need Javascript to make it work and it typically only makes sense for tables with many rows. There could be a default sort order and users could sort by other columns as well. Typically upwards and downwards pointing triangles are used for that in web pages. Wikipedia for example has this feature. Teams users would probably like it a lot. | |
Nov 24, 2020 at 4:46 | history | edited | Franck Dernoncourt | CC BY-SA 4.0 |
added 52 characters in body
|
Nov 24, 2020 at 4:26 | history | answered | Franck Dernoncourt | CC BY-SA 4.0 |