Files
Bookra/FRONTEND_ISSUES.md
T
Tomas Dvorak 164a37e997
CI / Frontend (push) Successful in 9m54s
CI / Go - apps/auth-service (push) Failing after 24s
CI / Go - apps/backend (push) Failing after 5m43s
CI / Docker publish - auth-service (push) Has been skipped
CI / Docker publish - backend (push) Has been skipped
feat(core): consolidate auth service into backend and implement stripe billing
This commit performs a major architectural refactor by migrating the standalone `auth-service` into the main `backend` application, enabling a unified codebase and simplified deployment. It also introduces comprehensive Stripe billing support and a new administrative dashboard.

Key changes:
- **Architecture**: Deleted `apps/auth-service` and integrated its functionality (JWT, magic links, OAuth, user management) into `apps/backend`.
- **Billing**: Added Stripe integration to `backend`, supporting both monthly and yearly subscription cycles with automatic plan entitlement enforcement (e.g., location limits).
- **Admin Dashboard**: Implemented a new administrative service and API endpoints to manage tenants, users, and view platform-wide statistics.
- **Frontend**:
    - Added a new pricing page with monthly/yearly toggle and comparison table.
    - Integrated Stripe and Sentry for payments and error tracking.
    - Improved dashboard UX/UI and added i18n support for new features.
    - Enhanced the public booking flow with better validation and contact form integration.
- **Database**: Added migrations for users, magic links, password resets, OAuth states, admin audit logs, and refresh tokens.
- **DevOps**: Updated environment configurations for Railway and Vercel, and streamlined the project's `package.json` scripts.
2026-05-09 18:25:25 +02:00

2.2 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.desc was 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.popular i18n key in both home-route.tsx and pricing-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 publicBookingUrl instead of hardcoding bookra.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-label attributes to all icon-only buttons in the dashboard (calendar nav, notifications, modal close buttons, mobile menu).
  • Widget-builder UX: Replaced console.error on copy failure with a user-visible error banner.
  • Booking-manage route: Contact email now uses businessEmail from booking data instead of hardcoded support@bookra.eu.
  • 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 with i18n.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.