Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MI-3199]: Developed a table to display the existing config of plugin #5

Merged
merged 22 commits into from
Sep 1, 2023

Conversation

Kshitij-Katiyar
Copy link

@Kshitij-Katiyar Kshitij-Katiyar commented Jun 26, 2023

Summary

Added a Custom table component in admin console setting to display existing configurations of plugin

@Kshitij-Katiyar Kshitij-Katiyar changed the base branch from master to MI-3173 June 26, 2023 14:04
@Kshitij-Katiyar Kshitij-Katiyar changed the title [#MI-3199] : Developed a table to display the existing config of plugin [MI-3199] : Developed a table to display the existing config of plugin Jun 28, 2023
@Kshitij-Katiyar Kshitij-Katiyar changed the title [MI-3199] : Developed a table to display the existing config of plugin [MI-3199] : Developed a table to display the existing config of plugin Jun 28, 2023
@Kshitij-Katiyar Kshitij-Katiyar changed the title [MI-3199] : Developed a table to display the existing config of plugin [MI-3199]: Developed a table to display the existing config of plugin Jun 28, 2023
.gitignore Outdated Show resolved Hide resolved
webapp/src/index.tsx Outdated Show resolved Hide resolved
webapp/src/index.tsx Outdated Show resolved Hide resolved
webapp/src/types/mattermostWebapp/index.d.ts Outdated Show resolved Hide resolved
webapp/src/types/plugin/reduxStore.d.ts Outdated Show resolved Hide resolved
@avas27JTG
Copy link

always add screenshots for UI changes @Kshitij-Katiyar

plugin.json Outdated Show resolved Hide resolved
webapp/src/containers/components/modals/styles.css Outdated Show resolved Hide resolved
webapp/src/containers/components/tables/styles.css Outdated Show resolved Hide resolved
webapp/src/containers/components/tables/styles.css Outdated Show resolved Hide resolved
…onfig table (#6)

* [MI-3230]: Developed a modal which opens on click of view button in config table

* Added form in modal to accept the action details

* [MI-3230]: Added view Action modal

* [MI-3230]: FIxed indentation in existingConfigTable

* [MI-3230: Fixed indentation in existingConfigTable

* [MI-3230]: fixed indentation in existingConfigTable

* [MI-3230]: Fixed indentation in existingConfigTable

* [MI-3230]: Removed unwanted files from webapp

* [MI-3230]: Fixed indentation

* [MI-3230]: Removed extra padding from existingConfigTable

* [MI-3230]: Improved the name of variables

* [MI-3230]: Added eod, use type instead of interface

* [MI-3230]: Used fat arrow function instead of normal function

* [MI-3230]: Improved name of variable in editActionModal

* [MI-3230]: Fixed some review changes by Abhishek

* [MI-3230]: Added div to </> in existingConfigTable

* [MI-3230]: Added curly braces to css file

* [MI-3241] : Added delete config modal to the webapp (#7)

* [MI-3241]: Added delete config modal

* [MI-3241]: fixed indent in table

* [MI-3241]: Fixed indent in existingConfigtable

* [MI-3241]: Removed extra files from webapp

* [MI-3241]: Resolved import not found

* [MI-3241]: removed extra empty lines

* [MI-3241]: Added corejs as dependency

* [MI-3241]: removed duplicate react-dom dependency

* [MI-3242]: Improved variable name in modal

* [MI-3241]: add eod to modal files

* [MI-3241]: removed extra div wrappers

* [MI-3241]: Used fat arrow function instead of normal function

* [MI-3241]: Fixed a syntax error in existingConfigTable

* [MI-3241]: Fixed CI in existingConfigTable

* [MI-3241]: Added curly brace to css file

* [MI-3255]: Added svg icon and Tooltip (#8)

* [MI-3255]: Added svg icon as button and added tooltip

* [MI-3254]: Added add/edit config modal and add config button

* [MI-3254]: Added add config button in existing config table

* [MI-3254]: Added config and action edit modal

* [MI-3254]: Fixed css of config modal and existing config table

* [MI-3254]: Added services and utils file for plugin

* [MI-3254]: added service and util files

* [MI-3255]: Fixed some indentation

* [MI-3255]: Removed some extra lines

* [MI-3254]: Removed extra files from webapp

* [MI-3255]: removed extra files from webapp

* [MI-3255]: Fixed indentation

* [MI-3255]: Fixed indentation

* [MI-3255]: Removed extra lines and updated variable names

* [MI-3255]: added null to config variable

* [MI-3255]: Improved variable name in DeleteModal

* [MI-3255]: Improved base URL fetching

* [MI-3255]: Improved variable name to increase understandability

* [MI-3274]: Integrated config table, view action modal & delete config modal (#10)

* [MI-3275]: Fixed indentation and other lint errors

* [MI-3274]: Integrated config table, view action & delete config modal

* [MI-3274]: Used camelcase in type

* [MI-3274]: Resolved the import order issue

* [MI-3274]: Resolved import order

* [MI-3274]: Used types instead of interface

* [MI-3274]: Fixed indentation for CI

* [MI-3274]: Fixed lint CI

* [MI-3274]: Fixed conflict resolution error

* [MI-3274]: Fixed error in plugin.json

* [MI-3275]: Integrated config modal (#11)

* [MI-3275]: Integrated config modal

* [MI-3275]: destructured props in modal

* [MI-3275]: Fixed message in delete modal

* [MI-3275]: Fixed import order in modal

* [MI-3275]: Resolved missing closing tag errors

* [MI-3275]: Fixed indent for CI

* [MI-3275]: Fixed indentation errors in CI

* [MI-3275]: Removed evtra variables

* [MI-3317]: Added validations to forms and enhancements (#12)

* [MI-3317]: Added validations to forms

* [MI-3317]: added EOD to style.css

* [MI-3316]: Fixed some css

* [MI-3317]: Fixed grammar of validation messages

* [MI-3317]: Fixed grammar of validation message in action modal

* [MI-3317]: added classname to each modal

* [MI-3316]: added css to make modals stationary

* [MI-3316]: Removed some extra files

* [MI-3317]: removed some extra files

* [MI-3317]: reduced the icon size of svg icons

* [MI-3317]: Fixed grammar in actionModal message

* [MI-3317]: removed an extra comment

* [MI-3317]: Improved grammar of statements in config modal

* [MI-3317]: Fixed grammar of message

* [MI-3317]: Fixed import order

* [MI-3317]: Fixed redundant if conditions and removed extra empty lines

* [MI-3317]: Used fat-arrow function instead of normal function

* [MI-3317]: Removed camelcase from css

* [MI-3317]: Resolved conflicts and fixed CI

* [MI-3317]: Fixed indentation errors

* [MI-3317]: Improved the name of variables

* [MI-3317]: Removed else and used return with if

* [MI-3317]: Fixed the variable name in table

* [MI-3317]: Fixed CSS according to abhishek's review

* [MI-3355]: Added dropdown to choose teams and channels (#14)

* [MI-3355]: Removed extra types

* [MI-3355]: Improved message of view action modal

* [MI-3355]: removed extra packages

* [MI-3355]: Added eod to files

* [MI-3355]: Fixed adding action functionality

* [MI-3355]: Fixed the jump in UI during validation warnings

* [MI-3355]: fixed maximum nested callback in useEffect

* [MI-3355]: Fixed validation warnings in Add action modal

* [MI-3355]: Added ellipses to the tables

* [MI-3355]: updated API to fetch data in batches

* [MI-3355]: Removed comment and fixed empty lines

* [MI-3355]: Fixed css of modal visibility

* [MI-3355]: Added svg icons to different file

* [MI-3355]: Improvised the folder structure

* [MI-3355]: Improved the variable name in existingConfigTable

* [MI-3355]: Fixed error in adding new action to config with index zero

* [MI-3355]: Fixed import issue of .d.ts files

* [MI-3355]: Used fat-arrow function instead of normal functions

* [MI-3355]: Installed types and packages for js-cookie

* [MI-3355]: Setup reduxstore

* [MI-3355]: Disabled dropdown during loading state

* [MI-3355]: Improved getBaseUrl method

* [MI-3355]: Improved the API call

* [MI-3355]: Added constants and used baseUrl from redux state

* [MI-3355]: Fixed jump in UI in edit action modal

* [MI-3355]: Joined array of string with comma for messages & disabled dropdown incase of API failure

* [MI-3355]: Added type of onChange function

* [MI-3355]: Removed extra variables

* [MI-3355]: Improved the validation conditions

* [MI-3355]: Fixed css according to reviews by abhishek

* [MI-3355]: Improved visibility of action successfull message

* [MI-3355]: Used scss instead of css

* [MI-3355]: Fixed the CSS of channel-added-to content

* [MI-3355]: Added semicolons to types in common.d.ts

* Update webapp/src/components/modals/actionModal.tsx

Co-authored-by: Abhishek Verma <[email protected]>

* Update webapp/src/components/tables/existingConfigTable.tsx

Co-authored-by: Abhishek Verma <[email protected]>

* Update webapp/src/components/svgIcons/svg.tsx

Co-authored-by: Abhishek Verma <[email protected]>

* [MI-3355]: Used px instead of % in css

* [MI-3355]: Fixed some minor css

* [MI-3355]: Removed extra spaces from existingConfigTable

---------

Co-authored-by: Abhishek Verma <[email protected]>

---------

Co-authored-by: Abhishek Verma <[email protected]>

---------

Co-authored-by: Abhishek Verma <[email protected]>

---------

Co-authored-by: Abhishek Verma <[email protected]>

---------

Co-authored-by: Abhishek Verma <[email protected]>

---------

Co-authored-by: Abhishek Verma <[email protected]>

---------

Co-authored-by: Abhishek Verma <[email protected]>
@Kshitij-Katiyar Kshitij-Katiyar merged commit 3a892ff into MI-3173 Sep 1, 2023
3 checks passed
@Kshitij-Katiyar Kshitij-Katiyar deleted the MI-3199 branch September 1, 2023 06:13
Kshitij-Katiyar added a commit that referenced this pull request Sep 1, 2023
* setup webapp to the plugin

* Added else statement to cmd switch case in manifest/main.go

* [MI-3173]:Fixed the webapp registering

* [MI-3173]:Pushed node_modules

* [MI-3173]: Removed node_modules

* [MI-3173]: Removed node_modules

* Removed yarn from webapp

* Removed RHS from the plugin and other minor changes

* [MI-3173]: Fixed pluginId variable name in manifest_test.tsx

* [MI-3173]: Removed error handling files from webapp/util for now

* [MI-3173]: resolved unused imports in utils

* [MI-3173]: Removed extra blank line from utils/index.ts

* [MI-3173]: Removed some extra unnecessary files

* Removed unnecessary files

* [MI-3173]: Removed extra dependencies

* [MI-3199]: Developed a table to display the existing config of plugin (#5)

* Developed table to display existing configs of plugin

* Updated .gitignore to exclude node_modules

* Fixed .gitignore to exclude node_modules

* Developed a table to display existing config

* Developed a table to show existing plugin config

* setup redux store and add reducer to show/hide attachment message modal

* Added modal to show attachment message of config

* Removed node modules

* [MI-3199]: Removed node modules

* [MI-3199]: Removed extra todo comments

* [MI-3199]: Resolved missing imports in existingConfigTable

* [MI-3199]: removed extra folders

* [MI-3199]: Added eod to styles.css

* [MI-3199]: Fixed review comments by abhishek

* [MI-3230]: Developed a modal which opens on click of view button in config table (#6)

* [MI-3230]: Developed a modal which opens on click of view button in config table

* Added form in modal to accept the action details

* [MI-3230]: Added view Action modal

* [MI-3230]: FIxed indentation in existingConfigTable

* [MI-3230: Fixed indentation in existingConfigTable

* [MI-3230]: fixed indentation in existingConfigTable

* [MI-3230]: Fixed indentation in existingConfigTable

* [MI-3230]: Removed unwanted files from webapp

* [MI-3230]: Fixed indentation

* [MI-3230]: Removed extra padding from existingConfigTable

* [MI-3230]: Improved the name of variables

* [MI-3230]: Added eod, use type instead of interface

* [MI-3230]: Used fat arrow function instead of normal function

* [MI-3230]: Improved name of variable in editActionModal

* [MI-3230]: Fixed some review changes by Abhishek

* [MI-3230]: Added div to </> in existingConfigTable

* [MI-3230]: Added curly braces to css file

* [MI-3241] : Added delete config modal to the webapp (#7)

* [MI-3241]: Added delete config modal

* [MI-3241]: fixed indent in table

* [MI-3241]: Fixed indent in existingConfigtable

* [MI-3241]: Removed extra files from webapp

* [MI-3241]: Resolved import not found

* [MI-3241]: removed extra empty lines

* [MI-3241]: Added corejs as dependency

* [MI-3241]: removed duplicate react-dom dependency

* [MI-3242]: Improved variable name in modal

* [MI-3241]: add eod to modal files

* [MI-3241]: removed extra div wrappers

* [MI-3241]: Used fat arrow function instead of normal function

* [MI-3241]: Fixed a syntax error in existingConfigTable

* [MI-3241]: Fixed CI in existingConfigTable

* [MI-3241]: Added curly brace to css file

* [MI-3255]: Added svg icon and Tooltip (#8)

* [MI-3255]: Added svg icon as button and added tooltip

* [MI-3254]: Added add/edit config modal and add config button

* [MI-3254]: Added add config button in existing config table

* [MI-3254]: Added config and action edit modal

* [MI-3254]: Fixed css of config modal and existing config table

* [MI-3254]: Added services and utils file for plugin

* [MI-3254]: added service and util files

* [MI-3255]: Fixed some indentation

* [MI-3255]: Removed some extra lines

* [MI-3254]: Removed extra files from webapp

* [MI-3255]: removed extra files from webapp

* [MI-3255]: Fixed indentation

* [MI-3255]: Fixed indentation

* [MI-3255]: Removed extra lines and updated variable names

* [MI-3255]: added null to config variable

* [MI-3255]: Improved variable name in DeleteModal

* [MI-3255]: Improved base URL fetching

* [MI-3255]: Improved variable name to increase understandability

* [MI-3274]: Integrated config table, view action modal & delete config modal (#10)

* [MI-3275]: Fixed indentation and other lint errors

* [MI-3274]: Integrated config table, view action & delete config modal

* [MI-3274]: Used camelcase in type

* [MI-3274]: Resolved the import order issue

* [MI-3274]: Resolved import order

* [MI-3274]: Used types instead of interface

* [MI-3274]: Fixed indentation for CI

* [MI-3274]: Fixed lint CI

* [MI-3274]: Fixed conflict resolution error

* [MI-3274]: Fixed error in plugin.json

* [MI-3275]: Integrated config modal (#11)

* [MI-3275]: Integrated config modal

* [MI-3275]: destructured props in modal

* [MI-3275]: Fixed message in delete modal

* [MI-3275]: Fixed import order in modal

* [MI-3275]: Resolved missing closing tag errors

* [MI-3275]: Fixed indent for CI

* [MI-3275]: Fixed indentation errors in CI

* [MI-3275]: Removed evtra variables

* [MI-3317]: Added validations to forms and enhancements (#12)

* [MI-3317]: Added validations to forms

* [MI-3317]: added EOD to style.css

* [MI-3316]: Fixed some css

* [MI-3317]: Fixed grammar of validation messages

* [MI-3317]: Fixed grammar of validation message in action modal

* [MI-3317]: added classname to each modal

* [MI-3316]: added css to make modals stationary

* [MI-3316]: Removed some extra files

* [MI-3317]: removed some extra files

* [MI-3317]: reduced the icon size of svg icons

* [MI-3317]: Fixed grammar in actionModal message

* [MI-3317]: removed an extra comment

* [MI-3317]: Improved grammar of statements in config modal

* [MI-3317]: Fixed grammar of message

* [MI-3317]: Fixed import order

* [MI-3317]: Fixed redundant if conditions and removed extra empty lines

* [MI-3317]: Used fat-arrow function instead of normal function

* [MI-3317]: Removed camelcase from css

* [MI-3317]: Resolved conflicts and fixed CI

* [MI-3317]: Fixed indentation errors

* [MI-3317]: Improved the name of variables

* [MI-3317]: Removed else and used return with if

* [MI-3317]: Fixed the variable name in table

* [MI-3317]: Fixed CSS according to abhishek's review

* [MI-3355]: Added dropdown to choose teams and channels (#14)

* [MI-3355]: Removed extra types

* [MI-3355]: Improved message of view action modal

* [MI-3355]: removed extra packages

* [MI-3355]: Added eod to files

* [MI-3355]: Fixed adding action functionality

* [MI-3355]: Fixed the jump in UI during validation warnings

* [MI-3355]: fixed maximum nested callback in useEffect

* [MI-3355]: Fixed validation warnings in Add action modal

* [MI-3355]: Added ellipses to the tables

* [MI-3355]: updated API to fetch data in batches

* [MI-3355]: Removed comment and fixed empty lines

* [MI-3355]: Fixed css of modal visibility

* [MI-3355]: Added svg icons to different file

* [MI-3355]: Improvised the folder structure

* [MI-3355]: Improved the variable name in existingConfigTable

* [MI-3355]: Fixed error in adding new action to config with index zero

* [MI-3355]: Fixed import issue of .d.ts files

* [MI-3355]: Used fat-arrow function instead of normal functions

* [MI-3355]: Installed types and packages for js-cookie

* [MI-3355]: Setup reduxstore

* [MI-3355]: Disabled dropdown during loading state

* [MI-3355]: Improved getBaseUrl method

* [MI-3355]: Improved the API call

* [MI-3355]: Added constants and used baseUrl from redux state

* [MI-3355]: Fixed jump in UI in edit action modal

* [MI-3355]: Joined array of string with comma for messages & disabled dropdown incase of API failure

* [MI-3355]: Added type of onChange function

* [MI-3355]: Removed extra variables

* [MI-3355]: Improved the validation conditions

* [MI-3355]: Fixed css according to reviews by abhishek

* [MI-3355]: Improved visibility of action successfull message

* [MI-3355]: Used scss instead of css

* [MI-3355]: Fixed the CSS of channel-added-to content

* [MI-3355]: Added semicolons to types in common.d.ts

* Update webapp/src/components/modals/actionModal.tsx

Co-authored-by: Abhishek Verma <[email protected]>

* Update webapp/src/components/tables/existingConfigTable.tsx

Co-authored-by: Abhishek Verma <[email protected]>

* Update webapp/src/components/svgIcons/svg.tsx

Co-authored-by: Abhishek Verma <[email protected]>

* [MI-3355]: Used px instead of % in css

* [MI-3355]: Fixed some minor css

* [MI-3355]: Removed extra spaces from existingConfigTable

---------

Co-authored-by: Abhishek Verma <[email protected]>

---------

Co-authored-by: Abhishek Verma <[email protected]>

---------

Co-authored-by: Abhishek Verma <[email protected]>

---------

Co-authored-by: Abhishek Verma <[email protected]>

---------

Co-authored-by: Abhishek Verma <[email protected]>

---------

Co-authored-by: Abhishek Verma <[email protected]>

---------

Co-authored-by: Abhishek Verma <[email protected]>

---------

Co-authored-by: Abhishek Verma <[email protected]>

---------

Co-authored-by: Abhishek Verma <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants