-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[Sistent] Add Data Table component to the Sistent components page #7681
Copy link
Copy link
Closed
Labels
framework/reactReact relatedReact relatedgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededkind/enhancementNew feature or requestNew feature or requestlanguage/javascriptIssues or pull requests that use Javascript or ReactIssues or pull requests that use Javascript or Reactlanguage/markdownIssues or pull requests that use MarkdownIssues or pull requests that use Markdownproject/sistent
Metadata
Metadata
Assignees
Labels
framework/reactReact relatedReact relatedgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededkind/enhancementNew feature or requestNew feature or requestlanguage/javascriptIssues or pull requests that use Javascript or ReactIssues or pull requests that use Javascript or Reactlanguage/markdownIssues or pull requests that use MarkdownIssues or pull requests that use Markdownproject/sistent
Type
Fields
Give feedbackNo fields configured for issues without a type.
Current Behavior
Layer5 and its projects use the Sistent library to enable easy component reusability. One of the most critical and frequently used components is the ResponsiveDataTable.
Currently, this component lacks representation on our centralized components page. Maintaining consistent usage and example documentation is essential for aiding new contributors.
Technical Context
The
ResponsiveDataTableis a high-level wrapper around @sistent/mui-datatables (a Layer5-maintained fork). This documentation should focus on how to use the Sistent wrapper while linking to the upstream library for advanced property references.Desired Behavior
Add documentation for the Data Table component following the Sistent MDX structure. Create a new directory at
src/collections/sistent/components/data-table/with the following files:index.mdx: Overview of the component and its purpose (managing complex datasets).guidance.mdx: Best practices for usage, column labeling, and responsiveness.code.mdx: Live code examples using<ThemeWrapper>and<CodeBlock>. Examples should include:Reference Implementation
A contributor can find the source logic and current usage here:
Template Reference
You can follow the existing Button component documentation for structure and style.
Contributor Resources and Handbook
The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the
masterbranch.