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

fix: drawer components delete plugin not working #2573

Merged
merged 5 commits into from
Aug 15, 2022

Conversation

Morakes
Copy link
Contributor

@Morakes Morakes commented Aug 6, 2022

Please answer these questions before submitting a pull request, or your PR will get closed.

Why submit this pull request?

  • Bugfix
  • New feature provided
  • Improve performance
  • Backport patches

What changes will this PR take into?

Please update this section with detailed description.

Related issues

fix/resolve #2572

Checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added corresponding test cases?
  • Have you modified the corresponding document?
  • Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

@Morakes Morakes changed the title fix/plugin-dwarer-component fix: drawer components delete plugin not working Aug 6, 2022
@codecov-commenter
Copy link

codecov-commenter commented Aug 7, 2022

Codecov Report

Merging #2573 (5969525) into master (adcd2e3) will increase coverage by 0.13%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #2573      +/-   ##
==========================================
+ Coverage   75.92%   76.05%   +0.13%     
==========================================
  Files         136      136              
  Lines        3576     3588      +12     
  Branches      864      865       +1     
==========================================
+ Hits         2715     2729      +14     
+ Misses        861      859       -2     
Flag Coverage Δ
frontend-e2e-test 76.05% <100.00%> (+0.13%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
web/src/components/Plugin/PluginPage.tsx 98.85% <100.00%> (+0.02%) ⬆️
web/src/pages/Plugin/List.tsx 95.91% <100.00%> (+0.17%) ⬆️
web/src/pages/Plugin/PluginMarket.tsx 100.00% <100.00%> (ø)
web/src/pages/Route/List.tsx 76.72% <0.00%> (+2.38%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

web/src/pages/Plugin/PluginMarket.tsx Outdated Show resolved Hide resolved
web/src/pages/Plugin/List.tsx Outdated Show resolved Hide resolved
web/src/components/Plugin/PluginPage.tsx Outdated Show resolved Hide resolved
web/src/components/Plugin/PluginPage.tsx Outdated Show resolved Hide resolved
@guoqqqi
Copy link
Member

guoqqqi commented Aug 8, 2022

also cc @SkyeYoung @Baoyuantop PTAL

@guoqqqi
Copy link
Member

guoqqqi commented Aug 11, 2022

also cc @SkyeYoung PTAL

Comment on lines 53 to 55
plugins: {
...initialData,
...pluginsData,
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there is only one left, there is no need to expand the operation.

@guoqqqi guoqqqi merged commit 80029c6 into apache:master Aug 15, 2022
hongbinhsu pushed a commit to fitphp/apix-dashboard that referenced this pull request Sep 10, 2022
* upstream/master: (23 commits)
  feat: Add config struct of OpenID-Connect Login (apache#2597)
  feat: set serverUrlMap with env, update cypress, update stylelint (apache#2583)
  chore: fix function name typo (apache#2599)
  fix: page refresh causes deletion exception (apache#2593)
  feat: support show all enable plugin list tab (apache#2585)
  fix: drawer components delete plugin not working (apache#2573)
  feat: add batch delete function for route (apache#2502)
  test: reduce fe ci time (apache#2557)
  doc(csp): add correct csp rule (apache#2548)
  doc: add a notice about the compatibility of Ingress and Dashboard (apache#2552)
  fix: add judgement for last_report_time (apache#2551)
  fix: cli test invalid etcd (apache#2544)
  feat: fix actions version to root version (apache#2521)
  fix: duplicate ID (apache#2501)
  fix: block arbitrary file index (apache#2497)
  docs: update deploy-with-docker.md (apache#2472)
  feat: translating Turkish for new features (apache#2487)
  docs: add new import and export docs to sidebar (apache#2485)
  docs: add data loader and new OpenAPI 3 loader (apache#2484)
  feat: support data loader in frontend (apache#2480)
  ...

# Conflicts:
#	api/internal/route.go
#	web/config/defaultSettings.ts
#	web/yarn.lock
bzp2010 pushed a commit to bzp2010/apisix-dashboard that referenced this pull request Oct 31, 2022
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.

The drawer component cannot delete plugins
7 participants