* converted migrations_table class component to functional component
* added dependencylist for useffect & use memo for caching
* Added tests
* Remove commented code and used renderWithContext instead of render(withIntl(..))
---------
Co-authored-by: Ezekiel <ezekiel@itsmart.my>
Co-authored-by: Mattermost Build <build@mattermost.com>
* refactor(component): convert TextDismissableBar from class to function component
* perf:Code optimized
* refactor(component):props vertically formatted, getDismissed function moved outside
* Update webapp/channels/src/components/announcement_bar/text_dismissable_bar.tsx
Co-authored-by: Daniel Espino García <larkox@gmail.com>
* refactor:setDismissed formatted vertically
* test(text_dismissable_bar):snapshot test updated
* refactor: remove type from shallow rendering in TextDismissableBar test
---------
Co-authored-by: Daniel Espino García <larkox@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
* fix: convert component to function component
* fix: use 'useIntl' to replace deprecated 'localizeMessage' and fix indendation of props value
* fix: fix lint in 'toggele_mute_channel' file
* fix: include 'isMuted', 'user.id', and 'channel.id' to 'handleClick' callback dependency
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* [MM-58567] Added `window.isActive` check for marking threads as active when they're open, mark the threads as read when the window becomes active again
* PR feedback
* Rename Office 365 to Entra ID
* Another text update
* More lingering texts
* More text updates
* Updated link
* Linting
* Override office365 service name in admin user details view
* linting
* Updated help text
* Fix bad merge
* Linting
* Removed one leftover occurance of Office 365
* Typo and log in link fix
* Typo fix
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
We were invalidating the userProfileByIds cache unnecessarily
when it wasn't really needed. It's just that the InvalidateCacheForUser
method wiped off all user related caches, when we just needed to wipe
user-channel related caches.
To fix this, we split the user cache invalidation method into two
and just call the InvalidateChannelCacheForUser method from app/channel.go.
https://mattermost.atlassian.net/browse/MM-59827
```release-note
NONE
```
* fix: convert component to function component
* add test for 'emoji_page'
* fix: moved lists outside the component and updated dependencies in useEffect
* fix: fix lint for 'emoji_page' test file
* fix: convert component to function component
* update test snapshot
* fix: removed the unused props for confirm component
* fix: removed the unused props for confirm component
moved submit and onKeyPress functions outside the component
* fix: removed unused variable and fixed lint
* fix: fix prop type for 'confirm' test file
* Convert save_button.tsx to function component
* single quote
* make saving optional
* fix header
* test suite command
* fix lint
* remove space
* Update snapshots
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Daniel Espino García <larkox@gmail.com>
* Utilize free runners for E2E tests, report back to PR on run completion
* Increase test stability on smaller instances
* Merge worker reports
* merge start+prepare steps
* upgrade keycloak
* increase test timeouts
* Add video recording to report artifacts
Co-authored-by: Saturnino Abril <5334504+saturninoabril@users.noreply.github.com>
---------
Co-authored-by: Saturnino Abril <5334504+saturninoabril@users.noreply.github.com>
* MM-59864 Add E2E test for keyboard navigation in the threads list
* chore(e2e): Add @prod tag to global_threads_spec.js
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: yasserfaraazkhan <attitude3cena.yf@gmail.com>