libpastry Integration — Approach#
Refs: #39|Draft
Goal#
Integrate libpastry for frosted glass effects, spring animations, and spinners across the installer UI.
Proposed approach#
- Add libpastry as a Flatpak module in
org.bootcinstaller.Installer.json - Create
bootc_installer/utils/pastry_compat.pywrapper (may already exist as stub) - Apply frosted glass to: welcome screen background, progress screen overlay, credits window
- Replace loading spinners with libpastry animated spinners
- Add spring animations to carousel transitions and button press feedback
Files to touch#
org.bootcinstaller.Installer.json(add libpastry module)bootc_installer/utils/pastry_compat.py(wrapper/facade)bootc_installer/views/progress.py(frosted glass overlay)bootc_installer/windows/dialog_credits.py(frosted glass)bootc_installer/views/welcome.py(frosted glass).blpUI templates (glass CSS classes)
Open questions#
- libpastry API stability — which version to target?
- Performance impact on low-end hardware?
- Fallback when libpastry is unavailable?