1924 Коммитов

Автор SHA1 Сообщение Дата
Nick Misasi
e475568d6d [MM-62669] Updates to cloud specific imagery in system console (#29963)
* Updates to cloud specific imagery in system console

* Revert something from images

* Fix linter

* Updates from PR feedback

* Fix lint

* Add svg

* Lint fixes, update another SVG

* change to pre-existing already-themed version of svg

* change the folder of the file

* add file

* Adjust styling
2025-02-07 09:34:09 -05:00
Julien Tant
1b29abd857 Add typescript-eslint-language-service (#30015) 2025-02-04 15:29:29 -07:00
Harrison Healey
86aad9d0a5 Add platform/mattermost-redux package for publishing (#30020)
* Replace key-mirror with mattermost-redux/utils/key_mirror

At some point, we made our own version for mattermost-redux with proper type definitions
but we seem to have forgotten to use that everywhere in the web app.

* Remove Rudder reference from mattermost-redux

* Remove Giphy API from mattermost-redux

* Remove mattermost-webapp refernces from Client and Types packages

* Create platform/mattermost-redux without moving its source files

* Don't build mattermost-redux automatically

* Copy changes to package.json from platform/mattermost-redux to other packages

The changes to the typesVersions and exports fields are to make it
easier for tooling to know to make it so that importing a folder imports
the index file inside that folder since that's not standard to all
CommonJS packages.

The added type field is just a good pracice.

* Explicitly type re-exported selectors

For some reason, the types generated by the previous version of this didn't work
when mattermost-redux was built as a standalone package. Explicitly typing these
is a bit more verbose, but it fixes things.

* Fix import loop in selectors introduced by last commit

* Update package versions to 10.6.0

* Add explicit dependencies to mattermost-redux package

* Remove check and run scripts from mattermost-redux package

* Revert changes to NOTICE.txt
2025-02-04 22:26:46 +00:00
Caleb Roseland
f52e08754c MM-62050: restrict channel bookmarks in archived channels (#29490) 2025-02-04 15:10:32 -06:00
Agniva De Sarker
ae9e6174e5 [AI assisted]: Improve system console statistics performance (#29899)
```release-note
NONE
```

Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
2025-02-04 21:54:01 +05:30
Weblate (bot)
6046a304b2 Translations update from Mattermost Weblate (#30091)
Automatic Merge
2025-02-03 21:50:09 +02:00
Amy Blais
60654ba7b9 Upgrade language from alpha (#30087)
Automatic Merge
2025-02-03 19:20:08 +02:00
Julien Tant
33b34022bb [MM-61848] Add Telemetry to capture Cross-Team Search usage (#30062)
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-02-03 09:09:18 -07:00
Saurabh Sharma
e8e40c79f6 [MM-61577]: Ensure all interactive functionality is operable with the keyboard in emoji picker (#29629) 2025-02-03 12:26:49 +05:30
Saurabh Sharma
28dbc3cabb [MM-61598]: Fix ARIA roles, states, and properties are valid in user profile image and @user buttons (#29692)
* [MA-26]: Fix ARIA roles, states, and properties are valid in user profile image and @user buttons

* [MA-26]: Remove irrelevant e2e tests

* [MA-26]: Remove nested interactive elements

* [MA-26]: Updated mention-link styles

* Minor change

---------

Co-authored-by: ayush-chauhan233 <ayush.chauhan@brightscout.com>
2025-02-02 13:50:01 -05:00
Devin Binnie
c079020e9e [MM-62113] Force reload of team unreads when following/unfollowing a thread (#29994)
* [MM-62113] Force reload of team unreads when following/unfollowing a thread

* E2E test

* add test key

---------

Co-authored-by: yasserfaraazkhan <attitude3cena.yf@gmail.com>
2025-01-31 16:30:06 +00:00
ayush-chauhan233
a013797ed0 [MM-45724] Accessibility on ATE unexpectedly able to tab on hidden formatting controls/buttons (#29722) 2025-01-31 21:55:40 +05:30
Saurabh Sharma
7a959038f9 [MM-61599]: Remove tabIndex from non-interactive elements (#29659) 2025-01-31 21:54:56 +05:30
Scott Bishel
7740eb9d43 MM-61751 -Enforce permissions on role detail form. (#29361)
* enforce permissions on role admin form

* update for more missing Hidden checks on detail pages

* add description to roles settings

* update snapshots

* update strings

* remove padding

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-31 07:08:34 -07:00
Julien Tant
9a5dd2b6a1 [MM-62776] Fix search not working anymore in responsive mode. (#30041) 2025-01-30 11:57:13 -07:00
Julien Tant
1fcb6a49a8 [MM-60407] Add team selector to search bar (#29389)
Automatic Merge
2025-01-30 18:50:08 +02:00
Scott Bishel
369b9fa96b Prompt Team Admin before joining private channel (#29955)
* Prompt Team Admin before joining private channel

* fix and implement prompt when team admin joins via channel link

* update premission check and unit tests

* remove comment

* clean up some code

* update check to fix E2E tests
2025-01-30 08:21:09 -07:00
Pablo Vélez
dc06bb2155 MM-62621 - a11y fixes channel info bottom menu (#29910)
* MM-62621 - a11y fixes channel info bottom menu

* fix translations

* add back library import style

* remove unnecesary pseudo menu aria roles and turn into plain buttons

* fix translations

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-30 07:39:22 -05:00
Rajat Dabade
ed98d147ae Fix the empty search state container stretching issue (#30045)
Automatic Merge
2025-01-30 09:50:12 +02:00
Devin Binnie
9ba9b646c3 [MM-62107] Remove the need to have the currently selected thread in the Unreads pane (#29876)
* [MM-62107] Remove the need to have the currently selected thread in the Unreads pane

* Remove selected thread from Followed Threads as well if it's not followed

---------

Co-authored-by: Caleb Roseland <caleb@calebroseland.com>
2025-01-29 14:29:59 -05:00
Saurabh Sharma
57711d5251 MM-61638: Ensure custom buttons provide proper name, role, and state information (#29904)
* MM-61638: Add aria-hidden to icon

* MM-61638: Add type button to sidebar header button

* MM-61638: Fix failing lint

* MM-61638: Add aria attributes in button

---------

Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
2025-01-28 16:24:06 +00:00
Saurabh Sharma
1999ff9263 [MA-50]: Provide fieldsets for groups of form controls (#29905)
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-28 11:13:38 -05:00
Saurabh Sharma
b333902bef [MA-49]: Removed visiblity from screen reader when theme options are collapsed (#29782)
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-28 10:40:07 -05:00
ayush-chauhan233
a672aa5be5 [MM-61641]: Ensure implicit list markup is avoided (#29787)
* MM-61641: Update post options to use semantic list elements

* MM-61641: Fix lint

* Apply suggestions from code review

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
2025-01-28 10:37:18 -05:00
Caleb Roseland
3b69d36643 MM-62543: CPA sequential write ops & better validation (#29933)
* sequential write operations

* group_id required

* warn against names already in use

* add tests

* fix lint

* i18n
2025-01-28 15:28:43 +01:00
Saurabh Sharma
57f13549d7 [MM-61627]: Fix focus order in sidebar (#29743) 2025-01-28 19:44:06 +05:30
ayush-chauhan233
77ab7b92c6 [MM-61595]: Removed the unnecessary dialog text from toggle button's aria-label property (#29595) 2025-01-28 19:42:39 +05:30
Asaad Mahmood
fd213358f0 MM-62655 - Updating control label overflow (#29991) 2025-01-28 15:34:42 +05:00
Weblate (bot)
79299b9f66 Translations update from Mattermost Weblate (#30012)
Automatic Merge
2025-01-28 11:50:19 +02:00
ayush-chauhan233
7cd025d1fb [MM-61612]: Added dialog role to the emoji picker (#29690) 2025-01-28 12:54:37 +05:30
ayush-chauhan233
effe018813 [MA-43]: Updated the input grouping in notification setting tab (#29724) 2025-01-28 12:45:51 +05:30
ayush-chauhan233
ed161f31be [MM-61674]: Added appropriate roles to the menu component of post priority (#29545) 2025-01-28 12:40:02 +05:30
Julien Tant
dbf52d670d [MM-62193] Fix search in group channels (#29916)
* feat: Add profile loading for group channels in search autocomplete

* refactor: Use getChannelNameForSearchShortcut for channel name formatting

* refactor: Improve channel search term generation logic

* refactor: Simplify search channel provider logic and improve code readability

* fix: Improve channel search shortcut name handling with fallback

* refactor: Avoid overriding channels parameter in search channel provider

* refactor: Revert variable names to original style in search channel provider

* feat: Add getChannelNameForSearchShortcut selector for channel name retrieval

* refactor: Extract common channel name search logic into helper function

* fix text overflowing from search bar

* test: Add tests for completeDirectGroupInfo function

* test: Add type assertion for UsersState in channel_utils test

* test: add test case for completeDirectGroupInfo with omitCurrentUser false

* improve name composition for channels in search

* eslint

* lint

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-27 09:44:42 -07:00
Guillermo Vayá
6cc85c9e7d [MM-61928] Add clarifying note on personal token permissions (#29585) 2025-01-27 17:31:14 +01:00
Devin Binnie
396ee06dcb [MM-61319] Delete the thread from state when the root post is deleted by another user (#29975) 2025-01-24 15:44:11 -05:00
ayush-chauhan233
ca2b3fd528 [MM-61646]: Added logic to correctly give accessible name to channel header button (#29788)
* [MA-32]: Added logic to correctly give accessible name to channel header button

* [MA-32]: Fixed id name

* [MA-32]: Fixed failing e2e test case

* [MA-32]: Updated the aria-label attribute
2025-01-24 12:50:48 -05:00
Scott Bishel
49948891ce MM-62550- trim value and create batch updates (#29895)
* trim value and create batch updates

* update test

* update for review comments

---------

Co-authored-by: Caleb Roseland <caleb@calebroseland.com>
2025-01-24 10:28:19 -07:00
ayush-chauhan233
0cca57b6df [MM-61591]: Fixed the dialog aria-properties in profile popover (#29593)
* [MA-10]: Fixed the dialog aria-properties in profile popover

* [MA-10]: Updated the logic to add aria-label to profile popover

* [MA-10]: Updated the aria-label to be translatable

* [MA-10]:Updated the dialog aria-properties in profile popover

* [MA-10]: Fixed the dialog aria-properties in profile popover

* [MA-10]: Updated the translation string
2025-01-24 12:21:20 -05:00
Saurabh Sharma
f6a2f00fdb [MA-33]: Added aria-live to empty result messages (#29814)
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-24 09:54:05 -05:00
Saurabh Sharma
54207acd6a [MM-61631]: Remove focusable child descendants (#29745)
* [MA-37]: Remove focusable child descendants

* [MA-37]: Fix E2E tests

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-24 09:52:16 -05:00
Harrison Healey
481c18c7cc MM-62489 Fix error bar showing with developer mode disabled (#29911)
* MM-62489 Fix error bar showing with developer mode disabled

* Add changes that I forgot earlier
2025-01-23 15:34:08 -05:00
Pablo Vélez
6f737ac5ee MM-62192 - remove group upsell for regular users (#29958)
* MM-62192 - remove group upsell for regular users

* fix unit tests

* add new test and fix snapshots

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-23 14:59:09 -05:00
Vicktor
09fedc6cca [MM-55270] fix(accessibility): "channels" button in global header is not selectable with keyboard (#29224) 2025-01-23 22:57:13 +05:30
Julien Tant
b41b968eb8 restrict access to channel converstion to public for non team admin+ (#29819) 2025-01-23 09:42:20 -07:00
Weblate (bot)
4f62e7b3da Translations update from Mattermost Weblate (#29926)
* 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/

* Translated using Weblate (German)

Currently translated at 98.9% (2564 of 2592 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (2592 of 2592 strings)

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

* Translated using Weblate (Polish)

Currently translated at 99.0% (2568 of 2592 strings)

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

* Translated using Weblate (Russian)

Currently translated at 96.5% (2503 of 2592 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (6020 of 6020 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (6020 of 6020 strings)

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

* Translated using Weblate (Russian)

Currently translated at 94.9% (5717 of 6020 strings)

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

* Translated using Weblate (Estonian)

Currently translated at 0.5% (33 of 6020 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (2592 of 2592 strings)

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

* Translated using Weblate (Czech)

Currently translated at 99.7% (2586 of 2592 strings)

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

* Translated using Weblate (Czech)

Currently translated at 100.0% (6020 of 6020 strings)

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

* Translated using Weblate (Swedish)

Currently translated at 100.0% (6020 of 6020 strings)

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

* Translated using Weblate (Czech)

Currently translated at 100.0% (2592 of 2592 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 95.0% (5723 of 6020 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 98.9% (2564 of 2592 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 95.0% (5723 of 6020 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 98.9% (2565 of 2592 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 99.7% (2585 of 2592 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 99.9% (6019 of 6020 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (2592 of 2592 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (6020 of 6020 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 99.7% (2586 of 2592 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 95.1% (5727 of 6020 strings)

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

* 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: jprusch <rs@schaeferbarthold.de>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: Konstantin <eleferen@gmail.com>
Co-authored-by: Tormi <tormipeterson@gmail.com>
Co-authored-by: Martin Mičuda <micuda@rematiptop.cz>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Co-authored-by: Serhii Khomiuk <sergiy.khomiuk@gmail.com>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-23 01:46:07 +00:00
Scott Bishel
8ad375365e MM-62545 Pin bottom actions and top line (#29860)
* pin bottom actions and top line.

* lint fixes

* lint fixes

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-22 20:58:11 +00:00
M-ZubairAhmed
1373c05931 [MM-61966] "Browse or Create channel" menu on the right of team drop-down should use a11y supported menu (#29739) 2025-01-22 10:40:43 +05:30
ayush-chauhan233
a08341d398 [MA-21]: Added role='alert' to the error message element (#29723) 2025-01-21 18:06:32 -05:00
ayush-chauhan233
faeb6f52ac [MM-55284]: Fixed adding aria-label logic in team sidebar (#29562)
* [MA-6]: Fixed adding aria-label logic in team sidebar

* [MA-6]: Updated en.json, added create team button id

* [MA-6]: Fix: Added logic to add aria-label to users type

* [MA-6]: Fix typo

* [MA-6]: Added translation function to team button

* [MA-6]: Added translation function to team button

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-21 18:00:33 -05:00
Saurabh Sharma
12fea07714 [MM-61633]: Add aria-label in the on-boarding button (#29812)
* MM-61633: Add aria-label in the onboarding button

* MM-61633: Update formatting

* MM-61633: Add strings for localization

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-21 15:48:20 -05:00