[FEATURE] Improved matrix editing UI
See original GitHub issueI am quite new to mathlive. And I find it not intuitive and user-friendly to do matrix editing, such as
- adding a column (I get it done by memorizing the keyboard shortcuts)
- adding a new row for a multi-column matrix only gets one-column row
- very hard to tell how many columns are there already when most columns are blank
So I suggest
- add buttons of “new column/row (before/after)” and “remove current column/row” in the virtual keyboard
- when a new row is added, it spans into multi-column row
- each blank spot shows
⬚
(DOTTED SQUARE) as a placeholder. This will not only make it easy to tell the column-size, but also help user to locate and fill the spot to make a sparse matrix on a mobile device.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:9 (7 by maintainers)
Top Results From Across the Web
Feature Matrix - Dribbble
Discover 2 Feature Matrix designs on Dribbble. Your resource to discover and connect with designers worldwide.
Read more >New features :: Squiz Documentation (Matrix)
Matrix features a newly designed and improved backend UI that aims to improve the usability and intuitiveness of the overall application.
Read more >Designing A Perfect Pricing Page UX - Smashing Magazine
So if we wanted to design a better pricing table, what would we do? ... Kissflow doesn't include a feature comparison matrix; nor...
Read more >WirelessDMS: January 2022 Release - Matrix Logic Corporation
Matrix Logic, January 2022. Introduction ... UI updates. - Improved file support for editor apps ... Major new release with new UI and...
Read more >VSDC 7.1 Adds Matrix and Color Twist Effects, Introduces ...
VSDC 7.1 Upgrades GUI and LUT Editor, Adds New Effects and Custom Shortcuts ... and makes video editing more convenient by bringing an...
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
After further thoughts, while adding some commands in a virtual keyboard panel is a potential solution, it does have the drawback that the virtual keyboard is not always available (it can be turned off on desktop, for example). So, I don’t think having the default matrix editing commands in the default virtual keyboard is the best option. Instead, I would suggest a floating editing bar (similar to the pop-over in command mode), which would appear when the caret is inside a matrix and would look something like this:
The
(+)
buttons would allow the insertion of a column/row and the(-)
buttons would allow the deletion of a row/column, while the other buttons would allow the selection of the “style” of the matrix.To clarify, MathLive by default uses the same shortcuts as Mathematica (Ctrl+, and return to add a column/row). I don’t think this issue is about what the shortcuts should be or that MathLive is lacking shortcuts for basic matrix editing.
Note also that it is possible to define a custom virtual keyboard with commands to add/remove columns/rows. If someone wants to submit one, I’d be happy to review it.
The point about having a placeholder visible for empty cells is a good one.
The behavior when inserting a new row could be changed so that a new row has as many columns as the previous one, but note that Latex matrixes are sparse and could have variable number of cells per row. But perhaps that could be not supported when creating a new matrix with MathLive (but still supported if the matrix was pasted into MathLive).