Harrison Healey
8c5f00da86
MM-60285 Add fresh label to channel and team switch metrics ( #28100 )
...
* Changed measureAndReport to take an object as parameters
* MM-60285 Add fresh label to channel and team switch metrics
2024-09-05 16:30:24 -04:00
Daniel Espino García
92793928bc
Fix autofocus on load ( #28090 )
...
* Fix autofocus on load
* Address feedback
* Fix styles lint
* Revert unintended change
* fix tests
* Update text
2024-09-05 14:27:29 +02:00
M-ZubairAhmed
7232feecf7
[MM-59299] Investigate further breaking down chunks of components/node_modules for initial load ( #27845 )
2024-09-04 05:55:47 +00:00
Weblate (bot)
e104575505
Translations update from Mattermost Weblate ( #28109 )
...
Automatic Merge
2024-09-03 17:14:33 +02:00
Rishikesh Solapure
073d4ff959
[MM-60079] Converted ./reducers/views/modals.test.tsx class component to functional component ( #28033 )
...
* fix: converted class component to functional component
* fix: resolved the eslint error
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-09-02 10:50:48 +02:00
Matthew Birtch
eb5c746a24
MM-46697 Fix out of office alignment on user menu and update confirmation modal button text ( #28040 )
2024-08-31 09:18:53 +08:00
Devin Binnie
a2a54af338
[MM-59912] Update unread threads in team when threads are received ( #28059 )
2024-08-30 10:07:59 -04:00
Tihomir Nikolov
9801007b90
[MM-60073] Migrate /components/admin_console/custom_enable_disable_guest_accounts_setting.tsx from class to function component ( #27963 )
...
* chore: update to functional component
* chore: add test and fix text
* chore: remove redundant fn
* fix: comments from review
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-08-30 11:26:29 +02:00
Daniel Espino García
422df51d77
Fix unfocussed react to last message ( #28091 )
...
Automatic Merge
2024-08-29 17:14:32 +02:00
Harrison Healey
e99d92dc66
MM-60241 Ensure RHS post list always fills available space ( #28087 )
...
Automatic Merge
2024-08-29 16:44:32 +02:00
M-ZubairAhmed
9f8bc4b171
[MM-60215] Webapp resize with announcement banner enabled will cause screen to blank out ( #28065 )
2024-08-29 13:39:00 +00:00
Tasnim Tantawi
60ffd00d30
[MM-57719] Convert form_error.tsx to function component ( #27914 )
...
* solve conflicts
* update snapshots
* Fix types
* update snapshots
2024-08-28 11:03:41 +02:00
Daniel Espino García
5030e2cdb2
Fix Ctrl-up when changing the value on different inputs ( #28062 )
2024-08-28 10:58:51 +02:00
Matthew Birtch
244b7e565b
MM-59855 Fix layout issue on smaller screens when rhs is expanded ( #28025 )
...
* fixed layout isssue for <1200px when rhs is expanded
* border-radius on rhs when collapsed in 768-1200 range
2024-08-27 15:58:55 +02:00
Daniel Espino García
182190314f
Fix replying on deleted posts ( #28061 )
2024-08-27 15:58:05 +02:00
M-ZubairAhmed
626ccdea4b
[MM-59889] Remove SimpleTooltip of "components/widgets/simple_tooltip" ( #28036 )
2024-08-27 06:40:19 +00:00
Scott Bishel
e64cdfb34b
MM-58066-Use Client Config to determine AppsEnabled ( #27872 )
...
* 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 >
2024-08-26 16:03:17 -06:00
Weblate (bot)
9591e6182f
Translations update from Mattermost Weblate ( #28051 )
...
Automatic Merge
2024-08-26 15:44:32 +02:00
M-ZubairAhmed
5d7aa17a27
[MM-58726] Add a loading screen to initial load of the web app ( #27740 )
2024-08-26 12:41:59 +00:00
Devin Binnie
eafe056bea
[MM-58563] Load profiles on sidebar load irrespective of the current channel ( #27992 )
...
* [MM-58563] Load profiles on sidebar load irrespective of the current channel
* Remove await
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-08-26 08:36:45 -04:00
Rita Anene
efbb70f3c8
[MM-60169] Migrate tooltips of "components/admin_console/permission_schemes_settings/permissions_scheme_summary/permissions_scheme_summary.tsx" to WithTooltip ( #27968 )
2024-08-26 11:48:22 +00:00
Rita Anene
c0dfafc3de
[MM-59903] Migrate tooltips of 'components/channel_invite_modal/group_option/group_option.tsx' to WithTooltip ( #27918 )
2024-08-26 11:45:04 +00:00
M-ZubairAhmed
58d92742b4
[MM-60261] Replace "useTooltip" of "components/common/hooks/useTooltip" to WithTooltip ( #28037 )
2024-08-26 08:41:52 +00:00
M-ZubairAhmed
15c9b15f67
Improve parallelization of loadMeAndConfig action ( #27858 )
...
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.
2024-08-26 08:40:35 +00:00
Ivy Gesare
daff7a39c5
[MM-60077] Convert ./components/admin_console/boolean_setting.tsx from Class Component to Function Component ( #27917 )
...
* 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
2024-08-26 10:39:05 +02:00
Rohan Sharma
014081d83e
Migrate webapp/channels/src/components/analytics/doughnut_chart.test.tsx from class to function component ( #27984 )
...
* feat: changed class to function components
* example 1
* requested changes 2
* checking for test 1
* example 2
* final changes
2024-08-26 10:35:44 +02:00
Rita Anene
12ba21c4af
[MM-57714] Convert ./components/announcement_bar/version_bar/version_bar.tsx from Class Component to Function Component ( #27966 )
...
* fix: convert from class to function component
* fix: move 'reloadPage' function out of the component
2024-08-26 10:35:14 +02:00
M-ZubairAhmed
b0d58bb65e
[MM-57080] Add Channel-specific notification sound options in new Notifications settings modal ( #27730 )
2024-08-23 17:55:27 +00:00
goooov
a4cc97679c
[MM-60072] Convert ./components/emoji/emoji_list_item/emoji_list_item.tsx from Class Component to Function Component ( #27904 )
...
* refactor: converted emoji_list_item to functional component
* feat: added suggested changes
* refactor: minor change
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-08-23 13:43:08 +02:00
Ivy Gesare
86359529c9
[MM-60076] Convert ./components/sidebar/sidebar_channel/sidebar_base_channel/sidebar_base_channel.tsx from Class Component to Function Component ( #27995 )
...
* Change: Convert sidebar_base_channel to functional component
Change: Update sidebar_base_channel test
* Change: Add waitFor method to fix failing tests
* Add: Sidebar_base_channel_icon component
Change: Use useCallback to cache the handleLeave functions
Change: Update test snapshots
* Change: getIcon to channelIcon
Change: Add actions.leaveChannel and actions.openModal as useCallback dependencies
Change: Remove else statements
2024-08-23 13:40:38 +02:00
Michael
56961b3b49
[MM-60074] Convert ./components/admin_console/multiselect_settings.tsx from Class Component to Function Component ( #27908 )
...
* feat: convert multiselect_settings to functional component
* fix: comments addressed and linting done
* fix: failing test
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-08-23 13:39:51 +02:00
Ezekiel
16c85c41aa
converted migrations_table class component to functional component ( #27956 )
...
* 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 >
2024-08-23 13:38:34 +02:00
Bruno
1d8ce403c3
refactor(component): convert TextDismissableBar from class to function component ( #27955 )
...
* 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 >
2024-08-23 13:38:03 +02:00
Rita Anene
9a521e83b9
[MM-60066] Convert ./components/channel_header_dropdown/menu_items/toggle_mute_channel/toggle_mute_channel.tsx from Class Component to Function Component ( #27913 )
...
* 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 >
2024-08-23 13:37:26 +02:00
Rita Anene
fd01e9244f
[MM-60170] Migrate tooltips of "components/user_settings/display/user_settings_theme/custom_theme_chooser/custom_theme_chooser.tsx" to WithTooltip ( #28009 )
2024-08-23 03:05:23 +00:00
Michael
d0cb389a90
[MM-60162] Migrate tooltips of "components/sidebar/sidebar_category/sidebar_category.tsx" to WithTooltip ( #27983 )
2024-08-23 03:04:43 +00:00
Michael
93a59e5cad
[MM-60160] Migrate tooltips of "components/global_header/left_controls/history_buttons/history_buttons.tsx" to WithTooltip ( #28013 )
2024-08-23 03:04:06 +00:00
Rita Anene
08e4c9f611
[MM-60168] Migrate tooltips of "components/widgets/menu/menu_items/restricted_indicator.tsx" to WithTooltip ( #27993 )
2024-08-23 03:01:41 +00:00
Rita Anene
405e4bd888
[MM-60167] Migrate tooltips of "components/sidebar/sidebar_channel/sidebar_channel_link/sidebar_channel_link.tsx" to WithTooltip ( #27979 )
2024-08-23 03:00:56 +00:00
Rita Anene
622fdda0b1
[MM-60166] Migrate tooltips of "components/channel_header/channel_header_title_favorite.tsx" to WithTooltip ( #27980 )
2024-08-23 03:00:15 +00:00
Zubair Imtiaz
f2d9b2e94b
[MM-60156] Migrate tooltips of 'components/file_upload/file_upload.tsx' to WithTooltip ( #27970 )
2024-08-23 02:58:58 +00:00
Rita Anene
8012275ca1
[MM-60155] Migrate tooltips of "components/advanced_text_editor/show_formatting/show_formatting.tsx" to WithTooltip ( #27981 )
2024-08-23 02:58:13 +00:00
Rita Anene
5a8b00e3d0
[MM-60153] Migrate tooltips of "components/advanced_text_editor/toggle_formatting_bar.tsx" to WithTooltip ( #27982 )
2024-08-23 02:57:36 +00:00
Michael
e622488bad
[MM-60075] Convert ./components/admin_console/team_channel_settings/group/group_members_modal.tsx from Class Component to Function Component ( #27907 )
...
* feat: convert group_members_modal to functional component
* fix: comment worked on and linting done
* fix: addressed comment
* fix: addressed comment
* fix: failing test
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-08-22 17:41:43 +02:00
Devin Binnie
18ffb656ab
[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 ( #27988 )
...
* [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
2024-08-22 11:35:33 -04:00
Daniel Espino García
5482792697
Fix scroll on user settings ( #28022 )
2024-08-22 17:32:04 +02:00
M-ZubairAhmed
c67a5b10e6
[MM-60213] Migrate tooltips of "components/toast" to WithTooltip ( #28001 )
2024-08-22 14:12:25 +00:00
Michael
21b923b554
[MM-60159] Migrate tooltips of "components/rhs_header_post/rhs_header_post.tsx" to WithTooltip ( #28015 )
2024-08-22 13:59:05 +00:00
M-ZubairAhmed
ad5d5f08dc
[MM-60216] Migrate tooltips of admin_consoles "admin_settings", "schema_admin_settings" & "permission_description" to WithTooltip ( #28003 )
2024-08-22 13:58:12 +00:00
Michael
5a07d9cb72
[MM-60158] Migrate tooltips of "components/search_results_header/search_results_header.tsx" to WithTooltip ( #28005 )
2024-08-22 13:57:11 +00:00