Skip to content

Navigation Menu

Sign in
Sign up

feat(templates): add the collapsible table page template #6065

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ernestt wants to merge 3 commits into main
base: main
Choose a base branch
Loading
from template-table-collapsible
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/table-collapsible-template.md
View file Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@astryxdesign/cli': patch
---

[feat] New `table-collapsible` page template: several tables on one page, each in a collapsible card with its own columns, for groups that do not share a schema. Every table sorts on its own, one time range in the page header drives all of them, and rows expand in place into a full-width history chart. Below 720px each table folds to its name and headline figure. (#6065)
@ernestt
4 changes: 4 additions & 0 deletions apps/docsite/src/components/templateComponents.ts
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ export const TEMPLATE_COMPONENTS: Record<
() =>
import('../../../../packages/cli/assets/templates/pages/table-filter/page'),
),
'table-collapsible': lazy(
() =>
import('../../../../packages/cli/assets/templates/pages/table-collapsible/page'),
),
'table-grouped': lazy(
() =>
import('../../../../packages/cli/assets/templates/pages/table-grouped/page'),
Expand Down
Loading
Loading

AltStyle によって変換されたページ (->オリジナル) /