feat: add project-aware agent workspace
This commit is contained in:
@@ -17,6 +17,7 @@ export interface FieldSelectProps {
|
||||
placeholder?: string;
|
||||
disabled?: boolean;
|
||||
className?: string;
|
||||
contentClassName?: string;
|
||||
id?: string;
|
||||
}
|
||||
|
||||
@@ -28,6 +29,7 @@ export function FieldSelect({
|
||||
placeholder = "请选择",
|
||||
disabled,
|
||||
className,
|
||||
contentClassName,
|
||||
id
|
||||
}: FieldSelectProps) {
|
||||
const generatedId = useId();
|
||||
@@ -53,7 +55,7 @@ export function FieldSelect({
|
||||
<SelectContent
|
||||
position="popper"
|
||||
sideOffset={4}
|
||||
className="z-[90] max-w-[calc(100vw-1.5rem)]"
|
||||
className={cn("z-[90] max-w-[calc(100vw-1.5rem)]", contentClassName)}
|
||||
>
|
||||
{selectableOptions.map((option) => (
|
||||
<SelectItem
|
||||
|
||||
Reference in New Issue
Block a user