mirror of
https://github.com/Dvorinka/Bookra.git
synced 2026-10-28 15:51:15 +00:00
- Finish Paddle-to-Stripe billing migration; drop paddle/stripe libs - Renumber migrations; add 00012 memberships+manage_token, 00013 location_type_capacity - Add tests: admin, auth, bookings customer service - Remove graphify-out artifacts and stale env files Authored By: TDvorak <[email protected]> Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
3.3 KiB
3.3 KiB
Frontend Issues Found During Production-Readiness Review
Fixed During This Pass
- Landing pricing showed outdated EUR tiers and a 14-day trial. The product copy now uses CZK-first pricing with USD equivalents and a 30-day trial.
- SMS reminder copy appeared in features, testimonials, and pricing. The main customer-facing copy now says email reminders instead.
- Czech
home.step2.descwas missing and leaked the translation key on the landing page. - Footer year was stale.
Fixed This Session
- The dashboard unauthenticated state replaced with a dedicated conversion screen (headline, benefit cards, Sign In / Demo CTAs, register link).
- The pricing highlight label now uses the
home.pricing.populari18n key in bothhome-route.tsxandpricing-route.tsx. - The mobile booking page now smooth-scrolls to the contact form and highlights it when a user taps a slot without filling required details, breaking the validation loop.
- The IntegrationModal widget snippets now derive the base URL from
publicBookingUrlinstead of hardcodingbookra.eu, fixing local dev and custom domain scenarios. - Email settings section now has a working Save Email Settings button with loading state, wired to
PUT /v1/tenants/email-settings.
Fixed This Session (continued)
- Accessibility: Added
aria-labelattributes to all icon-only buttons in the dashboard (calendar nav, notifications, modal close buttons, mobile menu). - Widget-builder UX: Replaced
console.erroron copy failure with a user-visible error banner. - Booking-manage route: Contact email now uses
businessEmailfrom booking data instead of hardcoded[email protected]. - Loading states: Added spinners and disabled states to booking create/update buttons and brand save button.
- i18n cleanup: Added 30+ new
dashboard.*keys to the i18n dictionary and replaced ~20 inline ternary expressions withi18n.t()calls across nav items, page titles, status labels, and action buttons.
Still Needs Frontend Polish
- Many dashboard inline i18n ternaries remain (~280). Systematic extraction to
i18n.t()keys is an ongoing task. - Registration cannot be fully customer-tested locally until Neon Auth environment variables are configured.
Fixed This Session (platform audit pass)
- Billing checkout sends
planCode/currency/billingIntervaland readscheckoutUrl(was{interval}/url— broken end-to-end). Plan selector added to the billing page. - Billing page now reads normalized backend fields (
status,planCode,trialDays,maxBookingsMonth). - Zones page rewired to real catalog APIs: locations CRUD, blocked days CRUD, working-hours persistence — all three tabs now functional.
- Customers page loads
GET /v1/catalog/customersinstead of hardcoded mock rows (demo mode keeps sample data). - Settings email-template editor now loads saved templates via
GET /v1/tenants/email-templatesand saves withisEnabled. - Dead code removed:
dashboard-route.tsx,dashboard-route.tsx.backup,lib/paddle.ts,lib/stripe.ts,@paddle/paddle-js,@stripe/stripe-js. - Demo bootstrap slug aligned with backend demo tenant (
studio-atelier). - Paddle mentions replaced by Stripe in legal + i18n copy.
@neondatabase/neon-jsbumped to 0.7.0-beta —npm auditnow reports 0 vulnerabilities.