Skip to content

fix(settings): add provider ordering controls#31

Open
Mingholy wants to merge 1 commit into
simpx:mainfrom
Mingholy:fix/bf7-provider-ordering-a11y
Open

fix(settings): add provider ordering controls#31
Mingholy wants to merge 1 commit into
simpx:mainfrom
Mingholy:fix/bf7-provider-ordering-a11y

Conversation

@Mingholy

@Mingholy Mingholy commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add sortable provider cards in Settings using @dnd-kit.
  • Add visible reorder handles with PointerSensor and KeyboardSensor accessibility.
  • Persist provider maps in the user-selected fallback priority order.

Before / After

Before (main) After (fix/bf7-provider-ordering-a11y)
before after
Provider settings without reorder handles Provider settings after moving Anthropic before DeepSeek via the sortable handle

Test plan

  • bun test web/test/SettingsPage.provider-order.test.ts
  • cd web && bunx tsc -b
  • bun run build
  • Chrome DevTools: verified reorder handle keyboard flow with Space, ArrowUp, Space and captured before/after screenshots.
  • Lint: repository has no lint script or ESLint/Biome/Oxlint config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant