question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FEATURE] Improved matrix editing UI

See original GitHub issue

I am quite new to mathlive. And I find it not intuitive and user-friendly to do matrix editing, such as

  1. adding a column (I get it done by memorizing the keyboard shortcuts)
  2. adding a new row for a multi-column matrix only gets one-column row
  3. very hard to tell how many columns are there already when most columns are blank

So I suggest

  1. add buttons of “new column/row (before/after)” and “remove current column/row” in the virtual keyboard
  2. when a new row is added, it spans into multi-column row
  3. 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:open
  • Created 3 years ago
  • Reactions:1
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

8reactions
arnogcommented, Aug 30, 2020

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:

Screen Shot 2020-08-30 at 9 59 40 AM

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.

2reactions
arnogcommented, Aug 29, 2020

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).

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found