Invite cards and the accept modal: pictures, error modals, adults-only notice #632

Open
opened 2026-11-15 12:00:30 +00:00 by charles · 0 comments
Owner

Found while writing the daily-use parity list (Daily use 40, #532), from the deviations of Daily use 34a (#523, PR #562), on origin/dailyuse c7601011.

The invite card (widgets/message_content/invite.rs) and the accept modal (screens/main/modals/invite_accept.rs) differ from the original (feat/channel/components/InviteEmbed.tsx, feat/invite/components/modals/InviteAcceptModal.tsx, feat/auth/flow/InviteHeader.tsx):

  1. No pictures: guild icons are acronyms, the group-DM inviter shows the default avatar, no splash behind the card or the modal, no guild badge.
  2. The card has no context menu.
  3. The dedicated error modals (invites disabled, community at capacity, max communities, feature disabled) are drawn as the generic alert with the core's title and text.
  4. "This community is for adults only." only shows as the error of GUILD_VISIT_AGE_RESTRICTED, because the invite's guild carries no nsfw field in fluxer_proto's InviteGuild (check S/invite/InviteSchemas.ts for the flag).

Steps: devserver dailyuse scenario, open #general, look at the invite card under the message with the valid code; click its link text.

Found while writing the daily-use parity list (Daily use 40, #532), from the deviations of Daily use 34a (#523, PR #562), on origin/dailyuse c7601011. The invite card (`widgets/message_content/invite.rs`) and the accept modal (`screens/main/modals/invite_accept.rs`) differ from the original (`feat/channel/components/InviteEmbed.tsx`, `feat/invite/components/modals/InviteAcceptModal.tsx`, `feat/auth/flow/InviteHeader.tsx`): 1. No pictures: guild icons are acronyms, the group-DM inviter shows the default avatar, no splash behind the card or the modal, no guild badge. 2. The card has no context menu. 3. The dedicated error modals (invites disabled, community at capacity, max communities, feature disabled) are drawn as the generic alert with the core's title and text. 4. "This community is for adults only." only shows as the error of `GUILD_VISIT_AGE_RESTRICTED`, because the invite's guild carries no `nsfw` field in `fluxer_proto`'s `InviteGuild` (check `S/invite/InviteSchemas.ts` for the flag). Steps: devserver `dailyuse` scenario, open #general, look at the invite card under the message with the valid code; click its link text.
charles added this to the Daily use milestone 2026-11-15 12:00:30 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#632
No description provided.