Skip to content

Comments

feat: enhance dashboard page#546

Merged
LeadcodeDev merged 4 commits intomainfrom
feat/enhance-dashboard-page
Nov 27, 2025
Merged

feat: enhance dashboard page#546
LeadcodeDev merged 4 commits intomainfrom
feat/enhance-dashboard-page

Conversation

@NathaelB
Copy link
Member

@NathaelB NathaelB commented Nov 26, 2025

image

@NathaelB NathaelB added this to the v0.2.0 milestone Nov 26, 2025
@NathaelB NathaelB self-assigned this Nov 26, 2025
@NathaelB NathaelB marked this pull request as ready for review November 26, 2025 10:31

return (
<style
dangerouslySetInnerHTML={{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That seems scary, what is this ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This component was generated by ShadCN

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dangerouslySetInnerHTML allow to render html element directly into div or any native html component.

Add recharts dependency and update pnpm lockfile. Introduce a new Chart
UI component with tooltip/legend/style helpers
(src/components/ui/chart.tsx) and integrate interactive Pie and Bar
charts into the overview home page. Fetch clients/users/roles for
real-time metrics, add skeleton loading states, and enhance quick-access
cards. Also normalize quotes/spacing and tweak layout in the Card
component.
Add api.types.ts, home.types.ts and types index to centralize
OpenAPI-generated and UI types. Replace local PageHomeData with central
types and update page-home and page-home-feature to use typed interfaces
for metrics, charts and quick-access items.
@NathaelB NathaelB force-pushed the feat/enhance-dashboard-page branch from b55809b to 95a9c04 Compare November 27, 2025 08:37
@LeadcodeDev LeadcodeDev merged commit 639ed36 into main Nov 27, 2025
8 checks passed
@LeadcodeDev LeadcodeDev deleted the feat/enhance-dashboard-page branch November 27, 2025 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants