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: Use Vite instead of webpack #641

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

RE-yura
Copy link
Contributor

@RE-yura RE-yura commented Sep 30, 2023

Contributor License Agreement

This repository (optuna-dashboard) and Goptuna share common code.
This pull request may therefore be ported to Goptuna.
Make sure that you understand the consequences concerning licenses and check the box below if you accept the term before creating this pull request.

  • I agree this patch may be ported to Goptuna by other Goptuna contributors.

Reference Issues/PRs

What does this implement/fix? Explain your changes.

Vite was installed in place of Webpack.
The server is started with Vite in development and served as a static file built with Vite in production by the API server.
Maintenance has been made a bit easier by cutting out the source code for the web client, which used to be in optuna_dashboard/ts, into optuna_dashboard_client/web.

  • Unfinished tasks
    • Addition of README
    • Deletion of existing client-side files
      • In addition to optuna_dashboard/ts, it should be possible to remove package.json and other files in the root directory. Also, I would like to move the TypeScript related test files to a new directory.

@@ -1,75 +1,123 @@
<!DOCTYPE html>
<!doctype html>
Copy link
Member

Choose a reason for hiding this comment

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

Should we list this file on .gitignore?

@codecov
Copy link

codecov bot commented Sep 30, 2023

Codecov Report

Merging #641 (5668216) into main (0eae639) will decrease coverage by 0.02%.
Report is 14 commits behind head on main.
The diff coverage is 63.63%.

@@            Coverage Diff             @@
##             main     #641      +/-   ##
==========================================
- Coverage   62.45%   62.44%   -0.02%     
==========================================
  Files          35       35              
  Lines        2224     2234      +10     
==========================================
+ Hits         1389     1395       +6     
- Misses        835      839       +4     
Files Coverage Δ
optuna_dashboard/_app.py 56.01% <63.63%> (+0.11%) ⬆️

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

@c-bata c-bata assigned c-bata and unassigned c-bata Oct 2, 2023
Copy link

github-actions bot commented Dec 5, 2023

This pull request has not seen any recent activity.

@github-actions github-actions bot added the stale for stale bot label Dec 5, 2023
@c-bata c-bata added no-stale Exempt from stale bot and removed stale for stale bot labels Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-stale Exempt from stale bot sprint-20230930
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants