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

Decouple book selection dialog from book selector #1206

Open Sebastian-ubs opened 2 days ago

Sebastian-ubs commented 2 days ago

User Story As a extension developer, I want to see full book selection dialog in the preview app so that I can know how it looks like, what I may need from it or how it might need to be changed.

Paratext 10 Studio

grafik (ignore the style difference in this screenshot)

Preview app

Screenshot 2024-10-08 181410 Console:

This should open the Book Select dialog, which is in the Platform.Bible renderer. This is too tightly coupled and should be fixed.

Description https://discord.com/channels/1064938364597436416/1293245290941513759/1293245294779301908

Sebastian-ubs commented 2 days ago

at least put https://github.com/paranext/paranext-core/blob/main/src/renderer/components/dialogs/select-books-dialog.component.tsx into a separate shared component and add it to the preview app