Skip to content

[WIP] feat: add invite code field on registration page#28

Draft
martinkaintas wants to merge 1 commit intodevelopfrom
feature/add_invite_code_field_on_registration
Draft

[WIP] feat: add invite code field on registration page#28
martinkaintas wants to merge 1 commit intodevelopfrom
feature/add_invite_code_field_on_registration

Conversation

@martinkaintas
Copy link
Copy Markdown

@martinkaintas martinkaintas commented Jan 4, 2024

This PR adds a invite code field in the registration page of Element. It also takes values from query params for the invite code
e.g. https://chat.superhero.chat/#/register?invite=ak_123

The logic should be extended to call the affiliations contract to bind the matrix username with the invite code once this is implemented.


This change is marked as an internal change (Task), so will not be included in the changelog.

@martinkaintas martinkaintas self-assigned this Jan 4, 2024
@martinkaintas martinkaintas force-pushed the feature/add_invite_code_field_on_registration branch from 5b2c425 to 6283e7a Compare January 4, 2024 14:27
@ifaouibadi ifaouibadi added the T-Task Task (compatible with vectorim/element-web) label Jan 15, 2024
@ifaouibadi ifaouibadi marked this pull request as draft January 15, 2024 11:22
@martinkaintas martinkaintas force-pushed the feature/add_invite_code_field_on_registration branch 3 times, most recently from 6069f1d to 6652a03 Compare January 23, 2024 12:46
@martinkaintas martinkaintas force-pushed the feature/add_invite_code_field_on_registration branch from 6652a03 to 78b9bd2 Compare January 24, 2024 14:04
"map_style_url": "https://api.maptiler.com/maps/streets/style.json?key=fU3vlMsMn4Jb6dnEIFsx",
"community_bot_user_id": "@communitybot:superhero.com"
"community_bot_user_id": "@communitybot:superhero.com",
"affiliation_registration_endpoint": "https://matrix.superhero.com/ae-wallet-bot/register/"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This key is the same as "bots_backend_url" but the route path differs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-Task Task (compatible with vectorim/element-web)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants