Skip to content

Feat/create protected dashboard shell#28

Merged
AAdewunmi merged 5 commits into
mainfrom
feat/create-protected-dashboard-shell
May 7, 2026
Merged

Feat/create protected dashboard shell#28
AAdewunmi merged 5 commits into
mainfrom
feat/create-protected-dashboard-shell

Conversation

@AAdewunmi

Copy link
Copy Markdown
Owner

Summary

Create the authenticated dashboard shell as the first post-login product surface for StudyBuddy.

Changes

  • Added protected dashboard routing at /dashboard/.
  • Added dashboard app wiring with dashboard:index.
  • Rendered the dashboard through templates/dashboard/index.html.
  • Connected signup and login redirects to the dashboard.
  • Added a StudyBuddy-aligned dashboard layout using the current base template and theme system.
  • Displayed placeholder study metrics, empty session state, account access, and role-aware messaging.

Behavior

  • Anonymous users are redirected to login before accessing the dashboard.
  • Authenticated users land on /dashboard/ after signup or login.
  • Dashboard displays a credible Sprint 1 product shell before Sprint 2 adds study-session data.
  • Existing navigation and footer remain consistent across templates.

Why

This gives users a real post-login destination and establishes the protected product surface that future study sessions, notes, goals, and progress metrics can build on.

Validation

  • Django system check passed.
  • Black passed.
  • Ruff passed.
  • Focused auth/view tests passed.
  • Full test suite passed.

Result

The authentication journey now resolves into a protected dashboard shell that is aligned with the current StudyBuddy design system and ready for Sprint 2 product data.

Notes

  • The dashboard is intentionally a shell for Sprint 1.
  • Study-session creation, real metrics, notes, and progress data are deferred to Sprint 2.
  • The dashboard uses the existing theme.css design system rather than introducing a separate Bootstrap-only layout.
  • Role display is wired through studybuddy_roles, matching the current role model relationship.
  • No inactive “Add Session” route is exposed until the study-session workflow exists.

@codecov

codecov Bot commented May 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@AAdewunmi AAdewunmi merged commit 135d38d into main May 7, 2026
2 checks passed
@AAdewunmi AAdewunmi deleted the feat/create-protected-dashboard-shell branch May 7, 2026 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sprint-1-dashboard-frontend-authentication Create protected dashboard shell

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

Create protected dashboard shell

1 participant