Skip to content

Add signup functionality and enhance homeserver connection handling#60

Merged
mjkatgithub merged 3 commits intodevelopfrom
feature/simple-signup-page
Apr 19, 2026
Merged

Add signup functionality and enhance homeserver connection handling#60
mjkatgithub merged 3 commits intodevelopfrom
feature/simple-signup-page

Conversation

@mjkatgithub
Copy link
Copy Markdown
Owner

@mjkatgithub mjkatgithub commented Apr 19, 2026

Summary

  • Add a dedicated signup page and wire up Matrix registration (useMatrixClient.register).
  • Improve homeserver URL handling (normalize/upgrade http→https for public hosts) and show a clear connection/CORS hint on failures.
  • Enhance login UX with a post-signup success banner and consistent auth form layout.

Related Issue

Closes #52

Branch Flow

  • Source branch: feature/simple-signup-page
  • Target branch: develop

Scope of Changes

  • Code changes are limited to the issue scope
  • No unrelated refactors are included

Validation

Local checks

  • Unit tests pass
  • Integration tests pass (if relevant)
  • E2E smoke passes (if relevant)

Manual test

  • Happy path verified (signup → login → chat)
  • Edge cases verified (homeserver unreachable / CORS / signup disabled / email verification required)

Risk and Rollback

  • Risk level: [x] Low [ ] Medium [ ] High
  • Rollback plan:
    • Revert this PR
    • Disable affected feature path if needed

Checklist

  • Issue is linked and updated
  • Acceptance criteria are met
  • Test checklist in the issue is completed
  • No secrets or credentials are included

- Introduce a new signup page with form fields for email, homeserver, username, and password.
- Implement registration logic in the `useMatrixClient` composable, handling email verification and signup availability errors.
- Update the landing page and login page to include navigation to the signup page.
- Add translations for new authentication messages in English and German.
- Create E2E tests for signup scenarios, ensuring proper navigation and form visibility.
- Add unit tests for the signup page to validate registration flow and error handling.
- Introduce a new connection hint message for users when homeserver access fails, providing guidance on using HTTPS for public servers.
- Update `useMatrixClient` to normalize homeserver URLs, ensuring HTTP to HTTPS upgrades for public hostnames to prevent CORS issues.
- Modify login and signup error handling to display the new connection hint message when relevant errors occur.
- Add unit tests to verify the new homeserver URL normalization and error handling logic.
- Update translations for the new connection hint message in English and German.
- Added MVP signup page with Matrix registration and user-facing error feedback.
- Implemented a post-signup success banner on the login page.
- Normalized homeserver base URL to upgrade public HTTP to HTTPS, preventing CORS failures in the browser.
@mjkatgithub mjkatgithub merged commit 8a33fb3 into develop Apr 19, 2026
5 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Decentra Apr 19, 2026
@mjkatgithub mjkatgithub deleted the feature/simple-signup-page branch April 23, 2026 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Feature: Add simple sign-up page

1 participant