* updated styles to include rounded corners and updated backgrounds/containers
* updated snapshots
* removed background from app bar top
* removed top padding from lhs
* updated name of container to better match the grid name in css
* fixed lint issue with css
* update snapshot
* adjusted padding/margin
* use radius variables
* remove margin and border radius from plabooks for now
* fixed tasklist
* minor tweaks to menus
* add global border variables and use in key places
* fixed grid issues with login page and backstage
* use border variable
* adjust padding in global header
* fixed type issues
* tweaks to spacing
* fixed margin issue on backstage
* fixed padding on global header
* minor tweaks to header and apps bar
* removed background from apps bar
* updates to header and app bar and team icon
* updated more borders and radii to use variables
* fixed style lint issue
* adjust letter spacing on category labels
* fix lint issue
* fixed position of popover
* address UX feedback
* Expose experimental audit log settings to sys console
* Add the rest of the config
* Add check for enterprise sku
* Update string to include a note about being required given another setting
* gofmt
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* Initial version of make more evident the mattermost edition used
* Updating tests
* Adding i18n strings
* Fixing css property order
* tweaks to badge and use proper MM logo svg
* update snapshot
* update language, tweaks to menu trial block
* fix style lint issue
* tweak letter-spacing
* fix lint
* update language
* Removing trial related info from the main menu, and simplifying showing the license
* Applying proposed changes
* Fixing linter errors
* Fixing tests
* Updating i18n strings
* fixing some styles and a bug
* Fix linter error
* updated login css and fixed lint issue
* Moving to styled components the Free edition badge
* Fixing linter error
* Addressing PR review comments
* Removing old snapshot
* Addressing PR review comments
* Fixing linter errors
---------
Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
* [MM-57407] Add setting to disable the wake up on reconnect handler
* Add dependency
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* Deprecate Self Serve: First Pass
* Fix ci
* Fix more ci
* Remmove outdated server tests
* Fix a missed spot opening purchase modal in Self Hosted
* Fix i18n
* Clean up some more server code, fix webapp test
* Fix alignment of button
* Fix linter
* Fix i18n server side
* Deprecate in product true up
* Add back translation
* Remove client functions
* Put back client functions
* webapp deprecation
* Deprecate Self Serve: Second Pass
* Fix various pipeline issues
* Fix linter
* Fix pipelines
* Fix handlers_test.go
* Fix console.error around hostedCustomer in reducer
* PICKY LINTER PLEASE
* Fix webapp tests, various other fixes for the CI pipelines
* Fix i18n
* Updates to accomadate enterprise code removal
* Fix mocks
* More removal
* Fix
* Adjustments from PR
* Fixes for QA Feedback
* Update
* Add migrations to remove true up review history
* Fix migrations check
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: maria.nunez <maria.nunez@mattermost.com>
* [MM-58070] Ensure the batched post handler also send websocket acknowledgements
* Add ack for missing root post error
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* MM-57320 Fix autocomplete occasionally erasing all text after caret
* Change makeHandleReceivedSuggestionsAndComplete to only allow complete word to be called once
* Actually do what the last commit said
Rationale
As seen below, we can deduce that the memory consumption of the reducers related to user status was the maximum, given that the app is idle with 50,000 users logged in and posting 35 messages per second. The memory consumption of the affected reducer (35%) is even more than that of the functions responsible for the incoming messages (27%). This implementation iterated over the received statuses multiple times across different reducers, each time processing a subset of the same data. This comes with the overhead of array function calls, creation of intermediary objects, and arrays.
Changes
Modified the getStatusesByIds action to process received statuses once, extracting and transforming all necessary data for statuses, dndEndTimes, isManualStatuses, and lastActivity reducer in a single iteration.
Improvements
By avoiding multiple iterations, we reduce the runtime complexity from O(4n) to O(n), where n is number of statuses.
Simplified reducer for user statuses, which includes statuses, dndEntTimes, isManualStatuses, lastActivity. Also created for single and multiple items of these reducers.
* Explicitly have the client tell the server when it should expect an ACK
* Don't count missing profile errors for your own posts, added comment
* Fix test
* Make postedAck a parameter in WebSocketClient
* Snapshot fixes
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
Statuses and user profiles on each new messages have to be fetched for the post users and its mentions (Blue bar), to solve that polling of these can be done. However after we did that we saw the polling of statuses and user profiles requests got considerably down but the requests to threads was relatively still higher (Pink bar).
So this improvement doesn't not fetch the root post along with the complete threads of the incoming new post from another channel.
This improved the calls to threads from 120 to just 8 calls per 2 mins an improvement of 93%.
* [MM-57718] Convert `./components/post_view/message_attachments/action_button/action_button.tsx` from Class Component to Function Component
* :refactor: improve code structure
* [MM-57722] Convert `./components/admin_console/team_channel_settings/group/group_list.tsx` from Class Component to Function Component
* :refactor: improve code structure
* Deprecate Self Serve: First Pass
* Fix ci
* Fix more ci
* Remmove outdated server tests
* Fix a missed spot opening purchase modal in Self Hosted
* Fix i18n
* Clean up some more server code, fix webapp test
* Fix alignment of button
* Fix linter
* Fix i18n server side
* Add back translation
* Remove client functions
* Put back client functions
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* [MM-57713] Convert `./components/sidebar_right_menu/sidebar_right_menu.tsx` from Class Component to Function Component
* 🎨 Improve code quality
* :refactor: Improve constants and remove unused code
This was spurious code left from old times. It's not
needed now, and it was causing a race condition with the server
side where we were setting the status to offline on
websocket disconnect. So if this request reached the server
after the status was set to offline, the status would
reset to online.
https://mattermost.atlassian.net/browse/MM-57885
```release-note
Fixed a bug where status would incorrectly get stuck to online
after user closes the tab.
```
* admin_console/license_settings/trial_banner
* invitation_modal and associated utils
* overlay trigger
* Change TrialBanner to not use makeGetCategory
* Address feedback
* Fixing unit tests D:
* Address further feedback
* Fix one last test
* tweaked dark themes and quartz theme
* refinements to themes
* tweaked denim global header color
* updates to quartz and sapphire themes
* tweaked quartz theme
* tweaks to indigo theme
* minor tweaks to themes
* update snapshots
* updated hex colors to consistent casing and updated snapshots
* [MM-57723] Convert `./components/admin_console/system_user_detail/team_list/team_list_dropdown.tsx` from Class Component to Function Component
* 🎨 Improve code quality