Skip to content

Redesign dashboard with a modern user experience#11

Merged
nitinmohan18 merged 1 commit into
mainfrom
feature/dashboard-redesign
Jun 27, 2026
Merged

Redesign dashboard with a modern user experience#11
nitinmohan18 merged 1 commit into
mainfrom
feature/dashboard-redesign

Conversation

@nitinmohan18

@nitinmohan18 nitinmohan18 commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator

Pull Request

Summary

Provide a brief description of your changes.


Related Issue

Closes #


Type of Change

  • Feature
  • Bug Fix
  • Documentation
  • Refactor
  • Performance Improvement
  • CI / Build
  • Other

What Changed?

Briefly describe the key changes made in this Pull Request.


Screenshots (UI Changes Only)

If this PR includes UI changes, attach screenshots or recordings.


Testing

Describe how you tested your changes.


Checklist

Before requesting a review, confirm the following:

  • My branch is up to date with the latest main.
  • My code follows the project's coding standards.
  • I have formatted the modified files (npx prettier --write <file>).
  • npm run format:check passes.
  • npm run lint passes.
  • npm run typecheck passes.
  • npm run build passes.
  • I have updated documentation if required.
  • I have tested my changes locally.
  • This Pull Request focuses on a single feature or fix.

Additional Notes

Add any additional context for reviewers if needed.

Summary by CodeRabbit

  • New Features
    • Added a full student dashboard experience in place of the previous placeholder page.
    • Included a welcome hero, quick action shortcuts, and a “Continue Learning” section with history access.
    • Added navigation links to semester-specific learning areas and related routes.

@vercel

vercel Bot commented Jun 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hyper-learning-tech Ready Ready Preview, Comment Jun 27, 2026 7:14am

@coderabbitai

coderabbitai Bot commented Jun 27, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

app/dashboard/page.tsx now exports a student dashboard page with a welcome hero, four quick-action links, and a continue-learning section with history navigation and two linked activity cards.

Changes

Student Dashboard Page

Layer / File(s) Summary
Hero and imports
app/dashboard/page.tsx
Link and Lucide icons are imported, and the page renders the student dashboard welcome hero.
Quick Actions
app/dashboard/page.tsx
A responsive grid of four linked action cards is added under the quick actions section.
Continue Learning
app/dashboard/page.tsx
The continue learning section adds a history link and two linked activity cards with course details and resume actions.

Estimated review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 I hopped through the dashboard bright and new,
With links and cards and icons too.
A hero greets the learning trail,
While study steps and history sail.
Thump-thump, the rabbit smiles today!

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: a dashboard redesign with a modern UI experience.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/dashboard-redesign

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@app/dashboard/page.tsx`:
- Around line 67-68: The dashboard CTAs are all using the same /rgpv
destination, so each action needs a distinct target instead of reusing the same
Link href. Update the Link destinations in the dashboard page for the CTA blocks
around the View Syllabus, Explore PYQs, AI Assistant, and View all history
actions so they point to their task-specific routes, using the existing Link
components in the page to locate each one.
- Around line 159-162: The placeholder activity cards in the dashboard are using
hard-coded relative timestamps that will quickly become stale. Update the JSX in
the dashboard page component to remove the fixed “2 hours ago” and “Yesterday”
strings from the activity card placeholders, and either bind them to real
activity data from the history feed or replace them with neutral placeholder
copy until the feed is available. Use the existing dashboard content blocks
around the activity card rendering to keep the change localized.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: f8bf4b43-e46d-4fd2-9c36-e78e25737af0

📥 Commits

Reviewing files that changed from the base of the PR and between 719a274 and 98700a1.

📒 Files selected for processing (1)
  • app/dashboard/page.tsx

Comment thread app/dashboard/page.tsx
Comment on lines +67 to +68
<Link
href="/rgpv"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Point each CTA at its own destination.

These links all resolve to /rgpv, so “View Syllabus”, “Explore PYQs”, “AI Assistant”, and “View all history” cannot land users in different task-specific views. That makes the dashboard’s primary actions misleading.

Also applies to: 86-87, 105-106, 131-132

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@app/dashboard/page.tsx` around lines 67 - 68, The dashboard CTAs are all
using the same /rgpv destination, so each action needs a distinct target instead
of reusing the same Link href. Update the Link destinations in the dashboard
page for the CTA blocks around the View Syllabus, Explore PYQs, AI Assistant,
and View all history actions so they point to their task-specific routes, using
the existing Link components in the page to locate each one.

Comment thread app/dashboard/page.tsx
Comment on lines +159 to +162
<div className="flex w-fit items-center gap-1.5 rounded-md bg-muted/50 px-2.5 py-1 text-xs text-muted-foreground self-start">
<Clock className="h-3.5 w-3.5" />
<span>2 hours ago</span>
</div>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Avoid hard-coded relative timestamps in placeholder activity cards.

“2 hours ago” and “Yesterday” start drifting as soon as this page ships. Use real activity data here, or switch to neutral placeholder copy until the history feed is wired up.

Also applies to: 195-197

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@app/dashboard/page.tsx` around lines 159 - 162, The placeholder activity
cards in the dashboard are using hard-coded relative timestamps that will
quickly become stale. Update the JSX in the dashboard page component to remove
the fixed “2 hours ago” and “Yesterday” strings from the activity card
placeholders, and either bind them to real activity data from the history feed
or replace them with neutral placeholder copy until the feed is available. Use
the existing dashboard content blocks around the activity card rendering to keep
the change localized.

@nitinmohan18 nitinmohan18 merged commit 5c15ec4 into main Jun 27, 2026
3 checks passed
@github-actions

Copy link
Copy Markdown

🎉 Congratulations @nitinmohan18!

Thank you for contributing to HyperLearningTech.

Your pull request has been successfully merged into main.

📦 Merge Summary

🚀 Keep Contributing

  • Follow the CONTRIBUTING.md guidelines.
  • Keep each Pull Request focused on a single feature or fix.
  • Run formatting, linting, type checking, and a production build before opening a PR.

Thank you for helping make HyperLearningTech better.

Happy Coding! 🚀

@nitinmohan18 nitinmohan18 deleted the feature/dashboard-redesign branch June 27, 2026 07:18

@imuniqueshiv imuniqueshiv left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Looks good.

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.

2 participants