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

Allow using custom assets for the UI. #68

Merged
merged 2 commits into from
Jan 6, 2023
Merged

Conversation

robholland
Copy link
Contributor

This makes integration testing of UI changes much easier as we avoid the need to re-compile the ui-server and the Temporal CLI.

What was changed

Added support for using a custom UI asset path.

Why?

Makes testing UI changes much easier, avoiding any need to recompile ui-server or the Temporal CLI.

Checklist

  1. Closes

  2. How was this tested:
    ./temporal server start-dev --ui-asset-path $PWD/../ui/.vercel/output/static/ versus ./temporal server start-dev. Confirmed the adjusted UI is served when the option is passed.

  3. Any docs updates needed?
    No.

This makes integration testing of UI changes much easier as we avoid the need
to re-compile the ui-server and the Temporal CLI.
@robholland
Copy link
Contributor Author

Note: go.mod replace will be removed once temporalio/ui-server#267 is merged and released, before this is merged.

go.mod Outdated Show resolved Hide resolved
@robholland robholland merged commit e4312cd into main Jan 6, 2023
@robholland robholland deleted the rh-custom-ui-assets branch January 6, 2023 08:15
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.

2 participants