openstax / corgi

CORGI
https://gitpod.io/#https://github.com/openstax/corgi
MIT License
1 stars 0 forks source link

2232 only newest slugs autocomplete #615

Closed TylerZeroMaster closed 5 months ago

TylerZeroMaster commented 5 months ago

fixes openstax/ce#2232

A more long-term solution might be to switch around the version and book input boxes, so that it is intuitive to enter version before book, have version default to main, and have the frontend query for the slugs based on repository and version.

Current version

Lists all books known to have existed in any version of the repository

Screenshot 2024-06-05 at 1 39 02 PM

New version:

Lists books that exist in the newest commit on the repository (regardless of branch)

Screenshot 2024-06-05 at 1 38 40 PM