* Switch Utils.isMobile to getIsMobileView in most places
* Copy Utils.isMobile into menu widgets
* Actually remove Utils.isMobile
* Remove pointless checkAndSetMobileView action
* Fix incorrect import of UserProfile
* Fix unit test
* Remove unused Utils.scrollbarWidth
* Remove pointless checkAndSetMobileView action
* Fix CommentedOn using un-connected version of UserProfile component
* Turn Utils.getMenuItemIcon into ActionsMenuIcon component
* Remove Utils.isPostEphemeral in favour of mattermost-redux version
* Remove Utils.getRootId and Utils.getRootPost
* Move Utils.compareChannels into ChannelSelectorModal
* Address feedback
* Revert "Fix CommentedOn using un-connected version of UserProfile component"
This reverts commit bdd113ee95.
* MM-54191 Change how menu item click handlers are triggered after menus fully close
* Switch menu items to use onClick instead of onMouseDown
* Add unit tests for menu keyboard navigation and opening modals
* Fix missing use of useMenuContextValue
* Remove unneeded ?.
* Fix unrelated test broken by @testing-library/user-event update
* add ability to restore groups from the user group modal
* factory selector for groups to reduce number of renders across the app
* react window and infinite scroll for user groups
* adding archive groups to dropdown
* restore user group from the view modal
* component cleanup
* lint
* adding websocket for archiveGroup
* updating tests
* adding some tests and fixing types
* lint
* fixing broken test
* fixing snapshot
* fixing infinitescroll
* lint
* increasing max-height and updating snapshots
* fixing PR comments
* fixing case for button
* snapshot and translation
* fixing PR comments
* tiding up repition and creating new hook
* fixing tests
* add additional parammeter for call to getGroups()
* make sure popup is visible for all rows
* update text for admin console
* update css for lint
* fix edge cases found in review
* revert package-lock.json
* revert adding query to GetGroupsParam
* fixing lint
* change include_archived to false in team_controller
---------
Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MacBook-Pro.local>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
* MM-27936: Resize sidebar
* separate sidebar related constants into different file
* reset style when sidebar expanded
* change not to save user_id when saving to local_storage
* prevent a separation between the rhs and the main center panel
* change variable name
* migrate to css-based paradigm
* delete unnecessary files
* update snapshot
* increase the resizable range
* fix transition
* Made RHS and LHS widths not be saved scoped by team
* scope cleanup
* fix lhs header menu ellipsis/tolerances
* fix lint
* remove a ref from a dependency
* return null instead of empty jsx
* return null when disabled
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Caleb Roseland <caleb@calebroseland.com>
* [MM-37984] Allow Desktop App to authenticate via external providers outside of the app on supported servers
* PR feedback
* Add support for mattermost-dev protocol for development use
* Update server/channels/db/migrations/postgres/000110_create_desktop_tokens.up.sql
* Fix silly typo
* Update server/channels/db/migrations/postgres/000110_create_desktop_tokens.up.sql
* Remove storage of client token, only validate it on the client
* Update migrations
* Add concurrently create index
* Remove CONCURRENTLY for now
* Fix issue with changing history
* Remove old migration
* Use idempotent statement to drop old index
* Remove reference to old table
* initial submit, join/leave message
* i18n-extract
* additional changes for client config
* add unit tests
* fix unit tests
* change tests to use string not bool
* more unit test fixes
* add and fix unit tests
* revert package-lock
* update unit tests
* Update default_config.ts
* fix unit test
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* MM-53989 Update to Node 18 and NPM 9
* MM-53989 Remove skip_integrity_check.js
* Force e2e-test/cypress to use its version of TS for types package
* Update .nvmrc
* Update .nvmrc lineending
* Update server.override.yml
---------
Co-authored-by: M-ZubairAhmed <m-zubairahmed@protonmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
* Sync giphy package versions in package-lock.json file
The versions were added automatically after starting the server, so seems like lock file is not synced
* Use main user_profile component in commented_on to fix displayName
* Refactor commented_on component from class to dumb/function component
* Resolved comments and make eslint happy
* Remove display name prop being passed to UserProfile component
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* Add support for actions in the unreads bar from plugins
* Adding channelId as parameter
* Fixing linter errors
* Changing the extensibility to the new messages separator
* Making everything work with the plugin
* Fixing linter and types errors
* Fixing unit test
* Tiny improvement in the styles
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* Cherry-pick test changes from #24243
* Add required change from Saturn's PR to make reminder menu accessible
* MM-53999 Flip provider order so that MUI props are passed
* MM-53999 Pass MUI props through custom MenuItem components
* Address feedback
* Update snapshots
* Updates getProfilesAndStatusesForPosts to fetch nonexisting custom groups
* Fix linter
* Rename method
* Adds an action test
* Using a set on loadedProfiles instead of an array
* [MM-32576] Text copied from Microsoft OneNote pastes as an image
* [MM-32576] Text copied from Microsoft OneNote pastes as an image (linter and tests fix)
* [MM-32576] Text copied from Microsoft OneNote pastes as an image (E2E tests fix: mock clipboardData.getData())
---------
Co-authored-by: Andrey Karavashkin <akaravashkin@stsoft.ru>