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

11 Коммитов

Автор SHA1 Сообщение Дата
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
Daniel Espino García
77bdeb1c2b Migrate profile popover from class to functional component (#25608)
* Migrate profile popover from class to functional component

* Fix lint

* Fix tests and minor fixes

* Address feedback

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-15 09:28:43 +01:00
Harrison Healey
b1e745894b MM-55468 Ensure custom status emojis exist (#25501)
* MM-55468 Ensure custom status emojis exist

* Fix plugin API unit test

* Print underlying error as detailed error message

* Convert CustomStatusModal tests to React Testing Library and improve a11y

* Don't suggest custom statuses with non-existent emojis

* Silence test error by providing fake translation strings
2023-12-08 10:35:15 -05:00
Harrison Healey
be34a5d2df Run component tests with a real store and use renderWithContext everywhere (#25217)
* Change renderWithFullContext to not mock Redux store

* Remove renderWithIntl and renderWithIntlAndStore

* Rename renderWithFullContext to renderWithContext

* Use renderWithContext for WS context
2023-11-08 17:02:40 -05:00
Daniel Espino García
756765b9b4 Unify handlePaste and handlekeydown (#24511)
* Unify paste and handlekeydown

* Fix snapshots

* Address feedback

* Properly fix MM-54178 and avoid opening the reaction from the edit post textbox
2023-10-26 18:41:43 +02:00
Daniel Espino García
d13429aa92 Enable import order (#24091)
* Enable import order

* Add new order groups and add consistent-type-imports

* Remove types group, move react to top and fix issues

* Add store and reducers to the redux group and move imports from types folder to the end

* Fix tsc

* Remove react rule

* Fix test

* Fix eslint disable
2023-09-06 12:51:55 +02:00
Saturnino Abril
a93a01fa8f MM-54004 migrate HeaderFooterNotLoggedIn as functional component (#24244)
* chore: MM-54004 migrate HeaderFooterNotLoggedIn as functional component

* fix about and HA links
2023-08-14 06:48:19 -04:00
Daniel Espino García
fda5dd8468 Remove guest badge (#23825)
* Remove guest badge

* Address feedback

* Fix lint, test and i18n

* Fix test
2023-06-30 11:06:18 +02:00
Harrison Healey
9c656c25d9 Re-export all React Testing Library functions (#23522) 2023-06-05 12:49:31 -04:00
Harrison Healey
789f84af90 MM-52297 Fix reactions disappearing with search open and add testing utilities (#23510)
* MM-52297 Fix reactions disappearing when search is open

* Add unit tests and extra utilities

* Fix typing issue
2023-06-02 14:23:01 -04:00
Doug Lauder
c943ed6859 Mono repo -> Master (#22553)
Combines the following repositories into one:

https://github.com/mattermost/mattermost-server
https://github.com/mattermost/mattermost-webapp
https://github.com/mattermost/focalboard
https://github.com/mattermost/mattermost-plugin-playbooks
2023-03-22 17:22:27 -04:00