lmnr-ai / lmnr

Laminar - open-source all-in-one platform for engineering AI products. Crate data flywheel for you AI app. Traces, Evals, Datasets, Labels. YC S24.
https://www.lmnr.ai
Apache License 2.0
1.19k stars 60 forks source link

improved ui for workspaces #188

Closed skull8888888 closed 3 weeks ago

skull8888888 commented 3 weeks ago

[!IMPORTANT] Improves workspace UI with updated CSS, enhanced workspace page layout, project card adjustments, and better user and usage management components.

  • CSS Variables:
    • Updated --secondary-foreground and --muted-foreground in globals.css for better contrast.
  • Workspace Page:
    • Added membership check in page.tsx to redirect non-members.
    • Display workspace tier with conditional styling.
  • Project Card:
    • Increased height from h-32 to h-44 in project-card.tsx.
    • Changed font weight of project name to font-medium.
  • Projects Component:
    • Display workspace tier with conditional styling in projects.tsx.
  • Workspaces Navbar:
    • Updated text color classes for better readability in workspaces-navbar.tsx.
  • Button Component:
    • Added border to secondary variant in button.tsx.
  • Workspace Usage:
    • Display tier information and billing cycle details in workspace-usage.tsx.
    • Added conditional messages for span limits based on tier.
  • Workspace Users:
    • Added seat information and purchase dialog in workspace-users.tsx.
    • Improved user addition logic with dialog and error handling.

This description was created by Ellipsis for ec041530116b6a27d4e480b17d74b07bf58cb1d9. It will automatically update as commits are pushed.