Граф коммитов

3635 Коммитов

Автор SHA1 Сообщение Дата
Scott Bishel
4fbc96ec02 add WARN to log constants (#26868)
* add WARN to log constants

* i18n-extract

* i18n-extract
2024-05-14 08:39:41 -06:00
Matthew Birtch
e35d962525 fix for onboarding (#26996)
Automatic Merge
2024-05-14 16:04:39 +03:00
Harrison Healey
83bc92a80c Remove t and localizeMessage from components/activity_log_modal (#26987)
* Remove t from components/activity_log_modal

* Remove localizeMessage from components/activity_log_modal

I wanted to do more to simplify the various values we pass around for
icon, title, and text so that we'd just pass around a single "type"
value, but since this logic is weird, I gave up on that to focus on
localizeMessage and t.
2024-05-13 13:51:16 -04:00
Weblate (bot)
838d5cd27d Translations update from Mattermost Weblate (#26995)
* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (2503 of 2503 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/ja/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (5766 of 5766 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/ja/

* Translated using Weblate (Polish)

Currently translated at 100.0% (2503 of 2503 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/pl/

---------

Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
2024-05-13 12:47:24 +00:00
Weblate (bot)
daf84488cc Translations update from Mattermost Weblate (#26960)
* Translated using Weblate (Russian)

Currently translated at 100.0% (2520 of 2520 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/ru/

* Translated using Weblate (Russian)

Currently translated at 98.3% (5726 of 5825 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/ru/

* Translated using Weblate (English (Australia))

Currently translated at 100.0% (2520 of 2520 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/en_AU/

* Translated using Weblate (Swedish)

Currently translated at 100.0% (2520 of 2520 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/sv/

* Translated using Weblate (English (Australia))

Currently translated at 100.0% (5825 of 5825 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/en_AU/

* Translated using Weblate (Dutch)

Currently translated at 100.0% (2520 of 2520 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/nl/

* Translated using Weblate (Dutch)

Currently translated at 99.9% (5822 of 5825 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nl/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (2520 of 2520 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/ja/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (5825 of 5825 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/ja/

* Translated using Weblate (German)

Currently translated at 100.0% (2520 of 2520 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/de/

* Translated using Weblate (Polish)

Currently translated at 100.0% (2520 of 2520 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/pl/

* Translated using Weblate (German)

Currently translated at 100.0% (5825 of 5825 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/de/

* Translated using Weblate (Polish)

Currently translated at 100.0% (5825 of 5825 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/pl/

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/

---------

Co-authored-by: Konstantin <eleferen@gmail.com>
Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
2024-05-10 09:53:25 -03:00
Daniel Espino García
bd1a0a123d Fix test for invite modal error (#26948)
* Fix test for invite modal error

* Update copy in tests

* Update copy
2024-05-10 09:20:30 +02:00
Ibrahim Serdar Acikgoz
f0121d4f23 Change client metrics api path to client_perf (#26985) 2024-05-09 22:19:08 +02:00
Asaad Mahmood
6c674c7331 MM-57548 - Fixing announcement banner icon (#26921)
* MM-57548 - Fixing announcement banner icon

https://mattermost.atlassian.net/browse/MM-57548

* removing alert icon
2024-05-10 00:47:45 +05:00
Harrison Healey
099f704d4f MM-57881 Add metric for the amount of time it takes for the RHS to load a thread (#26970)
* Assure most code dispatches selectPost to open RHS to a thread

* Add measurement of the time it takes to open the RHS

* Reduce unnecessary re-rendering of RhsThread

* Never use Jest's fake timers for the performance API

* Make constants for performance marks and measures

* Add missed constants
2024-05-09 13:30:36 -04:00
Harrison Healey
de3c7ad544 MM-57878 Add PerformanceReporter for clientside performance metrics (#26800)
* Define rough code for PerformanceReporter

* Create a component to manage the PerformanceReporter

* Start adding tests for PerformanceReporter

* Add test for web vitals reporting

* Update schema to more closely match the API spec

* Collect marks as counters and further update structure of API payload

* Add some outstanding TODOs about the API structure

* Add counter for long tasks

* Add EnableClientMetrics without any System Console UI

* Have PerformanceReporter use EnableClientMetrics

* Have the PerformanceReporter only report results when logged in

* Add test for having PerformanceReporter fall back to fetch

* Stop logging errors for measurements failing

* Remove buffered from observer

* Remove the Mystery Ampersand

* Still record marks with telemetry actions even if telemetry is disabled

* Add timestamps to performance reports

* Reuse the new telemetry code for the old telemetry

* The second half of the last commit

* Use Node performance libraries in all tests

* Set version of PerformanceReport

* Switch to the proper version of EnableClientMetrics

* Remove TODO for unneeded field

* Add user agent and platform detection

* Updated metrics API route
2024-05-09 12:50:52 -04:00
Devin Binnie
d6a8ad0d55 [MM-58159] Add admin setting for notification monitoring alongside feature flag (#26979)
* [MM-58159] Add admin setting for notification monitoring alongside feature flag

* Use helper function
2024-05-09 11:30:42 -04:00
Ben Cooke
f111db5fe8 [MM-56902] Minor selector improvements (#26372)
* minor selector improvements
2024-05-08 16:53:49 -04:00
Claudio Costa
5d4ad44bfe [MM-58002] Review start call button functionality in profile popover (#26867)
* Review start call button functionality in profile popover

* Address feedback

* Use published @mattermost/calls-common package

* Fix import

* Lint fix
2024-05-08 13:47:36 -06:00
Matthew Birtch
8fa6757949 MM-56975 UI Incremental Refinements (#26407)
* updated styles to include rounded corners and updated backgrounds/containers

* updated snapshots

* removed background from app bar top

* removed top padding from lhs

* updated name of container to better match the grid name in css

* fixed lint issue with css

* update snapshot

* adjusted padding/margin

* use radius variables

* remove margin and border radius from plabooks for now

* fixed tasklist

* minor tweaks to menus

* add global border variables and use in key places

* fixed grid issues with login page and backstage

* use border variable

* adjust padding in global header

* fixed type issues

* tweaks to spacing

* fixed margin issue on backstage

* fixed padding on global header

* minor tweaks to header and apps bar

* removed background from apps bar

* updates to header and app bar and team icon

* updated more borders and radii to use variables

* fixed style lint issue

* adjust letter spacing on category labels

* fix lint issue

* fixed position of popover

* address UX feedback
2024-05-08 17:28:38 +02:00
Daniel Espino García
f00efe58fd Fix system console defaults (#26947)
* Fix system console defaults

* Fix tests
2024-05-08 12:23:40 +02:00
Harrison Healey
0640985cb7 MM-52570 Prevent pasteHandler from having any effect when shift is held (#26953) 2024-05-07 15:08:38 -04:00
Nick Misasi
5d4e92b6c5 [CLD-7549] Expose System Console UI for ExperimentalAuditSettings (#26840)
* Expose experimental audit log settings to sys console

* Add the rest of the config

* Add check for enterprise sku

* Update string to include a note about being required given another setting

* gofmt

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-05-07 13:36:07 -04:00
M-ZubairAhmed
4135ff1317 [MM-57884] Layout issues with initial tool selection and invite screens in workspace (#26932) 2024-05-07 08:52:46 +00:00
Jesús Espino
708d046c1b Adding more visibility to the free edition in the interface (#26698)
* Initial version of make more evident the mattermost edition used

* Updating tests

* Adding i18n strings

* Fixing css property order

* tweaks to badge and use proper MM logo svg

* update snapshot

* update language, tweaks to menu trial block

* fix style lint issue

* tweak letter-spacing

* fix lint

* update language

* Removing trial related info from the main menu, and simplifying showing the license

* Applying proposed changes

* Fixing linter errors

* Fixing tests

* Updating i18n strings

* fixing some styles and a bug

* Fix linter error

* updated login css and fixed lint issue

* Moving to styled components the Free edition badge

* Fixing linter error

* Addressing PR review comments

* Removing old snapshot

* Addressing PR review comments

* Fixing linter errors

---------

Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
2024-05-06 19:19:10 +02:00
Harrison Healey
0a3a55bb80 MM-58092 Add feature flag and setting for client performance metrics (#26942)
* MM-58092 Add feature flag and setting for client performance metrics

* Fix incorrect field name
2024-05-06 09:46:16 -04:00
Umar Abid
a1ed780a86 [MM-55327]: Convert /components/permissions_gates/team_permission_gate/team_permission_gate.tsx from Class Component to Function Component (#25395)
* fix: convert to func component

* fix: update failing test snapshots

* Handle tests better

* Standarize all gates

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Daniel Espino García <larkox@gmail.com>
2024-05-06 12:06:24 +02:00
MeHow25
204485e541 [MM-57717] Convert SubMenuModal from Class Component to Function Component (#26902)
* Convert SubMenuModal from Class Component to Function Component

* Style fixes

* Review fixes

* Review fix

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-05-06 12:05:06 +02:00
Daniel Espino García
539daee634 Fix types so the store can return undefined channels (#26393)
* Fix types so the store can return undefined channels

* Address feedback

* Revert gm change

* Fix lint

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-05-06 12:04:36 +02:00
Daniel Espino García
c22509eca2 Properly unset active channel in the server (#26846)
* Properly unset active channel in the server

* Address feedback

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-05-06 11:59:49 +02:00
Ben Schumacher
732932f51f [MM-58059] Remove PostPriority feature flag (#26929) 2024-05-06 10:11:28 +02:00
Devin Binnie
8da64a5c34 [MM-57407] Add setting to disable the wake up on reconnect handler (#26924)
* [MM-57407] Add setting to disable the wake up on reconnect handler

* Add dependency

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-05-03 09:06:06 -04:00
Nick Misasi
f1019d076e [CLD-7567] Deprecate Self Serve: Second Pass (#26853)
* Deprecate Self Serve: First Pass

* Fix ci

* Fix more ci

* Remmove outdated server tests

* Fix a missed spot opening purchase modal in Self Hosted

* Fix i18n

* Clean up some more server code, fix webapp test

* Fix alignment of button

* Fix linter

* Fix i18n server side

* Deprecate in product true up

* Add back translation

* Remove client functions

* Put back client functions

* webapp deprecation

* Deprecate Self Serve: Second Pass

* Fix various pipeline issues

* Fix linter

* Fix pipelines

* Fix handlers_test.go

* Fix console.error around hostedCustomer in reducer

* PICKY LINTER PLEASE

* Fix webapp tests, various other fixes for the CI pipelines

* Fix i18n

* Updates to accomadate enterprise code removal

* Fix mocks

* More removal

* Fix

* Adjustments from PR

* Fixes for QA Feedback

* Update

* Add migrations to remove true up review history

* Fix migrations check

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: maria.nunez <maria.nunez@mattermost.com>
2024-05-02 09:15:15 -04:00
Asaad Mahmood
6028cbe4e2 MM-57841 - Updating post delete modal (#26907) 2024-05-01 23:23:23 +05:00
Devin Binnie
4db2ae5753 [MM-58070] Ensure the batched post handler also send websocket acknowledgements (#26938)
* [MM-58070] Ensure the batched post handler also send websocket acknowledgements

* Add ack for missing root post error

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-05-01 10:44:09 -04:00
Harrison Healey
3bd6c44413 MM-53148 Fix an incorrect type (#26920) 2024-04-30 17:40:37 -04:00
Harrison Healey
43a5e61d85 MM-57320 Fix autocomplete occasionally erasing all text after caret (#26857)
* MM-57320 Fix autocomplete occasionally erasing all text after caret

* Change makeHandleReceivedSuggestionsAndComplete to only allow complete word to be called once

* Actually do what the last commit said
2024-04-30 17:22:54 -04:00
Matthew Birtch
5c11de1373 fixed checkbox style on browse channels modal (#26927) 2024-04-30 09:11:55 -04:00
Weblate (bot)
13b54aa77d Translations update from Mattermost Weblate (#26906)
* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (2596 of 2596 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/zh_Hans/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 99.3% (5906 of 5947 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/zh_Hans/

* Translated using Weblate (German)

Currently translated at 100.0% (2596 of 2596 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/de/

* Translated using Weblate (Dutch)

Currently translated at 100.0% (2596 of 2596 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/nl/

* Translated using Weblate (Polish)

Currently translated at 100.0% (2596 of 2596 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/pl/

* Translated using Weblate (German)

Currently translated at 100.0% (5947 of 5947 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/de/

* Translated using Weblate (Korean)

Currently translated at 55.7% (3315 of 5947 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/ko/

* Translated using Weblate (Dutch)

Currently translated at 99.4% (5916 of 5947 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nl/

* Translated using Weblate (Polish)

Currently translated at 100.0% (5947 of 5947 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/pl/

* Translated using Weblate (Dutch)

Currently translated at 99.5% (5918 of 5947 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nl/

* Translated using Weblate (Polish)

Currently translated at 100.0% (5947 of 5947 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/pl/

* Translated using Weblate (Russian)

Currently translated at 100.0% (2596 of 2596 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/ru/

* Translated using Weblate (Dutch)

Currently translated at 99.9% (5945 of 5947 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nl/

* Translated using Weblate (Polish)

Currently translated at 100.0% (5947 of 5947 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/pl/

* Translated using Weblate (Russian)

Currently translated at 98.3% (5848 of 5947 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/ru/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (5947 of 5947 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/zh_Hans/

* Translated using Weblate (Polish)

Currently translated at 100.0% (5947 of 5947 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/pl/

* Translated using Weblate (Swedish)

Currently translated at 100.0% (2596 of 2596 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/sv/

* Translated using Weblate (Swedish)

Currently translated at 100.0% (5947 of 5947 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/sv/

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/

---------

Co-authored-by: Sharuru <mave@foxmail.com>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: Jihyeon Gim <potatogim@potatogim.net>
Co-authored-by: Konstantin <eleferen@gmail.com>
Co-authored-by: ThrRip <coding@thrrip.space>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
2024-04-30 09:01:17 -04:00
Matthew Birtch
4ba736f018 MM-56324 Channel Header UI Update (#26383) 2024-04-26 21:21:28 +08:00
M-ZubairAhmed
54d7011aba [MM-57744] Improve status received reducers (#26670)
Rationale
As seen below, we can deduce that the memory consumption of the reducers related to user status was the maximum, given that the app is idle with 50,000 users logged in and posting 35 messages per second. The memory consumption of the affected reducer (35%) is even more than that of the functions responsible for the incoming messages (27%). This implementation iterated over the received statuses multiple times across different reducers, each time processing a subset of the same data. This comes with the overhead of array function calls, creation of intermediary objects, and arrays.

Changes
Modified the getStatusesByIds action to process received statuses once, extracting and transforming all necessary data for statuses, dndEndTimes, isManualStatuses, and lastActivity reducer in a single iteration.

Improvements
By avoiding multiple iterations, we reduce the runtime complexity from O(4n) to O(n), where n is number of statuses.
Simplified reducer for user statuses, which includes statuses, dndEntTimes, isManualStatuses, lastActivity. Also created for single and multiple items of these reducers.
2024-04-26 11:17:27 +00:00
Harrison Healey
80e67ace86 Migrate tests for Login to Testing Library and convert showNotification to a thunk (#26848)
* Migrate tests for Login to Testing Library

* Convert showNotification to a thunk
2024-04-25 17:24:03 -04:00
Devin Binnie
60c15c821f More notification metrics fixes (#26889)
* Explicitly have the client tell the server when it should expect an ACK

* Don't count missing profile errors for your own posts, added comment

* Fix test

* Make postedAck a parameter in WebSocketClient

* Snapshot fixes

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-04-25 15:07:12 -04:00
Julien Tant
173ff52e18 [MM-57121] Remove remote_id if necessary when merging user profile (#26826) 2024-04-25 08:45:50 -07:00
M-ZubairAhmed
0948ce1776 [MM-57745] Fetch threads of the current channel only when root post is missing from the store in new posted event
Statuses and user profiles on each new messages have to be fetched for the post users and its mentions (Blue bar), to solve that polling of these can be done. However after we did that we saw the polling of statuses and user profiles requests got considerably down but the requests to threads was relatively still higher (Pink bar).
So this improvement doesn't not fetch the root post along with the complete threads of the incoming new post from another channel.
This improved the calls to threads from 120 to just 8 calls per 2 mins an improvement of 93%.
2024-04-25 14:02:34 +00:00
M-ZubairAhmed
9ecb3e20c8 Update notification_actions.jsx (#26639)
Update notification_actions.jsx

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-04-25 07:12:31 +00:00
Devin Binnie
e532807454 [MM-57962] Remove outdated Copy Link menu in favour of native Electron dropdown (#26856) 2024-04-24 16:39:47 -04:00
Antonin Delpeuch
542e84b140 [GH-26702] Clicking on "remember my preference" in landing page does not tick the associated checkbox (#26703) 2024-04-24 20:30:34 +00:00
Anna Os
d9aed02f57 [GH-26831] fix modal suggestion list position (#26832) 2024-04-24 14:48:17 -04:00
Syed Ali Abbas Zaidi
1fd09d0a0b [MM-57718] Convert ./components/post_view/message_attachments/action_button/action_button.tsx from Class Component to Function Component (#26728)
* [MM-57718] Convert `./components/post_view/message_attachments/action_button/action_button.tsx` from Class Component to Function Component

* :refactor: improve code structure
2024-04-24 14:43:25 -04:00
Syed Ali Abbas Zaidi
8ba157f284 [MM-57722] Convert ./components/admin_console/team_channel_settings/group/group_list.tsx from Class Component to Function Component (#26721)
* [MM-57722] Convert `./components/admin_console/team_channel_settings/group/group_list.tsx` from Class Component to Function Component

* :refactor: improve code structure
2024-04-24 10:11:40 +02:00
Jesús Espino
29fbcdfc2a Improve the true/false selector style in the admin console (#26770)
* Improve the true/false selector style in the admin console

* Updating snapshots
2024-04-23 17:12:34 -04:00
Nick Misasi
437f90e184 [CLD-7421][CLD-7420] Deprecate Self Serve: First Pass (#26668)
* Deprecate Self Serve: First Pass

* Fix ci

* Fix more ci

* Remmove outdated server tests

* Fix a missed spot opening purchase modal in Self Hosted

* Fix i18n

* Clean up some more server code, fix webapp test

* Fix alignment of button

* Fix linter

* Fix i18n server side

* Add back translation

* Remove client functions

* Put back client functions

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-04-23 14:25:37 -04:00
Syed Ali Abbas Zaidi
6886f389dd [MM-57715] Convert ./components/common/comment_icon.tsx from Class Component to Function Component (#26727)
* [MM-57715] Convert `./components/common/comment_icon.tsx` from Class Component to Function Component

* :fix: failing types issue
2024-04-23 12:08:35 +02:00
Syed Ali Abbas Zaidi
9b227aaa28 [MM-57725] Convert ./components/common/chip/chip.tsx from Class Component to Function Component (#26729)
* [MM-57725] Convert `./components/common/chip/chip.tsx` from Class Component to Function Component

* :refactor: improve code structure
2024-04-23 10:28:54 +05:30
Syed Ali Abbas Zaidi
4ee5763e9d [MM-57713] Convert ./components/sidebar_right_menu/sidebar_right_menu.tsx from Class Component to Function Component (#26725)
* [MM-57713] Convert `./components/sidebar_right_menu/sidebar_right_menu.tsx` from Class Component to Function Component

* 🎨 Improve code quality

* :refactor: Improve constants and remove unused code
2024-04-23 10:28:25 +05:30