Skip to content

[Feature Request]: Compatibility matrix #1570

Closed as not planned
Closed as not planned

Description

@reakaleek

Prerequisites

  • I have searched existing issues to ensure this feature hasn't already been requested
  • I have tested using the latest version of docs-builder

What problem are you trying to solve?

In elastic/docs-content#2019 (comment) I've seen some alternative approaches to display a compatibility matrix.

Proposed Solution

A custom table that behaves like https://versions.bulma.io/0.9.3/documentation/helpers/spacing-helpers/#list-of-all-spacing-helpers

Examples and Research

No response

Alternative Solutions

No response

Additional Context

No response

How important is this feature to you?

Nice to have

Activity

  1. cotti commented on Jun 3, 2026

    @cotti
    Contributor

    AI triage

    Automated investigation against the current codebase. A human still needs to confirm before any code change.

    Original concern

    Authors want a dedicated "compatibility matrix" — a custom, densely-styled table (like the Bulma versions reference table) for showing product/version compatibility, prompted by the ECK 3.1.0 docs (docs-content#2019).

    Findings

    • src/Elastic.Markdown/Myst/Directives/DirectiveBlockParser.cs:L81-L178 — the full directive registry. No {compatibility-matrix} (or equivalent) block exists; the feature is unimplemented.
    • src/Elastic.Markdown/Myst/Directives/Table/TableDirectiveBlock.cs:L16-L50 — the closest authoring primitive, the {table} directive (added in PR #2852). It only wraps a pipe table to control column widths on a Bootstrap 12-grid. No product/version semantics, no sticky-header or matrix styling.
    • src/Elastic.Markdown/Myst/Directives/CsvInclude/CsvIncludeBlock.cs:L13-L86 — {csv-include} renders an external CSV as a plain table. It is the closest data-driven table primitive, but has no matrix semantics or special styling.
    • src/Elastic.Markdown/Myst/Directives/DirectiveBlockParser.cs:L99-L103 + docs/syntax/applies-switch.md — the applicability stack ({applies-switch} / applies-item, plus the {applies_to} role) models per-block version/deployment applicability as badges and tabbed switching. It does not produce a 2-D product×version matrix.
    • src/Elastic.Markdown/Myst/Directives/DirectiveBlockParser.cs:L56,L75 — the upstream MyST list-table and csv-table directives are explicitly listed as unsupported, so they are not an out-of-the-box fallback either.

    Verdict

    Needs stakeholder input

    There is no compatibility-matrix capability today, and this is not a mechanical addition. A compatibility matrix touches product scope (what data, who maintains it, whether it is authored or generated), authoring ergonomics (what syntax/data format writers use), engineering (data source and rendering, AOT-safe), and visual design (the Bulma reference is fundamentally a presentation request: dense grid, sticky headers, responsiveness). These decisions need to be made before any implementation; routing to the relevant stakeholders.

    Proposal

    Open questions grouped by audience:

    • Product — Is the matrix manually authored content or generated from a data source? Who owns and maintains the compatibility data over time? Is this a docs-builder-wide primitive or ECK-specific? How does it relate to the existing applies_to applicability model (overlap vs. complement)?
    • Writer — What authoring format: extend {table}, add a new {compatibility-matrix} directive backed by a YAML/CSV data file, or lean on {csv-include}? What is the migration/maintenance cost for keeping matrices accurate?
    • Eng — Where does the data live (inline, an external file, or cross-repo product data such as src/Elastic.Documentation.Configuration/Products)? Rendering approach and AOT compatibility?
    • UX — The Bulma reference asks for specific behavior (sticky headers, dense grid, responsive layout). Needs a design before build.

    Related issues

    Part of a loose tables cluster (no exact duplicate): #112 (open, "[Discuss] Tables") and #3449 (open, "Support for Footnotes or Fancy Callouts in Tables"). Applicability infra context: #1436 (closed, "Support applies_to in additional directives/components"). Maintainers may want to plan table enhancements coherently.

    Notes

    The triggering use case is cross-repo (ECK version compatibility authored in elastic/docs-content), so if a data-driven approach is chosen, the data source/ownership question above is the key dependency.

  2. added
    ai-triaged
    ai:product-question
    ai:writer-question
    ai:eng-question
    ai:ux-question
    on Jun 3, 2026
  3. github-actions commented on Sep 15, 2026

    @github-actions
    Contributor

    This issue is stale because it has been open 90 days with no activity. Remove the stale label, or leave a comment, or this will be closed in 14 days.

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

    ai-triagedai:eng-questionai:product-questionai:ux-questionai:writer-questionclosed-staleenhancementstale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions