shoc-frontend-new/src/domain/team-member-invite
Alexandre Brandizzi 3b7cf83332 fix(team-members): offer a retry when the invite cannot be checked
The invite page showed "invalid or has expired, ask your admin for a new
invite" for any failed resolve call, including offline, timeouts and 5xx.
A member on a flaky connection was sent to their admin for a resend, which
revokes a token that was still valid.

Only the server's invalid_invite answer now ends on "Invite unavailable".
Any other failure shows "Couldn't load your invite" with a Try again
button that re-runs resolve, without a global error toast. Regression
tests cover a network rejection and a 500 followed by a successful retry.
2026-09-25 17:45:08 -03:00
..
api fix(team-members): cover mid-wizard invite loss and accept empty invite responses 2026-09-25 12:33:37 -03:00
schemas feat(team-members): invite registration wizard and resend invite (SH-385) 2026-09-25 12:26:42 -03:00
types fix(team-members): offer a retry when the invite cannot be checked 2026-09-25 17:45:08 -03:00
use-cases feat(team-members): invite registration wizard and resend invite (SH-385) 2026-09-25 12:26:42 -03:00