paranext / paranext-core

Electron client, extension host, and C# library for Paranext
https://paranext.github.io/paranext-core/
MIT License
17 stars 2 forks source link

Book-Chapter/BCV selector behavior improvements #859

Open rolfheij-sil opened 7 months ago

rolfheij-sil commented 7 months ago

As a user I want a powerful and intuitive book-chapter-verse selector component so that I can easily navigate to the desired scripture.

In https://github.com/paranext/paranext-core/issues/789 we created a new BCV control. Several behavior improvements were proposed, some of which have already been implemented. The remaining ones are described in this issue.

irahopkinson commented 7 months ago

For checkbox 2, you could just use form validation that you extend to understand valid VerseRefs. And display form validation errors (with hints on how to fix) below the control. You can use VerseRef to help with form validation, see the second TS example here for VerseRef validation.