chore: some minor QA fixes (#22727)
Post release / release (push) Canceled after 0s

* Various fixes

* Remove tooltip

* another string change

* Fix width of custom event name modal to prevent overflow

* Booking questions fixes

* minor string fix

* checkbox alignment

* padding in reassign dialog

* fix: update FormBuilder tests for checkbox UI changes

- Updated test utilities to work with CheckboxField instead of BooleanToggleGroupField
- Fixed badge expectations to check for 'optional' instead of 'required'
- Updated dialog interaction methods to use checkbox.checked instead of button text
- All 13 FormBuilder tests now pass successfully

Fixes failing tests in PR #22727 caused by UI changes from toggle buttons to checkboxes for required field selection.

Co-Authored-By: [email protected] <[email protected]>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: [email protected] <[email protected]>
Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
authored and GitHub committed 2025-08-25 18:11:18 +09:00
1 parent 9b7c6585d8
commit 5bab2af500
66 files changed
+232 -221

No files matched your search

+3 -2
View File
@@ -61,8 +61,9 @@ export const Editor = (props: TextEditorProps) => {
const plainText = props.plainText ?? false;
return (
<div className="editor rounded-md">
{props.label && <label className="mb-1 block text-sm font-medium leading-6">{props.label}</label>}
<LexicalComposer initialConfig={{ ...editorConfig }}>
<div className="editor-container hover:border-emphasis focus-within:ring-brand-default !rounded-lg p-0 transition focus-within:ring-2">
<div className="editor-container hover:border-emphasis focus-within:ring-brand-default !rounded-lg p-0 transition focus-within:ring-2 focus-within:ring-offset-0">
<ToolbarPlugin
getText={props.getText}
setText={props.setText}
@@ -82,7 +83,7 @@ export const Editor = (props: TextEditorProps) => {
<ContentEditable
readOnly={!editable}
style={{ height: props.height }}
className="editor-input"
className="editor-input focus:outline-none"
data-testid="editor-input"
/>
}
+1
View File
@@ -15,4 +15,5 @@ export type TextEditorProps = {
setFirstRender?: Dispatch<SetStateAction<boolean>>;
editable?: boolean;
plainText?: boolean;
label?: string;
};
@@ -75,8 +75,8 @@ export const Switch = (
<Label.Root
htmlFor={id}
className={cx(
"text-emphasis align-text-top font-medium",
size === "sm" ? "m-1 text-xs" : "m-2 text-sm",
"text-emphasis font-medium",
size === "sm" ? "m-1 text-xs" : "ml-2 mt-1 text-sm",
primitiveProps.disabled ? "cursor-not-allowed opacity-25" : "cursor-pointer",
labelOnLeading && "flex-1"
)}>