Improve <table> input in the comment field
See original GitHub issueThere are many ways to simplify creation of tables. This is the simplest UI I’ve seen but I’m open to suggestions. It’s only 2 clicks to add a table.
- Click on “add table” button (dropdown opens)
- Click the desired table size
The grid is too big for us, but a 5x5 would be plenty. No need to get fancy with alignment options and headers; those can be more easily added by the user if desired.
Example table usage: https://github.com/sindresorhus/refined-github/issues/2874
Output would be a simplified HTML5 table markup:
<table>
<tr>
<td> A1
<td> B1
<tr>
<td> A2
<td> B2
</table>
A1 | B1 |
A2 | B2 |
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Solved: How to let users write comments in straight table
Solved: Hi, QlikView community I got easy dataset but that is just for demonstration. I have users that want to see variance between...
Read more >How to add comments to table or column in mysql using ...
How to add comments to table or column in mysql using SQLAlchemy? - Stack Overflow. Stack Overflow for Teams – Start collaborating and...
Read more >Modify or change the data type setting for a field
Convert to this type From this type Changes or restrictions
Text Memo Access deletes all but the first 255 characters.
Number No restrictions.
Currency No restrictions....
Read more >Comment field - textarea · Issue #14829 - GitHub
I am talking about comment field next to each column (not the table comment you marked on that pic) but this one -...
Read more >Issue with Additional Comments field - ServiceNow Community
Hello Folks, In our system there is a table BC which is extending TASK. ... But whenever we provide any input in the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No, because that requires at least 4 clicks and 2 key presses, while this is only 2 clicks (no dragging, just a click)
Nobody needs 100 columns in a GitHub comment; rows can be trivially added by copy-pasting the result as many times as needed, if you need more than 7 rows.
You can, but please keep it as simple as possible, probably around 50 lines or less.
You can copy the DOM from the canned replies (but the dropdown content would of course be like in the very first gif):
GFM can be used instead of HTML5: https://github.github.com/gfm/#tables-extension- & https://help.github.com/en/github/writing-on-github/organizing-information-with-tables