Skip to content

Some optimizations, few new features: voice to text, user messages limit, auth new fields#1448

Open
hamzaMissewi wants to merge 7 commits intovercel:mainfrom
hamzaMissewi:main
Open

Some optimizations, few new features: voice to text, user messages limit, auth new fields#1448
hamzaMissewi wants to merge 7 commits intovercel:mainfrom
hamzaMissewi:main

Conversation

@hamzaMissewi
Copy link

add theme toggle icon on chat header
add voice input to convert speesh to text ( still the logic to verify ) for the chat mutli input form
add rename chat option feature and add limits for chat messages and uploads for user and guest

add isloggedin field for auth and some authentication optimizations ,
add user and guest messages and uploads quota,
save guest with ip address to get the chat usage reached and make sure not depassed the fixed limit

- Added button of rename a chat in the chat sidebar

- Filter inappropriate uploads (TODO)
-limits the number of messages usage for user and guest

Database Schema Updates:
- Added quota tracking with guestMessageQuota and userMessageQuota
-
- Added imagesUsed tracking to quota systems

User Experience:
- Chat renaming via sidebar dropdown menu
- Real-time quota enforcement
- Clear error messages for content violations
- Toast notifications for successful operations

This ensures a safer, more controlled environment while maintaining
good user experience with proper content moderation and usage limits.
using the ip address for guest to check chat messages limit and upload limit

- Fix NextAuth guest provider configuration and syntax errors
- Simplify guest quota tracking to avoid IP dependency
- Clean up JWT interface declarations
- Fix auth route redirects and token validation
- Resolve database query errors in guest user creation
@vercel
Copy link
Contributor

vercel bot commented Mar 5, 2026

@hamzaMissewi is attempting to deploy a commit to the Zeb Hermann's projects Team on Vercel.

A member of the Team first needs to authorize it.

@hamzaMissewi
Copy link
Author

Hi team, just checking in to see if someone could approve the workflows for this PR so the checks can run. Thank you!

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