-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[browserstack benchmark tool] Move CodeSnippet from backend to frontend #6738
Conversation
@pyu10055 Thank you for the suggestion! It is updated and is ready for reviewing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 3 of 3 files at r1, 3 of 3 files at r2, 1 of 1 files at r3, all commit messages.
Reviewable status: complete! 1 of 1 approvals obtained (waiting on @lina128)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
Reviewable status: complete! 1 of 1 approvals obtained (waiting on @lina128)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the refactoring! Looks great!
Reviewable status: complete! 2 of 1 approvals obtained
This PR moves CodeSnippet to benchmark from backend to frontend, and, let the frontend to pass the CodeSnippet to the backend, which allows frontend to customize the CodeSnippet, instead of fix CodeSnippet at backend.
Previously, CodeSnippet is hard-coded in benchmark_model.js at backend, which will be executed by BrowserStack instances.
After this PR, we could add UI elements to enable users to edit codeSnippet (at frontend).
To see the logs from the Cloud Build CI, please join either our discussion or announcement mailing list.
This change is