The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(ui): show checked backgrounds in skill source filters\n
Eloi Torrentsff9fedcdc1d9
diff --git a/app/src/components/ui/Checkbox.test.tsx b/app/src/components/ui/Checkbox.test.tsxnew file mode 100644index 0000000000..ef1bdc4f0c--- /dev/null+++ b/app/src/components/ui/Checkbox.test.tsx@@ -0,0 +1,40 @@+import { render, screen } from '@testing-library/react';+import userEvent from '@testing-library/user-event';+import { useState } from 'react';+import { describe, expect, it, vi } from 'vitest';++import Checkbox from './Checkbox';++describe('<Checkbox />', () => {+ it('keeps the native checked state in sync when toggled', async () => {+ function ControlledCheckbox() {+ const [checked, setChecked] = useState(false);+ return <Checkbox aria-label="Source" checked={checked} onCheckedChange={setChecked} />;+ }+ render(<ControlledCheckbox />);+ const checkbox = screen.getByRole('checkbox', { name: 'Source' });+ expect(checkbox).not.toBeChecked();+ await userEvent.click(checkbox);+ expect(checkbox).toBeChecked();+ await userEvent.click(checkbox);+ expect(checkbox).not.toBeChecked();+ });++ it('updates and clears the native indeterminate state', () => {+ const onCheckedChange = vi.fn();+ const { rerender } = render(+ <Checkbox checked={false} indeterminate onCheckedChange={onCheckedChange} />+ );+ expect(screen.getByRole('checkbox')).toBePartiallyChecked();+ rerender(<Checkbox checked={false} indeterminate={false} onCheckedChange={onCheckedChange} />);+ expect(screen.getByRole('checkbox')).not.toBePartiallyChecked();+ });++ it('does not toggle a disabled checkbox', async () => {+ const onCheckedChange = vi.fn();+ render(<Checkbox checked disabled onCheckedChange={onCheckedChange} />);+ await userEvent.click(screen.getByRole('checkbox'));+ expect(screen.getByRole('checkbox')).toBeChecked();+ expect(onCheckedChange).not.toHaveBeenCalled();+ });+});diff --git a/app/src/components/ui/Checkbox.tsx b/app/src/components/ui/Checkbox.tsxindex 93b01d0570..7d42cbeb35 100644--- a/app/src/components/ui/Checkbox.tsx+++ b/app/src/components/ui/Checkbox.tsx@@ -62,6 +62,9 @@ const Checkbox = ({onChange={e => onCheckedChange(e.target.checked)}className={cn('h-4 w-4 cursor-pointer rounded-sm border border-line-strong bg-surface accent-primary-500',+ // The forms plugin draws a white check/dash; bg-surface otherwise+ // overrides its selected background and hides the mark in light mode.+ 'checked:bg-primary-500 indeterminate:bg-primary-500','transition-colors duration-150','focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-1',// Offsets against the themed surface. The original useddiff --git a/docs/RELEASE-MANUAL-SMOKE.md b/docs/RELEASE-MANUAL-SMOKE.mdindex 9398a058a1..572d21ad1f 100644--- a/docs/RELEASE-MANUAL-SMOKE.md+++ b/docs/RELEASE-MANUAL-SMOKE.md@@ -20,6 +20,10 @@ This is the **only** acceptable substitute for a `🚫` row in [`TEST-COVERAGE-MApplies to every release, all platforms.+### Checkbox appearance++- [ ] **Skill source filters show their selection** — In Connections → Skills, open the catalog source filter and toggle a source off and on. Verify that the rows filter correctly, the menu stays open, and the selected source has a visible checkmark. Repeat in light and dark themes; selected and indeterminate shared checkboxes must show a contrasting mark, while unchecked boxes remain empty.+### Public installer script- [ ] **`scripts/install.sh` downloads the latest asset on a proxy/VPN network** — From a clean checkout, run `bash scripts/install.sh --dry-run --verbose`, then run the public `curl -fsSL https://raw.githubusercontent.com/tinyhumansai/openhuman/main/scripts/install.sh | bash` flow on one macOS or Linux host. Expected: release metadata resolves, the asset downloads successfully, and transient GitHub/CDN HTTP/2 failures retry over HTTP/1.1 instead of surfacing `curl: (16) Error in the HTTP2 framing layer`.