Improve UX with auto-renewing licenses.
Review Request #15023 — Created April 30, 2026 and updated — Latest diff uploaded
When a license is set to auto-renew, especially on a month-to-month
basis, the experience with the banner and the licenses page was sub-par.
The banner would always appear saying that the license was expiring soon
(since it was < 30 days away), and the licenses page would show that the
license is "expiring on" rather than the license is "renewing on".This change makes it so we track the auto-renew state (provided during
license checks). In the case that a license is set to auto-renew, we
hide the banner (up to 3 days past the soft expiration date) and change
the text shown in the licenses page.
- Ran unit tests.
- Ran JS tests.
- Set a license to auto-renew monthly. Verified that the banner was not
shown and the licenses page showed "renews ..." - Set up an auto-renew license with an expiration date 5 days past. Saw
that the banner was correctly shown and the licenses page showed that
the license(s) were expired. - Set up a month-to-month license and turned off auto-renew. Saw that
the banner was shown and the licenses page showed "expires ..."