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

feat(plugin): allowing limit-req to dynamically adapt to the BE rules #1995

Merged
merged 2 commits into from
Jul 31, 2021

Conversation

wmdmomo
Copy link
Contributor

@wmdmomo wmdmomo commented Jul 24, 2021

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?

The PR will change the plugin under plugin/UI (limit-req), allowing limit-req to dynamically adapt to the back-end json rules.

Related issues

fix/resolve #1588

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

@netlify
Copy link

netlify bot commented Jul 24, 2021

✔️ Deploy Preview for apisix-dashboard ready!

🔨 Explore the source changes: 102c929

🔍 Inspect the deploy log: https://app.netlify.com/sites/apisix-dashboard/deploys/60fbaaefaad3dd0008355d36

😎 Browse the preview: https://deploy-preview-1995--apisix-dashboard.netlify.app/

@codecov-commenter
Copy link

Codecov Report

Merging #1995 (8fb5293) into master (0b5196f) will decrease coverage by 0.04%.
The diff coverage is 100.00%.

❗ Current head 8fb5293 differs from pull request most recent head 102c929. Consider uploading reports for the commit 102c929 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1995      +/-   ##
==========================================
- Coverage   64.01%   63.97%   -0.05%     
==========================================
  Files         122      122              
  Lines        3154     3156       +2     
  Branches      753      753              
==========================================
  Hits         2019     2019              
- Misses       1135     1137       +2     
Flag Coverage Δ
frontend-e2e-test 63.97% <100.00%> (-0.05%) ⬇️

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

Impacted Files Coverage Δ
web/src/components/Plugin/PluginDetail.tsx 65.82% <100.00%> (+0.21%) ⬆️
web/src/components/Plugin/UI/limit-req.tsx 100.00% <100.00%> (ø)
web/src/components/Plugin/UI/plugin.tsx 82.60% <100.00%> (ø)
web/src/helpers.tsx 68.85% <0.00%> (-3.28%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0b5196f...102c929. Read the comment docs.

@LiteSun LiteSun changed the title feat(plugin): fix UI limit-req feat(plugin): allowing limit-req to dynamically adapt to the BE rules Jul 26, 2021
@juzhiyuan juzhiyuan merged commit 446377d into apache:master Jul 31, 2021
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.

Optimize front-end validation of fields
7 participants