Skip to content

Implement websocket for Create Workspace form #17051

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

Closed
Emyrk opened this issue Mar 21, 2025 · 1 comment
Closed

Implement websocket for Create Workspace form #17051

Emyrk opened this issue Mar 21, 2025 · 1 comment
Assignees
Labels
early-access candidate for an early-access, or experimental, release

Comments

@Emyrk
Copy link
Member

Emyrk commented Mar 21, 2025

We'll need a websocket to communicate with Create Workspace form. On each form input change, the websocket will use https://github.com/coder/preview to re-render the parameter options and then communicate the new parameters back to the frontend.

The communication types for the websocket ideally live in the preview repo so that project can continue to have a local demo environment with the same types as production.

The websocket needs to accept the below as inputs, as they are used to render the current set of parameters:

@Emyrk
Copy link
Member Author

Emyrk commented Mar 21, 2025

Lmk if you need some guts typegen help! We can typegen from preview

@Kira-Pilot Kira-Pilot changed the title Implement websocket for dynamic workspace create form Implement websocket for Create Workspace form Apr 2, 2025
@Kira-Pilot Kira-Pilot added early-access candidate for an early-access, or experimental, release parameters Area: parameters and removed parameters Area: parameters labels Apr 4, 2025
@aslilac aslilac closed this as completed Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
early-access candidate for an early-access, or experimental, release
Projects
None yet
Development

No branches or pull requests

3 participants