* Create Desktop API module, migrate message passing code
* Changes to use new API
* Use Desktop API to notify when mentions/unreads/expired changes
* Expose Desktop App module to plugins
* Fix lint
* PR feedback
* Fixed an issue where I forgot to check if the method exists first
* Slight API changes
* Fix package
* Convert all to class, add comments, small reworks for PR feedback
* feat: add link to teams dropdown menu
* fix: refactor link to separate component and update styles
* feat: add academy link to team's join page and settings modal
* fix: i18n and update test snapshots
* fix link styles & update test snapshot
* add state for unit tests
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
* MM-54814: Convert ./components/widgets/menu/menu_group.tsx from Class Component to Function Component
Signed-off-by: Nicolas Le Cam <niko.lecam@gmail.com>
* review: Don't rerender component if props are unchanged
Signed-off-by: Nicolas Le Cam <niko.lecam@gmail.com>
* Fix tests
Signed-off-by: Nicolas Le Cam <niko.lecam@gmail.com>
---------
Signed-off-by: Nicolas Le Cam <niko.lecam@gmail.com>
- Adds a new section under settings/notifications for adding custom multi-word keywords that get highlighted without notification
- Adds a new classname for highlighting words although the styling is the same as mentions highlights
- Added a few components to the ReduxFromProps pattern
- Adds supported type for the hook of PluginComponent type
- Add upsell for highlight without notification
- Moved 'setting_item.tsx' to the components folder
- Improved prop names and function structure for setting_item, setting_item_max and setting_item_min
- Moved 'toggle_modal_button.tsx' to the components folder
- Removed t and utility messages from a few components
- Fixed bug where the tooltip was not getting rendered on restrictedButtons
- Improved the mobile view of the settings modal
- Adds E2E for the feature
* Export thread components
* Exporting AdvancedCreateComment
* Expose components needed for the ai plugin new interface
* Exporting the placeholder for the plugin CreatePost component, and simplify the export
* Fixing linter errors
* Fixing type errors
* Reverting typescript related changes
* Cheating typescript to keep the changes as minimal as possible
* Fix linter errors
* #24774 Converted ./plugins/rhs_plugin/rhs_plugin.tsx to Function Component
* Fixed the lint errors and removed explicit FC type
* Added memo to make the functional component pure.
* Migrating some files to typescript
* Some other files migrated
* Migrating more javascript to typescript
* Migrating more javascript to typescript
* Fixing types
* Fixing linter errors
* Fixing some imports
* Fixing linter errors
* Renaming the snapshots
* Addressing PR review comments
* Enable import order
* Add new order groups and add consistent-type-imports
* Remove types group, move react to top and fix issues
* Add store and reducers to the redux group and move imports from types folder to the end
* Fix tsc
* Remove react rule
* Fix test
* Fix eslint disable
* 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>
* Adding PostAction plugin hook
* Adding missing doc string
* WIP
* Simplifying it
* Adding support for selected text
* fixing linter errors
* Adding support for the plugin editor action in the thread view
* Fixing ci check-types
* Addressing PR review comments
* Fix linter error in CI
* Fixing tests
* calls will notify in GM/DM channels for call started posts
* fix types
* add registerDesktopNotificationHook
* remove callsWillNotify
* cleanup unused types
* use an args object to shorten params
* add CUSTOM_CALLS_RECORDING to constants
* prevent media keys from controlling calls ring sounds
* stop ring on pause
* expose notifyMe as sendDesktopNotificationToMe
* Revert "stop ring on pause"
This reverts commit 83d62ad02db9acc7684a1f352d798ffc74e665d8.
* Revert "prevent media keys from controlling calls ring sounds"
This reverts commit 6d4ff63936674034adda84fc258bcafe71734cab.
* move into WebappUtils
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* Remove build references
* Remove playbooks webapp and server, and add the prepackaged plugin
* Remove translations
* Add ProductSettings to the playwright type
* Restore playbooks as a prepackaged plugin for cypress e2e tests
* add calls sounds; add calls options to settings panel
* i18n
* fix types; tests
* tests
* expose notificationSounds to plugins
* fix bad version reference
* the real fix
* turn off any currentRing if new ring is requested
* refactor isCallsEnabled into a selector
* fix version fallback
* remove unused vars
* merge conflicts
* stop notification rings on exits
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* Prevent boards product from being included automatically
* Fix config diff test
* Update prepackaged plugin version
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
* Readd boards/dist to the gitignore
* Does not enable the focalboard plugin by default
* Update plugin version to v7.10.3
---------
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
* create config setting to enable/disable playbooks product
* fix to config name
* fix typo
* revert changes to package-lock.json
* update name of test
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* eslint format lib to root
* eslint fixes
* no id rule removed
* same rectintl
* try 1
* eslint format lib to root
* eslint fixes
* no id rule removed
* same rectintl
* react intl in root
* type fix
* add back version to components
* missing translations added
* remove type casting
* a
* type fix formatjs
* snaps updated
* Update package-lock.json
* Update package-lock.json
* rem
* snapshot updates
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
Picks out formatjs-eslint-plugin to webapp root. Updates react-intl to 6.3.2 in all products. Executed i18n-extract and checked if any translations got changed. Although it was a major version update, the only breaking change was for a vue peer dependency. Adds "*" to take whatever dependency rule to products and declare the react-intl as the root package. Fixes a few lint and type errors cropped in due to the update No-ID rule removed from playbooks in preparation for unifying practices across products. Lastly, a few missing translations in Playbooks added
* Adds support for public routes on shared boards
* Fix linter
* Address review comments
* Update playbooks registerProduct call
* Use boards product config for setting
* update additional product locations for parameter changes
* fixes for read-only when logged in
* turn off global header and don't initialize plugin if shared board
* fix unit tests
* revert package-lock.json
* more fixes
* Remove FF check for system console setting for boards
* update tests, Product boards is displayed in system console
* only check products section of config
* update test for config change
---------
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
* Add new trial form to enrich trial requests with more customer info
* Update snapshots
* One more addition
* Fixes from PR feedback
* Fix types, i18n, update e2e tests
* Fix linter
* Fix i18n?
* Fix blank translation
* update snapshot
* Update snapshot properly
* Remove inapplicable test
* Fix business email validation only happening once
* UX Feedback
* Fix linter
* Fix linter again, not working locally
* FIX LINTER
* Move isvalid check until after some fields are set
* Fix for overlapping modals
* Fix linter
* UX feedback
* UX Feedback
* Fix typo in error modal
* [MM-51551] Add new Trial Form to Playbooks trial requests (#22650)
* Playbooks start trial entrypoints opens new trial form modal
* Fix style
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* [MM-51347] Trial form error modal for embargoed and air gapped entities (#22656)
* Playbooks start trial entrypoints opens new trial form modal
* Add support for air gapped environments when making trial requests
* Add specific handling for embargoed entities
* undo some code
* Fix linter
* Fix types
* Fix style
* Updates because TE has to upgrade to E0 before it can activate a trial
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
---------
Co-authored-by: Mattermost Build <build@mattermost.com>