Remove in-product pricing modal (#31187)

* Remove pricing modal. Adjust everywhere to instead open mattermost.com/pricing. When air gapped, don't show buttons to view plans.

* Fix lint

* Further clean up of unused code. Fixes for linter

* fixes for PR feedback

* useExternalLink for opening pricing modal with enriched params

* Fix i17n

* Fix style, tests
Этот коммит содержится в:
Nick Misasi
2025-06-02 14:08:57 -04:00
коммит произвёл GitHub
родитель 6484ae25b7
Коммит 0cacee570a
54 изменённых файлов: 434 добавлений и 2603 удалений

Просмотреть файл

@@ -4004,12 +4004,6 @@ export default class Client4 {
);
};
getSelfHostedProducts = () => {
return this.doFetch<Product[]>(
`${this.getCloudRoute()}/products/selfhosted`, {method: 'get'},
);
};
subscribeToNewsletter = (newletterRequestBody: NewsletterRequestBody) => {
return this.doFetch<StatusOK>(
`${this.getHostedCustomerRoute()}/subscribe-newsletter`,