* Ignore at and tilde for username and channel searches.
* allow using tilde in search suggestions
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* Adds ServerFederationSettings configuration block
The Server Federation related configuration properties were located in
the `ExperimentalSettings` config block. Now that the feature is going
to get out of beta, and foreseeing more configuration properties being
added to it, we're moving them to a block of its own.
If the properties were set in the old location, their values should be
carried over to the new ones. The old properties are left in place and
marked as deprecated not to cause issues with the model.
* Update System Console to include Server Federation section
* Remove system console section
* Move the configuration properties to ConnectedWorkspaces
* Add ConnectedWorkspacesSettings to the telemetry
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* remove enabling apps plugin by default
* use client config to determine creating app bindings.
* update the way dispatch is made
* updated type setting
* fixed unit test
* prevent a nil check
* dispatch batch
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* [MM-58563] Load profiles on sidebar load irrespective of the current channel
* Remove await
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
1. Rewrite of loadConfigAndMe function which includes compatible return types along with less blocking redux actions
2. Actions of webapp/channels/src/components/root/actions.ts moved to webapp/channels/src/actions/views/root.ts for consistency
3. Removes 2 redundant network requests for config and license.
* Change: Convert class component to functional component in boolean_setting
Change: Update test snapshots in settings tests where boolean_setting is used
* Change: Use useMemo instead of useState and useEffect to prevent constant re-rendering
* Change: Use useCallback to cache the handleChange function
* Change: Add onChange to useCallback dependencies
* 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>