Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: fix validation error during workspace creation without preset#18494

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
SasSwart merged 4 commits intomainfromjjs/18430
Jun 24, 2025

Conversation

SasSwart
Copy link
Contributor

@SasSwartSasSwart commentedJun 23, 2025
edited
Loading

closes#18430.

Selecting a preset, and then selecting the "None" preset used to set the preset ID to an empty string instead ofundefined. This sent"" to the backend, which expects a valid UUID.

@SasSwartSasSwart changed the titlefix: resolve a validation error when creating a workspace without a presetfix: fix validation error during workspace creation without presetJun 23, 2025
@SasSwartSasSwart marked this pull request as ready for reviewJune 23, 2025 12:51
Copy link
Contributor

@dannykoppingdannykopping left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Not my area so will need FE approval before merging, but seems fine to me
Thanks for the fix 👍

@mtojekmtojek requested a review frommafredriJune 23, 2025 14:23
Copy link
Contributor

@ssncferreirassncferreira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM great test addition 🌟

action("onSubmit")(request, owner);
},
},
play: async ({ canvasElement }) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

🤩

Copy link
Member

@mafredrimafredri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM 👍🏻


// Then select "None" to unset the field value
await userEvent.click(canvas.getByLabelText("Preset"));
await userEvent.click(canvas.getByText("None"));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Is this potentially too vague? Perhaps not now as we control the test but considering future changes.

use option?.value instead of index to check whether we should send a preset ID when a workspace is createdCo-authored-by: Susana Ferreira <susana@coder.com>
@SasSwartSasSwartenabled auto-merge (squash)June 24, 2025 06:44
@SasSwartSasSwart merged commit4f98fd4 intomainJun 24, 2025
32 of 33 checks passed
@SasSwartSasSwart deleted the jjs/18430 branchJune 24, 2025 06:49
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJun 24, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@mafredrimafredrimafredri approved these changes

@dannykoppingdannykoppingdannykopping approved these changes

@ssncferreirassncferreirassncferreira approved these changes

@jaaydenhjaaydenhAwaiting requested review from jaaydenh

Assignees

@SasSwartSasSwart

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

bug: choosingNone preset results ininvalid UUID length: 0 error
5 participants
@SasSwart@mafredri@dannykopping@ssncferreira@jaaydenh

[8]ページ先頭

©2009-2025 Movatter.jp