Closed dinmukhamedm closed 3 weeks ago
[!IMPORTANT] This pull request adds dataset and evaluation result exports, improves subscription seat management, and fixes labeling queue behavior. Exports: Add CSV export for evaluation results in frontend/app/api/projects/[projectId]/evaluations/[evaluationId]/download/route.ts. Add JSON export for datasets in frontend/app/api/projects/[projectId]/datasets/[datasetId]/download/route.ts. Subscription Management: Add seats_included_in_tier to WorkspaceStats in app-server/src/db/stats.rs. Change add_seats to set_seats in app-server/src/db/subscriptions.rs. Update subscription handling in frontend/app/api/workspaces/[workspaceId]/update-seats/route.ts. Update Stripe integration in frontend/app/checkout/page.tsx and frontend/app/checkout/portal/page.tsx. Labeling Queues: Fix labeling queue behavior in frontend/app/api/projects/[projectId]/queues/[queueId]/remove/route.ts. Update label management in frontend/components/queue/labels.tsx and frontend/components/queue/queue.tsx. Miscellaneous: Add DownloadButton component in frontend/components/ui/download-button.tsx. Update email notifications for subscription updates in frontend/lib/emails/utils.ts. This description was created by for b8b0d09260f91d5bcb8d8b30fd16bf7353262e29. It will automatically update as commits are pushed.
[!IMPORTANT] This pull request adds dataset and evaluation result exports, improves subscription seat management, and fixes labeling queue behavior.
frontend/app/api/projects/[projectId]/evaluations/[evaluationId]/download/route.ts
frontend/app/api/projects/[projectId]/datasets/[datasetId]/download/route.ts
seats_included_in_tier
WorkspaceStats
app-server/src/db/stats.rs
add_seats
set_seats
app-server/src/db/subscriptions.rs
frontend/app/api/workspaces/[workspaceId]/update-seats/route.ts
frontend/app/checkout/page.tsx
frontend/app/checkout/portal/page.tsx
frontend/app/api/projects/[projectId]/queues/[queueId]/remove/route.ts
frontend/components/queue/labels.tsx
frontend/components/queue/queue.tsx
DownloadButton
frontend/components/ui/download-button.tsx
frontend/lib/emails/utils.ts
This description was created by for b8b0d09260f91d5bcb8d8b30fd16bf7353262e29. It will automatically update as commits are pushed.