Repository navigation
feat(invitation): let a guest who is coming invite someone from the card - #238
Merged
Merged
Conversation
An open invitation gains relay. Following decision D2, it starts on when the event has no capacity and off when the host set one; the settings change it, and null keeps the choice. Existing invitations follow the same rule. The public view says whether to offer "Invite someone", and never on a card that takes no answers. A relayed link counts under its own network, relay. Refs: JIKU-285
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
JIKU-285, server side. Guests who say yes can pass the card on to a relative the host forgot, which turns every guest into a relay. Following decision D2, this is on by default when places are unlimited and off when the host set a capacity. The host can change it. The screen comes in the matching web PR.
Changes
OpenInvitation.relay, with migrationV106__open_invitation_relay.sql.relay = remainingAttendance == null.event.max_capacity.OpenInvitationSettingsRequest.relaysets the choice;nullkeeps it. The organizer view returns it.PublicOpenInvitationView.relayis true only when relay is on and the card takes answers. A closed or full card never offers it.CardSourcegainsRELAY("relay"), so relayed links count under their own line in the funnel (JIKU-282).openapi/openapi.jsonis regenerated.Behaviour a client will notice
Additive fields only.
Tests
OpenInvitationFlowTest:CardFunnelTest,ModularityTestsandktlintCheckpass.Refs: JIKU-285