Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion site/.oxlintrc.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"img-redundant-alt": "error",
"no-redundant-roles": "error",
"role-has-required-aria-props": "error",
"role-supports-aria-props": "error",
"alt-text": "error",
"anchor-has-content": "error",
"anchor-ambiguous-text": "error",
Expand Down Expand Up @@ -207,7 +208,6 @@
"consistent-type-imports": "off", // style/useImportType (medium)
"jsx-curly-brace-presence": "off", // style/useConsistentCurlyBraces (medium, coder error rule)
"no-fallthrough": "off", // suspicious/noFallthroughSwitchClause (medium)
"role-supports-aria-props": "off", // a11y/useAriaPropsSupportedByRole (small)
"click-events-have-key-events": "off", // a11y/useKeyWithClickEvents (small)
"prefer-function-type": "off", // style/useShorthandFunctionType (small)
"no-empty-interface": "off", // suspicious/noEmptyInterface (small)
Expand Down
1 change: 0 additions & 1 deletion site/src/components/Autocomplete/Autocomplete.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,6 @@ export function Autocomplete<TOption>({
data-testid={testId}
aria-expanded={isOpen}
aria-haspopup="listbox"
aria-invalid={triggerAriaInvalid}
aria-describedby={triggerAriaDescribedBy}
disabled={disabled}
className={cn(
Expand Down
6 changes: 3 additions & 3 deletions site/src/modules/resources/AgentLatency.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ export const AgentLatency: FC<AgentLatencyProps> = ({ agent }) => {
return (
<HelpPopover>
<HelpPopoverTrigger asChild>
<span
role="presentation"
<button
type="button"
aria-label="latency"
className={cn("cursor-pointer", latency.color)}
>
{Math.round(latency.latency_ms)}ms
</span>
</button>
</HelpPopoverTrigger>
<HelpPopoverContent>
<HelpPopoverTitle>Latency</HelpPopoverTitle>
Expand Down
Loading