Skip to content

[Spike] Dynamic content pages in docusaurus #8310

Closed

Description

@JasonStoltz

The goal here is to Spike out #7433. The details of what we need to spike are included in that issue.

Activity

  1. acstll commented on Feb 12, 2025

    @acstll
    Contributor

    Here's what I found:

    Part Section Status Notes
    (1) CSS-in-JS / SCSS toggle "Global" ❌ Not needed? I think this is not used anywhere I should be ignore, correct?
    (2) Font units toggle group for size scales Typography ✅ Should be easy to port Identical patterns have been ported already
    (3) Variable font input range for font weight Typography ✅ Should be easy to port No complexity
    (4) Inputs for different values, bound to theme object Theme customizer 🤨 Reconsider? Large but no complex. Is this really useful within Elastic?
    (5) Flyout with JSON output Theme customizer ✅ Should be easy to port (Part of the above)
    (6) Input range for a11y levels e.g. AA with background/foreground pairs Colors / Contrast 💅 Consider refactor Looks a bit outdated, mainly because it's not using the new semantic tokens which already imply background/text pairs. I also wonder whether having the semantics make this necessary. Could also be done statically, displaying the AA/AAA data without the interactivity
    • I would give this an 8 (could also be 5 or 13?)
    • @JasonStoltz @ryankeairns what do you think about items (4-5) and (6)
    • @tkajtoch can you confirm (1)?
    • I think we could start already working on the Typography page
  2. JasonStoltz commented on Feb 13, 2025

    @JasonStoltz
    ContributorAuthor

    (1) CSS-in-JS / SCSS toggle - Can confirm, this is not needed. If someone needs the SCSS documentation, we will have archived versions people can reference.

    (4) Inputs for different values, bound to theme object - We suspect that we're the only people using this. We don't believe it's something people will miss or is required for the initial release. If someone inquires about it, we can point them to our archived documentation and then prioritize getting this into the new docs site.

    (5) The same answer as above.

    (6) Input range for a11y levels e.g. AA with background/foreground pairs - We suspect this isn't used by us, or the outside world. We're also not sure if this is the best format or if it's even needed now in Borealis. We should punt on this one for now, and reconsider adding it after go live. If someone inquires about it, we can point them to our archived documentation and then prioritize getting this into the new docs site.

    Some options for the future:

    • Lene suggested perhaps having an option to select background and select foreground for comparison, not have an entire page
  3. JasonStoltz commented on Feb 14, 2025

    @JasonStoltz
    ContributorAuthor

    I've updated #7433 with our conclusions, closing this issue.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions