Lotta Supply

Development Log

Back to all entries

Improved Stability and UI with Base UI Migration Complete

Today's updates focused on enhancing application stability and completing the migration to the Base UI component library. We resolved an issue where organization-scoped data fetches could race the organization check on initial login, leading to empty results. This was addressed by ensuring data fetches wait for the application to be fully ready. As part of this fix, the activity page now also waits for the application to be ready before fetching audit logs.

We finalized the migration from Radix UI to Base UI (base-vega) across the application. This involved adapting components to the new Base UI APIs, ensuring consistent styling, and resolving several minor regressions introduced during the migration. These fixes included restoring multi-open behavior to the insights accordion, correcting chevron rotation in the sidebar, and ensuring proper command context within dialogs.

In addition to UI improvements, we updated the post-login redirect to send users to the /reports page instead of /dashboard. We also addressed compatibility with the latest Recharts version by widening the tooltip formatter to accept a broader range of value types.

Finally, we updated project dependencies, including migrating to TypeScript 6.0, which required updates to our TypeScript configurations and scripts. These dependency updates ensure we're running on the latest and most secure versions of our core libraries.

View source activity

Commits (5)

  • fix(web): gate activity page on isReady and key org-check on userId (#166)
  • fix(web): gate org-scoped fetches on isReady to avoid activeOrg race (#165)
  • Redirect post-login flow to /reports instead of /dashboard (#163)
  • chore: migrate lotta-notebook/web from Radix to Base UI (shadcn base-vega) (#161)
  • chore: bun dependency updates (#160)

Pull Requests (7)

  • #166: fix(web): gate activity page on isReady and key org-check on userId
  • #165: fix(web): gate org-scoped fetches on isReady to avoid activeOrg race
  • #164: Redirect post-login flow to /reports instead of /dashboard (#163)
  • #163: Redirect post-login to /reports
  • #162: Release 20260407-1
  • #161: chore: migrate lotta-notebook/web from Radix to Base UI (shadcn base-vega)
  • #160: chore: bun dependency updates