Skip to content

feat(packages/ui): auto-enhance large Markdown tables #165

Description

@zrosenbauer

Summary

Automatically enhance larger Markdown tables with sorting and per-column filtering. Small tables should retain the default Rspress renderer, and authors should not need custom MDX markup.

Acceptance criteria

  • A documented row threshold determines when enhancement activates.
  • Headers support stable text and numeric sorting.
  • Each column supports text filtering plus a clear-all action.
  • Links, inline code, and other rich cell content remain intact.
  • Column widths remain stable as filters change the visible rows.
  • Persisted state does not cause SSR/hydration failures and tolerates unavailable storage.
  • Controls are keyboard accessible, expose correct sorting state, and work on narrow viewports.
  • Visual verification covers every built-in theme in light and dark modes.
  • Tests cover parsing, sorting, filtering, persistence keys, and storage failure.

Prior work

Closed draft PR #143 contains an implementation spike and browser verification notes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions