Skip to content

Feat/build signup flow#22

Merged
AAdewunmi merged 12 commits into
mainfrom
feat/build-signup-flow
May 6, 2026
Merged

Feat/build signup flow#22
AAdewunmi merged 12 commits into
mainfrom
feat/build-signup-flow

Conversation

@AAdewunmi

Copy link
Copy Markdown
Owner

Summary

Builds and aligns the StudyBuddy signup flow with the current custom user model and Athenify-inspired UI system.

Changes

  • Added the active signup workflow through UserSignUpForm.
  • Updated signup view handling to create and authenticate new users.
  • Refactored templates/users/signup.html to match the current design system.
  • Added shared form error styling.
  • Updated auth view tests for signup, login, duplicate email handling, and profile access.

Behavior

  • Visitors can create a StudyBuddy account from the signup page.
  • Signup creates a valid custom user using email-first authentication.
  • Username is optional and is generated from the email when omitted.
  • Duplicate emails are rejected.
  • Successful signup logs the user in and redirects to the dashboard.

Why

Signup is the first real user entry point, so it needs to be consistent with the custom user model, authentication flow, and current product UI.

Validation

  • docker compose exec -T web python manage.py makemigrations --merge
  • docker compose exec -T web python manage.py migrate --noinput
  • docker compose exec -T web python -m black . --check
  • docker compose exec -T web python -m ruff check .
  • docker compose exec -T web pytest -q

Result

All checks pass. Test suite result: 32 passed.

Notes

The Docker image was rebuilt because this Compose setup copies source into the image rather than mounting the local workspace live.

@codecov

codecov Bot commented May 6, 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 6333c7f into main May 6, 2026
2 checks passed
@AAdewunmi AAdewunmi deleted the feat/build-signup-flow branch May 6, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

Build signup flow

1 participant