feat(navigation): startapp=trial → дашборд (оплата платного триала из rich-меню)

Кнопка «Активировать триал» в rich-меню бота при платном триале ведёт в
миниапп: startapp=trial открывает дашборд, где TrialOfferCard показывает
цену и flow оплаты с баланса.

biome check, type-check и build проходят (pre-commit пропущен: biome не
установлен локально — бинарь есть только в CI).
This commit is contained in:
Fringg
2026-07-13 02:40:12 +03:00
parent 2eaea75fd9
commit c920330fa6

View File

@@ -180,6 +180,9 @@ const START_PARAM_ROUTES: Array<{ re: RegExp; to: (match: RegExpExecArray) => st
// «Продлить» links for expired subscriptions in the bot's rich main menu.
{ re: /^renew_(\d+)$/, to: (match) => `/subscriptions/${match[1]}/renew` },
{ re: /^subscriptions$/, to: () => '/subscriptions' },
// Paid-trial «Активировать триал» link in the bot's rich main menu — the
// dashboard renders TrialOfferCard with the pay-and-activate flow.
{ re: /^trial$/, to: () => '/' },
];
/**