Skip to content

Commit

Permalink
feat(FE): add global plugin (#1106)
Browse files Browse the repository at this point in the history
* feat: init global plugin

* feat: init list page

* feat: update plugin list page interaction

* feat: refactor codeMirror

* feat: dont validateData when disable

* feat: update

* feat: init plugin config

* feat: add schemaType in PluginDetail

* feat: use drawer to render pluginDetail

* global plugin access interface

* feat: add plugin sort

* fix: license

* feat: add scope type

* style: format codes

* feat: update global plugin

* feat: add card background

* fix: consumer e2e

* fix: lint

Co-authored-by: juzhiyuan <[email protected]>
  • Loading branch information
LiteSun and juzhiyuan authored Dec 30, 2020
1 parent 4317a5f commit 45d79b6
Show file tree
Hide file tree
Showing 26 changed files with 756 additions and 334 deletions.
8 changes: 8 additions & 0 deletions web/config/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@ const routes = [
path: '/consumer/:username/edit',
component: './Consumer/Create',
},
{
path: '/plugin/list',
component: './Plugin/List',
},
{
path: '/plugin/market',
component: './Plugin/PluginMarket',
},
{
path: '/service/list',
component: './Service/List',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ context('Create and Delete Consumer', () => {
cy.contains(domSelectors.pluginsCard, 'key-auth').within(() => {
cy.get('button').first().click();
});

cy.get('#disable').click();
// edit codemirror
cy.get('.CodeMirror')
.first()
Expand Down
143 changes: 0 additions & 143 deletions web/src/components/Plugin/CodeMirrorDrawer.tsx

This file was deleted.

Loading

0 comments on commit 45d79b6

Please sign in to comment.