Refactor conference details and improve component visibility#332
Refactor conference details and improve component visibility#332Starefossen merged 4 commits intomainfrom
Conversation
…ss components and stories - Changed conference title and organizer in various components to "Cloud Native Days Norway 2025". - Updated email templates and mock data to reflect the new conference name and URLs. - Introduced new MetricCard and StatCard components for improved metrics display. - Added StatsGrid component for responsive layout of stat cards. - Updated design system examples to utilize new stats components. - Adjusted badge configuration documentation to reflect domain changes.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||||||||||||
- Added keyboard accessibility for row clicks in DataTable by handling Enter and Space keys. - Updated empty state rendering logic to return null if no data and no empty state provided. - Improved Tr component to conditionally apply hover and cursor styles based on clickability. - Modified TableToolbar to show clear button only when there is a search value. - Added aria-live role to status message in TableToolbar for better screen reader support.
User description
Update conference references from "Bergen" to "Norway" and enhance the visibility of the SearchInput component's text color. Introduce new MetricCard, StatCard, and StatsGrid components for better metrics display and responsive layouts. Adjust documentation and mock data accordingly.
PR Type
Enhancement, Tests
Description
Introduce composable DataTable components with TableContainer, TableHeader, TableBody, and TableEmptyState primitives
Create new stats display system with StatCard, MetricCard, and StatsGrid components for dashboards
Refactor SpeakerTable and SponsorContactTable to use new DataTable components
Update conference references from "Bergen" to "Norway" across all components and documentation
Improve SearchInput text color visibility in dark mode
Diagram Walkthrough
File Walkthrough
17 files
New DataTable component exportsHigh-level DataTable component with column definitionsTable wrapper with shadow and ring stylingStyled table header and Th cell componentsStyled table body, row, and cell componentsEmpty state display for tables with no dataSearch, filter, and result count toolbar componentNew stats component exportsSimple stat card with value, label, and color themesEnhanced metric card with icon, trend, and loading stateResponsive grid wrapper for stat cardsRefactor to use new DataTable and TableToolbar componentsRefactor to use new DataTable primitive componentsUpdate table headers to use Th componentRe-export StatCardProps from stats moduleReplace inline MetricCard with imported componentExport new stats components and types22 files
Comprehensive Storybook stories for DataTable systemComprehensive Storybook stories for stats componentsUpdate domain examples from cloudnativeday to cloudnativedaysAdd DashboardWithStats story and update conference referencesUpdate mock conference data to Norway brandingUpdate mock badge data to Norway brandingUpdate mock conference to Norway brandingUpdate mock conference to Norway brandingUpdate domain references to cloudnativedays.noUpdate context highlight to Norway brandingUpdate mock conference to Norway brandingUpdate email templates to Norway brandingUpdate email subject to Norway brandingUpdate mock conference to Norway brandingUpdate mock proposal conference to Norway brandingUpdate mock conference to Norway brandingUpdate pipeline header to Norway brandingUpdate mock conference to Norway brandingUpdate conference name to Norway brandingUpdate event name to Norway brandingUpdate base conference to Norway brandingUpdate email subject to Norway branding1 files
Add text-gray-900 class for better dark mode visibility3 files
Update mock conference domain to cloudnativedays.noUpdate test host domain referenceUpdate test domain references to cloudnativedays.no