Page MenuHomePhabricator

Tables: If you select N rows / columns and click "insert above/below" or "… left/right", VE should insert N rows / columns, not 1
Open, MediumPublic

Description

The number of columns/rows added above/below should be the same as number of selected ones, not necessarily always 1.


Version: unspecified
Severity: normal

Details

Reference
bz73227

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:46 AM
bzimport set Reference to bz73227.
Jdforrester-WMF renamed this task from VisualEditor: Insert above/below more than 1 column/row to In table editor, selection N rows / columns and clicking "insert above/below" or "… left/right" should insert N rows / columns, not 1.Nov 25 2014, 3:25 AM
Jdforrester-WMF triaged this task as Medium priority.
Jdforrester-WMF set Security to None.
Jdforrester-WMF moved this task from To Triage to TR6: Visual diffs on the VisualEditor board.
KHammerstein renamed this task from In table editor, selection N rows / columns and clicking "insert above/below" or "… left/right" should insert N rows / columns, not 1 to Tables: If you select N rows / columns and click "insert above/below" or "… left/right", VE should insert N rows / columns, not 1.Dec 3 2014, 11:17 PM
KHammerstein added a project: Design.

I realize that other text editors do this, but I've always found it to be annoying and never useful.

I've always appreciated your feedback bro, but just try to create a big table. I find an editor to be annoying if it doesn't allow me to add several rows/columns at the same time. Maybe there's {{research needed}}?

FWIW, this is the default behavior both in Excel and in Google Sheets (the latter also helpfully changes the right-click menu items to "Insert N above" / "Insert N below" when N rows are selected).

..or we could show two options when more than one cell is selected (Insert 1 above + Insert N above)

..or we could show two options when more than one cell is selected (Insert 1 above + Insert N above)

That makes sense. That menu currently has 5 items, making that 7 in some circumstances wont clutter it and keep both options.