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

feat: create dynamic parameter component#17351

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
jaaydenh merged 13 commits intomainfromjaaydenh/dynamic-parameter-component
Apr 16, 2025
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
Show all changes
13 commits
Select commitHold shift + click to select a range
1d32dbe
feat: create dynamic parameter component
jaaydenhApr 10, 2025
5b1d5b4
fix: format
jaaydenhApr 11, 2025
4516af2
chore: cleanup, update validation
jaaydenhApr 11, 2025
5784127
chore: update for types from typesGenerated
jaaydenhApr 11, 2025
dd5147d
fix: remove filters
jaaydenhApr 11, 2025
3b8d5a5
chore: remove unused typesParameter.ts
jaaydenhApr 11, 2025
25c7d3c
fix: use options instead of defaultOptions to set option values
jaaydenhApr 12, 2025
1976720
fix: updates for PR review
jaaydenhApr 15, 2025
2931256
fix: format
jaaydenhApr 15, 2025
07632b8
fix: update to use useDebouncedFunction
jaaydenhApr 15, 2025
b7d0d32
fix: remove websocket code
jaaydenhApr 15, 2025
2a35fe2
chore: updates for PR review
jaaydenhApr 15, 2025
fa3caf1
Merge branch 'main' into jaaydenh/dynamic-parameter-component
jaaydenhApr 15, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletionssite/src/components/Checkbox/Checkbox.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -8,6 +8,9 @@ import * as React from "react";

import { cn } from "utils/cn";

/**
* To allow for an indeterminate state the checkbox must be controlled, otherwise the checked prop would remain undefined
*/
export const Checkbox = React.forwardRef<
React.ElementRef<typeof CheckboxPrimitive.Root>,
React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -16,7 +16,7 @@ const meta: Meta<typeof MultiSelectCombobox> = {
All organizations selected
</p>
),
defaultOptions: organizations.map((org) => ({
options: organizations.map((org) => ({
label: org.display_name,
value: org.id,
})),
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -203,9 +203,11 @@ export const MultiSelectCombobox = forwardRef<
const [open, setOpen] = useState(false);
const [onScrollbar, setOnScrollbar] = useState(false);
const [isLoading, setIsLoading] = useState(false);
const dropdownRef = useRef<HTMLDivElement>(null); // Added this
const dropdownRef = useRef<HTMLDivElement>(null);

const [selected, setSelected] = useState<Option[]>(value || []);
const [selected, setSelected] = useState<Option[]>(
arrayDefaultOptions ?? [],
);
const [options, setOptions] = useState<GroupOption>(
transitionToGroupOption(arrayDefaultOptions, groupBy),
);
Expand Down
2 changes: 1 addition & 1 deletionsite/src/components/RadioGroup/RadioGroup.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -34,7 +34,7 @@ export const RadioGroupItem = React.forwardRef<
focus:outline-none focus-visible:ring-2 focus-visible:ring-content-link
focus-visible:ring-offset-4 focus-visible:ring-offset-surface-primary
disabled:cursor-not-allowed disabled:opacity-25 disabled:border-surface-invert-primary
hover:border-border-hover`,
hover:border-border-hover data-[state=checked]:border-border-hover`,
className,
)}
{...props}
Expand Down
Loading
Loading

[8]ページ先頭

©2009-2025 Movatter.jp