Skip to content

fix: count down the rate limit wait on the guest link renew page - #4387

Merged
AlexAndBear merged 1 commit into
mainfrom
fix/guest-renew-rate-limit-countdown
Nov 10, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
fix/guest-renew-rate-limit-countdown

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Description

When too many new invitations were requested, the renew page now counts down the wait and keeps "Try again" disabled until it has passed, so an early retry no longer just hits the limit again.

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest), browser tests (Playwright) against a local OpenCloud
  • test case 1: unit: the wait time counts down, the button stays disabled until retryAt (also in the last second) and the countdown stops when another tab renewed the link
  • test case 2: browser: real 429 from the backend counts down to "in 1 second", then "try again later" with an enabled button, and the retry sends a new invitation (desktop, Pixel 7, German)
  • test case 3: browser: session expiry toast PIN rate limit and the other renew page errors unchanged

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@AlexAndBear AlexAndBear self-assigned this Nov 9, 2026
@AlexAndBear
AlexAndBear requested a review from kulmann November 9, 2026 16:52
@AlexAndBear
AlexAndBear merged commit 57a461e into main Nov 10, 2026
29 checks passed
@AlexAndBear
AlexAndBear deleted the fix/guest-renew-rate-limit-countdown branch November 10, 2026 13:33
@openclouders openclouders mentioned this pull request Nov 10, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Guests] The rate-limit message on the renew page doesn't count down and Try again stays enabled

2 participants