-
Notifications
You must be signed in to change notification settings - Fork 2.4k
🔨 Refactor Deployment to use hooks #1969
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
🔨 Refactor Deployment to use hooks #1969
Conversation
packages/app/src/app/pages/Sandbox/Editor/Workspace/items/Deployment/Deployment.tsx
Outdated
Show resolved
Hide resolved
packages/app/src/app/pages/Sandbox/Editor/Workspace/items/Deployment/Netlify.tsx
Outdated
Show resolved
Hide resolved
packages/app/src/app/pages/Sandbox/Editor/Workspace/items/Deployment/Netlify.tsx
Outdated
Show resolved
Hide resolved
packages/app/src/app/pages/Sandbox/Editor/Workspace/items/Deployment/Zeit.tsx
Outdated
Show resolved
Hide resolved
packages/app/src/app/pages/Sandbox/Editor/Workspace/items/Deployment/elements.ts
Outdated
Show resolved
Hide resolved
packages/app/src/app/pages/Sandbox/Editor/Workspace/items/Deployment/elements.ts
Outdated
Show resolved
Hide resolved
packages/app/src/app/pages/Sandbox/Editor/Workspace/items/Deployment/elements.ts
Outdated
Show resolved
Hide resolved
packages/app/src/app/pages/Sandbox/Editor/Workspace/items/Deployment/elements.ts
Outdated
Show resolved
Hide resolved
packages/app/src/app/pages/Sandbox/Editor/Workspace/items/Deployment/Netlify.tsx
Outdated
Show resolved
Hide resolved
packages/app/src/app/pages/Sandbox/Editor/Workspace/items/Deployment/Zeit.tsx
Outdated
Show resolved
Hide resolved
64ec6a9 to
fa0e8f3
Compare
|
@CompuIves @Saeris I've rebased onto |
fa0e8f3 to
0ddec36
Compare
|
Fixed some TypeScript errors (that weren't in #1986 yet) too |
40d6a89 to
22ff18a
Compare
22ff18a to
212c262
Compare
6f71cc5 to
f1dc8a6
Compare
|
@CompuIves Since all checks pass, I think this one can be merged after a last review 🙂 |
f1dc8a6 to
81dc3af
Compare
9bfb4e8 to
d8a7b3a
Compare
d8a7b3a to
5db7b02
Compare
5db7b02 to
2167b42
Compare
2167b42 to
6936d0b
Compare
|
@CompuIves I tested the Netlify build flow and that one works, except for the "show logs" button that's not showing. WebSocket connection to 'wss://pr1969.build.csb.dev/socket/websocket?guardian_token=eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJDb2RlU2FuZGJveCIsImV4cCI6MTU2NTI1ODU3OCwiaWF0IjoxNTYyNjY2NTc4LCJpc3MiOiJDb2RlU2FuZGJveCIsImp0aSI6Ijk2YzhlOTYwLWQ0MzctNGZhMy1iOTljLTUzMDM0YWYwNGJmMCIsIm5iZiI6MTU2MjY2NjU3Nywic3ViIjoiVXNlcjpmZDE2ZmI3Mi1jNDllLTQ5NDktYjZlZi1mZTVjZWUwOWU0MjgiLCJ0eXAiOiJhY2Nlc3MifQ.xuUQwYx3ArzROl9wQQPlzohfrPr9uoFmn4apmu_-xjoCdfIxxkDJA3e2evpGR-2Im0q8qzjOeU5E8AUyUtGZJw&vsn=2.0.0'
failed: Error during WebSocket handshake: Unexpected response code: 200I couldn't test the ZEIT build flow because of #2169 |
|
Thanks a lot @MichaelDeBoey, this is really good. So two things left for testing are:
I can do that now! |
|
@CompuIves I won't have time until late this evening to take a look at it unfortunately, so be my guest if you have 🙂 |
|
After doing some testing on Netlify I also noticed that the status doesn't update. It should show this: I'm not sure if this is related to me testing on |
|
Oh wait now it suddenly shows "Building..." but much later, maybe an observability issue? |
|
An observer was missing. |
packages/app/src/app/components/DeploymentIntegration/DetailInfo/DetailInfo.tsx
Show resolved
Hide resolved
|
I just figured out I always need the observer when I use the |


What kind of change does this PR introduce?
I've extracted @Saeris' changes to
Deploymentout of #1925.What is the current behavior?
mobx-reactinjectHOCWhat is the new behavior?
mobx-react-liteuseSignals&useStorehooksWhat steps did you take to test this?
ZEIT Deploys
Netlify Deploys
Checklist