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: dashboard support windows #2619

Merged
merged 12 commits into from
Sep 30, 2022
Merged

feat: dashboard support windows #2619

merged 12 commits into from
Sep 30, 2022

Conversation

FangSen9000
Copy link
Contributor

@FangSen9000 FangSen9000 commented Sep 19, 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?

It is better to use node.js to implement the copy command than cp, which can also be run on Windows.

image

image

Related issues

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

@codecov-commenter
Copy link

codecov-commenter commented Sep 19, 2022

Codecov Report

Merging #2619 (cd825f2) into master (16c3e3e) will increase coverage by 5.23%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2619      +/-   ##
==========================================
+ Coverage   70.99%   76.23%   +5.23%     
==========================================
  Files         119      139      +20     
  Lines        3275     3694     +419     
  Branches      800      872      +72     
==========================================
+ Hits         2325     2816     +491     
+ Misses        950      878      -72     
Flag Coverage Δ
frontend-e2e-test 76.23% <ø> (+5.23%) ⬆️

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

Impacted Files Coverage Δ
...pages/SSL/components/CertificateUploader/index.tsx 4.16% <0.00%> (ø)
...eb/src/pages/PluginTemplate/components/Preview.tsx 100.00% <0.00%> (ø)
web/src/pages/Setting/Setting.tsx 94.59% <0.00%> (ø)
web/src/pages/PluginTemplate/Create.tsx 86.66% <0.00%> (ø)
web/src/pages/PluginTemplate/components/Step1.tsx 37.50% <0.00%> (ø)
web/src/pages/User/Login.tsx 60.00% <0.00%> (ø)
web/src/pages/SSL/components/Step1/index.tsx 40.00% <0.00%> (ø)
web/src/pages/PluginTemplate/List.tsx 71.42% <0.00%> (ø)
.../src/pages/User/components/LoginMethodPassword.tsx 88.46% <0.00%> (ø)
web/src/pages/SSL/Create.tsx 84.21% <0.00%> (ø)
... and 46 more

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

@FangSen9000 FangSen9000 marked this pull request as ready for review September 19, 2022 13:25
@FangSen9000
Copy link
Contributor Author

FangSen9000 commented Sep 19, 2022

@guoqqqi @Baoyuantop @bzp2010 @SkyeYoung Use node.js is better than 'cp' in implementing the copy command, which can also be run on Windows, which will provide more support for dashboard

@Baoyuantop
Copy link
Contributor

Please make CI pass, thanks.

@FangSen9000
Copy link
Contributor Author

FangSen9000 commented Sep 30, 2022

Please make CI pass, thanks.

@Baoyuantop @guoqqqi @bzp2010 @SkyeYoung

All test cases of Dashboard have been repaired and passed, and the issue#2615 can be closed.

image
image

@SkyeYoung
Copy link
Member

cc @Baoyuantop @bzp2010

Copy link
Member

@guoqqqi guoqqqi left a comment

Choose a reason for hiding this comment

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

Good job!

@guoqqqi
Copy link
Member

guoqqqi commented Sep 30, 2022

Hello, @FangSen9000 Can you help to resolve the conficts

@guoqqqi guoqqqi merged commit e68b3aa into apache:master Sep 30, 2022
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.

5 participants