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: ant-table unable to request #2641

Merged
merged 6 commits into from
Nov 6, 2022
Merged

Conversation

HaLibrary
Copy link
Contributor

@HaLibrary HaLibrary commented Oct 14, 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?

Accoding to this idea ( ant-design/pro-components#1921 ) , I upgraded its version.

Related issues

fix/resolve #2613

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

@Baoyuantop
Copy link
Contributor

Hi @Huanghaiting, can you help get the CI passed?
For failed frontend e2e tests, you can verify locally. Refer to https://apisix.apache.org/docs/dashboard/front-end-e2e/

@codecov-commenter
Copy link

codecov-commenter commented Oct 18, 2022

Codecov Report

Merging #2641 (b80e6b9) into master (e68b3aa) will decrease coverage by 12.27%.
The diff coverage is 87.05%.

❗ Current head b80e6b9 differs from pull request most recent head bece36a. Consider uploading reports for the commit bece36a to get more accurate results

@@             Coverage Diff             @@
##           master    #2641       +/-   ##
===========================================
- Coverage   68.29%   56.02%   -12.28%     
===========================================
  Files         139      133        -6     
  Lines        3694     3618       -76     
  Branches      872      854       -18     
===========================================
- Hits         2523     2027      -496     
- Misses       1171     1591      +420     
Flag Coverage Δ
frontend-e2e-test 56.02% <87.05%> (-12.28%) ⬇️

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

Impacted Files Coverage Δ
web/src/pages/Route/List.tsx 56.02% <16.66%> (-2.73%) ⬇️
web/src/pages/Route/Create.tsx 79.52% <80.00%> (-3.81%) ⬇️
web/src/components/ActionBar/ActionBar.tsx 76.92% <100.00%> (ø)
web/src/pages/Consumer/List.tsx 87.80% <100.00%> (-3.87%) ⬇️
web/src/pages/Proto/List.tsx 100.00% <100.00%> (ø)
...b/src/pages/Proto/components/ProtoDrawer/index.tsx 88.88% <100.00%> (+0.42%) ⬆️
web/src/pages/SSL/Create.tsx 86.04% <100.00%> (+1.83%) ⬆️
web/src/pages/SSL/List.tsx 88.46% <100.00%> (+3.46%) ⬆️
web/src/pages/Service/Create.tsx 95.00% <100.00%> (+0.35%) ⬆️
web/src/pages/Service/List.tsx 94.87% <100.00%> (+0.75%) ⬆️
... and 29 more

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

@guoqqqi
Copy link
Member

guoqqqi commented Oct 18, 2022

Hello, @Huanghaiting It looks like the test failed because some dom names changed due to the upgrade, you need to confirm and change the correct dom names:
image

@Baoyuantop
Copy link
Contributor

Hi @Huanghaiting, the frontend E2E tests are not very stable, so if there is an error, but it is verified locally by you, please let us know to help you re-run it.

@HaLibrary HaLibrary closed this Oct 21, 2022
@HaLibrary HaLibrary reopened this Oct 21, 2022
@Baoyuantop Baoyuantop requested a review from guoqqqi October 24, 2022 07:15
@bzp2010 bzp2010 merged commit b5672b6 into apache:master Nov 6, 2022
@bzp2010 bzp2010 changed the title fix:ant-table unable to request(#2613) fix: ant-table unable to request Nov 6, 2022
@bzp2010
Copy link
Contributor

bzp2010 commented Nov 6, 2022

@Huanghaiting Thank you for your contribution.

bzp2010 pushed a commit to bzp2010/apisix-dashboard that referenced this pull request Nov 6, 2022
Co-authored-by: 黄海婷 <[email protected]>

(cherry picked from commit b5672b6)
hongbinhsu added a commit to fitphp/apix-dashboard that referenced this pull request Nov 7, 2022
* upstream/master:
  fix: change default CSP value (apache#2601)
  fix: ant-table unable to request (apache#2641)
  fix: plugin_config missing on service exist (apache#2657)
  feat: add etcd store auto re-initialize (apache#2650)
  feat: add login filter of OpenID-Connect (apache#2608)
  feat:Configure plug-ins to support this feature (apache#2647)
  feat: Adding a Loading state to buttons (apache#2630)
  feat: dashboard support windows (apache#2619)
  Feat: add tip and preset model for plugin editor, improve e2e stability (apache#2581)
  docs: add Slack invitation link badge (apache#2617)

# Conflicts:
#	.github/workflows/backend-cli-test.yml
#	Dockerfile
#	api/test/shell/cli_test.sh
#	web/src/components/Footer/index.tsx
#	web/src/components/RightContent/index.tsx
#	web/src/pages/ServerInfo/List.tsx
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.

chrome 浏览器无限loading
6 participants