Kokoro-FastAPI icon indicating copy to clipboard operation
Kokoro-FastAPI copied to clipboard

[web]: add voice sort type toggle

Open remsky opened this issue 1 month ago • 4 comments

Discussed in https://github.com/remsky/Kokoro-FastAPI/discussions/540

Originally posted by RBEmerson970 September 29, 2026 ...sorting the voice names by grade or score instead of by full name (e.g., bm-lewis). Can we please either revert to the old sorting sequence or add the option to sort voices on language, gender, or name (or, to be elegant, any combination of the three)?

remsky avatar Oct 05 '26 20:10 remsky

Hi @remsky, I'd like to work on this issue.

I'm planning to add a sort selector/toggle to the voice selector so users can change the voice ordering while preserving the existing pinned-voice behavior.

I'll also update/add tests for the sorting behavior.

Please let me know if you have a preferred UI or specific sort options you want included.

se1vapriya avatar Oct 07 '26 17:10 se1vapriya

@se1vapriya That would be great. A single button would be clean, toggling between grade vs alphabetical e.g similar to below for alphabetical state but matching the styling of the UI

image

Notes for the webUI are also listed here: web-contrib. Feel free to comment here if you have any questions or extra in mind as well

remsky avatar Oct 08 '26 08:10 remsky

Status check, pls.

RBEmerson970 avatar Oct 21 '26 13:10 RBEmerson970

Hey @se1vapriya, were you still working on it?

If I don't hear back within a day or two, I'll be adding a branch with the bones in place. Can tag you on it before it's merged, let me know.

remsky avatar Oct 22 '26 06:10 remsky