Skip to content

Improved Rate limit feedback +bugfixes#3

Merged
GeorgeBPrice merged 2 commits into
mainfrom
UI-improvements-bugfixes
May 10, 2025
Merged

Improved Rate limit feedback +bugfixes#3
GeorgeBPrice merged 2 commits into
mainfrom
UI-improvements-bugfixes

Conversation

@GeorgeBPrice
Copy link
Copy Markdown
Owner

Schema-UI and Rate-Limiting-UI feedback, Improvements

Changes Made

Schema UI Enhancements

  • Updated schema 'creation' and 'editing' interfaces
  • Added support for additional settings

Data Structure Improvements

  • Updated schema data model with additional fields:
    • preferredFormat: Default output format
    • preferredRecordCount: Default number of records

Rate Limiting UI

  • Enhanced the UI experience for rate limiting feature
  • Improved the display of "Free generations left" counter
  • Added better error handling and user feedback for rate limit scenarios
  • Improved state management for rate limit information

Files Modified

  • app/schema/new/page.tsx: New schema creation interface
  • app/schema/[id]/edit/page.tsx: Schema editing interface
  • app/generator/page.tsx: Generator page with rate limiting
  • lib/storage.ts: Schema data structure and storage
  • app/api/schemas/route.ts: Schema API endpoints
  • app/api/schemas/[id]/route.ts: Schema CRUD operations

Testing

Schema Features

  • Verified schema creation and editing
  • Tested schema type switching
  • Validated schema data persistence
  • Confirmed proper error handling
  • Tested additional instructions functionality

Rate Limiting

  • Verified rate limit counter updates correctly
  • Tested error handling for rate limit exceeded scenarios
  • Confirmed proper display of remaining generations count
  • Validated toast notifications for rate limit scenarios

@vercel
Copy link
Copy Markdown

vercel Bot commented May 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
ai-mocker ⬜️ Ignored (Inspect) Visit Preview May 10, 2025 8:22am

@GeorgeBPrice GeorgeBPrice merged commit 6e71fc6 into main May 10, 2025
2 of 5 checks passed
@GeorgeBPrice GeorgeBPrice deleted the UI-improvements-bugfixes branch May 10, 2025 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant