-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add PR deployment preview #2374
Comments
Thanks for opening this issue!
|
I've opened this issue to the get Uffizzi integration working. #2364 has been merged. I've tried existing PR #2370, closed and re-opened it. However, after dashboard login, when clicking on the server app, the screen appears blank. Could be a dashboard issue, I'll investigate. |
thanks for surfacing that, @mtrezza. I'm sorry you're seeing that issue, indeed seems to be rather weird. So far I can tell, I'm not seeing any obvious issue with the preview environment itself. Do pass along your findings and if we might need to make any modifications, please let me know! |
(Moved feedback section to top comment) |
@dblythy If you have a minute, maybe you could take a quick look at this. When you open the preview URL in #2370 (comment) and log in to the dashboard, then a blank screen appears. Debugging the browser it seems to point to #2363. Maybe parsing that specific URL there fails because of the way it's composed. |
@ShrutiC-git should Uffizzi update the deployment when a new commit happens on a PR? I took a look and there was no sign of re-deployment in the Uffizzi console after commits in #2375. |
Thanks for clarifying this. I think what we would benefit from is an update of the PR comment by Uffizzi to see when the deployment has finished, without having to go to the Uffizzi dashboard. It seems unintuitive to me that when reopening a PR a new Uffizzi comment is posted, but when making a commit, no new comment is posted and the existing comment isn't updated in any way. I think what would be more intuitive:
Sure, you can reach out to me on Slack and we can schedule a call |
hey, @mtrezza,
Absolutely, that is the desired behavior. Something might be off if it's not behaving that way for you. I'll write to you on Slack to schedule a call - we'll fix this so it's efficient and intuitive for the community. |
I'd like to say that the newer, more compact comment looks much better. We can already see that Uffizzi is a significant time saver when reviewing Parse Dashboard PRs; thanks @gadkins, @ShrutiC-git for approaching us and implementing this. |
thanks for the feedback, @mtrezza - that is great to hear! |
Glad we can help your project |
Do you have a concept for how to use a temporary config for a preview deployment? See #2404, in order to test the feature in Parse Dashboard, the static config file needs to be changed. This cannot be done from in the UI. The challenge is that if the config file is deployed with the PR, then we may forget to remove it and accidentally release it. |
@gadkins @ShrutiC-git Here is a feature suggestion that would help us a lot. Currently, the deployment is only based on the repo content. A PR however may require a slightly different configuration to actually show the feature in action. Temporarily changing the default config and committing it in the PR is risky, because if we forget to remove it, the product will get shipped with a different default config. A way to solve this could be adding that configuration file to the repo in a hidden directory where the file will be replaced during the uffizzi deployment. For example a file in |
New Feature / Enhancement Checklist
Current Limitation
Reviewing a dashboard PR requires more effort than PRs from other repos because
The dashboard PR has to be cloned locally in a development environment to see the effect of most PRs.
Feature / Enhancement Description
Add a preview deployment to easily review and preview PRs online without having to clone the PR locally.
See https://docs.uffizzi.com/references/uffizzi-ci/#2-install-authorize-the-uffizzi-github-app
Example Use Case
n/a
Alternatives / Workarounds
Clone locally.
3rd Party References
n/a
Uffizzi Feedback
There seems to be an URL issue, see fix: Internal error message on login with missing credential #2370 (comment):
It would be nice to have all files in a
.uffizzi
directory. Currently we have:When Uffizzi adds a comment it should probably delete any existing Uffizzi comments, otherwise the thread gets full of comments, and these comments are quite long.
While deploying a new commit, the preview URL shows an nginx error page; it's unclear whether the deployment / PR has an issue; it would be better to show a "deployment is progress" page

The text was updated successfully, but these errors were encountered: