Flash-Fathom-AI icon indicating copy to clipboard operation
Flash-Fathom-AI copied to clipboard

Improve the UI of the /generate Page Dashboard

Open Suraj-kumar00 opened this issue 1 year ago • 2 comments

Improve the UI of the /generate Page Dashboard

Is your feature request related to a problem? The current /generate page (src/app/(dashboard)/generate/page.tsx) is a minimal wrapper that only renders the <Flashcard /> component. The UI feels unpolished compared to the rest of the app and could be more user-friendly and visually consistent.

What Needs to Be Done

  1. Redesign the /generate page with a cleaner, more intuitive layout
  2. Add a header/title section with description of the feature
  3. Improve the flashcard generation form with better spacing and visual hierarchy
  4. Add generation history or recent topics section
  5. Show the user's remaining generation quota (Free=10, Basic=500, Pro=2000, Org=10000/month)
  6. Improve responsiveness across screen sizes
  7. Keep the existing color theme and dark/light mode support

Key Files

  • src/app/(dashboard)/generate/page.tsx — Page wrapper (currently ~10 lines)
  • src/components/core/flash-card.tsx — Flashcard display component
  • src/components/flashcards/FlashcardGenerator.tsx — Generation form
  • src/components/flashcards/FlashcardSaveDialog.tsx — Save dialog

Important Constraints

  • All existing functionality must remain intact
  • Maintain dark mode support (bg-slate-50 dark:bg-black theme)
  • Use shadcn/ui components for consistency
  • Follow the existing Tailwind CSS patterns

Live Reference 👉 https://flash-fathom-ai.vercel.app/generate

Acceptance Criteria

  • [ ] Cleaner, more modern layout for the generate page
  • [ ] Generation quota display based on subscription plan
  • [ ] Responsive design (mobile, tablet, desktop)
  • [ ] Dark/light mode fully supported
  • [ ] No functionality regression

Suraj-kumar00 avatar Aug 28 '25 17:08 Suraj-kumar00

@Suraj-kumar00 can you assign this to me i would love to solve the issue

koppadipranaykumar avatar Sep 02 '25 10:09 koppadipranaykumar

Hi! I am a GSSoC’25 contributor. Could you please assign this issue to me? I would like to work on it. Thank you!

AadityaBansal01 avatar Oct 16 '25 04:10 AadityaBansal01