Add column sorting capability to GitLab tables

What does this MR do and why?

Add column sorting capability to GitLab tables

In the preview and view of markdown editors, table columns will now be sortable. Multi-column sorting is not supported.

Changelog: added

Screenshots or screen recordings

How to set up and validate locally

  1. Enable FF markdown_sortable_table_headers on http://gdk.test:3000/rails/features
  2. Go to any markdown rendered content (comment, work item description, wiki...)
  3. Add a table in markdown
  4. Preview or save the content
  5. Sort the table

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #585266 (closed)

Edited by Vanessa Otto

Merge request reports

Loading