generated from mattermost/mattermost-plugin-starter-template
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new plugin setting to toggle button visibility in team sidebar (#114
) * Add new action type to toggle team sidebar * Add new setting into plugin for system console * Add new reducer to manage team sidebar visibilty * Add new key to server configuration - Fix plugin key name * Add new action to toggle team sidebar visibility * Add new APIs for config update - Add API to retrieve config - Add WebSocket event to frontend to update config * Send WebSocket event on config update * Add visible flag to team sidebar component - Map visibility state to component prop * Add config update task to plugin base - Retrieve config on initialization - Register WebSocket event for config update * Update system console setting description * Fix lint errors * Rename key for plugin setting * Change reducer and action name * Change config endpoint to return client config * Change WebSocket event to directly update config * Remove unneeded variable Co-authored-by: Michael Kochell <[email protected]> * Dispatch WebSocket event if there are changes * Rename selector for clarity * Rename action type for clarity * Fix lint errors * Rename variable * Add null check for config to fix first setup Co-authored-by: Michael Kochell <[email protected]>
- Loading branch information
1 parent
ccfcd25
commit c865928
Showing
10 changed files
with
136 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters