Skip to content

Add ability to change order of clients#19

Merged
coreyeaston merged 3 commits intomainfrom
develop
Feb 12, 2026
Merged

Add ability to change order of clients#19
coreyeaston merged 3 commits intomainfrom
develop

Conversation

@coreyeaston
Copy link
Contributor

No description provided.

coreyeaston and others added 3 commits February 12, 2026 17:27
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace the two fixed "Usenet first" / "Torrent first" presets with a
dynamic dropdown that lists actually enabled clients by name, letting
the user pick which client sits at the bottom of the stack. The dropdown
hides automatically when only one client is enabled. Order persists in
localStorage and reconciles when clients are added or removed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…sing stack dropdown

setClientOrder is now called in the same handler as setDownloadClients,
eliminating the timing gap where clientOrder stays empty if the
reconciliation useEffect never fires. Also adds a console.warn when the
API returns zero clients to aid debugging.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coreyeaston coreyeaston merged commit 8686a9e into main Feb 12, 2026
1 check passed
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