Page MenuHomePhabricator

Be able to re-order the columns or rows of a table in VisualEditor
Closed, ResolvedPublic40 Estimated Story Points

Description

[placeholder description, old design docs https://www.mediawiki.org/wiki/VisualEditor/Design/Table_editor ]

Event Timeline

Jdforrester-WMF raised the priority of this task from to High.
Jdforrester-WMF updated the task description. (Show Details)
Jdforrester-WMF moved this task to Freezer on the VisualEditor board.
Jdforrester-WMF subscribed.
Jdforrester-WMF renamed this task from Be able to re-order the columns or rows of a table by dragging to to another position to Be able to re-order the columns or rows of a table by dragging them to another position in VisualEditor.Mar 6 2015, 7:13 PM
Jdforrester-WMF added a project: Roadmap.
Jdforrester-WMF set Security to None.

Per discussion, tentatively targeted for next quarter. Called out in the roadmap because it's considered a top "user delight" issue that will make table editing a lot smoother.

Am wondering if this should get Wikimedia-Design input - right now to actually select a row or a column you click on a tab which actually opens up a drop-down menu, so that can't be dragged...

Catrope removed Mooeypoo as the assignee of this task.

Here are some ideas:
*https://commons.wikimedia.org/wiki/Commons:Convert_tables_and_charts_to_wiki_code_or_image_files#Web_to_LibreOffice_Calc_to_tab2wiki

The intermediate dragging functionality of a spreadsheet like LibreOffice Calc might be incorporated into VisualEditor.

Or if not directly into VisualEditor, then maybe a separate tool can be set up similar to tab2wiki.
*http://tools.wmflabs.org/magnustools/tab2wiki.php

Except one could copy a table right off a Wikipedia page, and paste it into table2drag. :)

With the option to literally copy it right off the Wikipedia page without going into the wikitext. That way it could be used for any simple HTML-based table on any web page (nothing complicated by javascript, etc.).

Copy table off any web page. Paste table into table2drag. Drag the columns around. Output into wikitext. Copy wikitext into a wiki page.

Esanders renamed this task from Be able to re-order the columns or rows of a table by dragging them to another position in VisualEditor to Be able to re-order the columns or rows of a table in VisualEditor.Jan 14 2016, 4:00 PM

Change 263869 had a related patch set uploaded (by Esanders):
Tables: Move columns and rows

https://gerrit.wikimedia.org/r/263869

Note that this is "just" moving columns and rows one by one through the context menu; drag-and-drop is in T125145: Be able to move a cell/cell selection/row/column by dragging which we're not working on for now.

Change 263869 merged by jenkins-bot:
Tables: Move columns and rows

https://gerrit.wikimedia.org/r/263869