Disable the Mattermost Enterprise trial upsell modal #13

Merged
mohlec merged 1 commit from fix/disable-trial-upsell-modal into slash/main 2026-07-10 16:15:54 +00:00
Owner

ncwadmin got the 'start a trial, enter your email' prompt today. Not a regression -- this was never actually addressed before (Phase 3's license-gate removals unlocked features, not this separate promotional flow).

Root cause: show_start_trial_modal.tsx auto-opens once an instance crosses 10 non-bot users + 6hrs uptime, if unlicensed. Confirmed via live DB: 13 non-bot users (crossed 10 with the June 2 tech-onboarding batch); trial_modal_auto_shown is now true for both System Admins (ncwadmin, tyler).

Disabled the component outright -- the entire request-a-trial-license-from-Mattermost flow is irrelevant to this fork. Test rewritten to match.

ncwadmin got the 'start a trial, enter your email' prompt today. Not a regression -- this was never actually addressed before (Phase 3's license-gate removals unlocked features, not this separate promotional flow). Root cause: show_start_trial_modal.tsx auto-opens once an instance crosses 10 non-bot users + 6hrs uptime, if unlicensed. Confirmed via live DB: 13 non-bot users (crossed 10 with the June 2 tech-onboarding batch); trial_modal_auto_shown is now true for both System Admins (ncwadmin, tyler). Disabled the component outright -- the entire request-a-trial-license-from-Mattermost flow is irrelevant to this fork. Test rewritten to match.
Disable the Mattermost Enterprise trial upsell modal
All checks were successful
Build Slash Webapp / branding-audit (pull_request) Successful in 35s
Build Slash Webapp / build-webapp (pull_request) Has been skipped
39dad472b6
ncwadmin got prompted to 'start a trial and enter your email' on
login today. Root cause (not a regression -- this was never actually
addressed before): show_start_trial_modal.tsx auto-opens a request-a-
trial-license modal for system admins once an instance crosses 10
non-bot users AND 6 hours of uptime, if unlicensed and never
previously trial-licensed. Confirmed via the live DB: total non-bot
user count is 13 (crossed 10 with the June 2 batch of 5 techs); the
'trial_modal_auto_shown' preference is set true for both ncwadmin and
tyler (the two System Admins), meaning it has now fired for both.

Phase 3's license-gate removals unlocked *features* -- this is a
separate, purely promotional flow (request an Enterprise trial license
from Mattermost's own servers), irrelevant to a self-hosted internal
fork that will never use official Mattermost Enterprise licensing.

Disabled the component outright (returns null, no hooks/effects)
rather than reworking the trigger condition, since the entire flow
doesn't apply. Test rewritten to match -- the old test exercised the
auto-open behavior via mocked hooks/dispatch that no longer exist.
mohlec merged commit 8e6d928759 into slash/main 2026-07-10 16:15:54 +00:00
mohlec deleted branch fix/disable-trial-upsell-modal 2026-07-10 16:15:55 +00:00
Sign in to join this conversation.
No reviewers
No labels
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
slash/slash-server!13
No description provided.