Skip to content

add cutomer,farmer,distributor,retailer dashboards#132

Open
harsh12314 wants to merge 1 commit into
aditiraj2006:mainfrom
harsh12314:main
Open

add cutomer,farmer,distributor,retailer dashboards#132
harsh12314 wants to merge 1 commit into
aditiraj2006:mainfrom
harsh12314:main

Conversation

@harsh12314
Copy link
Copy Markdown

I updated the landing page so the "Get Started" button takes users directly to the new Role Selection page. When a role is clicked, the app saves this choice and opens that specific dashboard (Farmer, Distributor, Retailer, or Consumer) instantly.

For strict security, we disabled dynamic role switching within the dashboard header—users now strictly see only their assigned dashboard. Finally, we added a smart data fallback so you can fully explore, register, and test every dashboard with realistic preloaded farming data, even if your database is down.

Copy link
Copy Markdown
Owner

@aditiraj2006 aditiraj2006 left a comment

Choose a reason for hiding this comment

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

thanks for the dashboards work. I like the role-focused UI, but I don't want separate pages per role merged. Please update the PR to keep a single dashboard page and convert the new pages into role-specific components that the existing dashboard renders.And also keep everything functional

@Karanjot786
Copy link
Copy Markdown

Hey @harsh12314! Saw your work on GSSoC 2026.

We are building TermUI, a TypeScript terminal UI framework with React-style hooks and JSX, rendered entirely in the terminal.

We have 99 unassigned GSSoC issues open across widgets, hooks, adapters, and CLI tooling. Your TypeScript background transfers directly.

Karanjot, TermUI maintainer

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants