Spaces:
Sleeping
Sleeping
Commit History
-
Add clear chat functionality with redesigned UX
findEthics- Add /api/clear-chat endpoint for both authenticated and anonymous users - Implement ChatSession.clear_user_history() method for database clearing - Add compact circular × button integrated with input controls - Remove confirmation dialog for instant clearing - Support mobile-responsive design with proper touch targets - Clear both UI messages and backend session/database data - Reset message counter for anonymous users410a397
-
Optimize UI for mobile devices with minimal design
findEthics- Add responsive mobile navigation with icon buttons - Implement rounded corners throughout UI (1-2rem radius) - Remove all animations for instant, clean transitions - Create PWA manifest and app icons for mobile experience - Reorganize header: removed hamburger menu, simplified layout - Change "Create Account" to "Register" for consistency - Ensure single-row header layout across all screen sizes - Mobile: Show icon buttons (👤 for Login, ➕ for Register) - Desktop: Show text buttons for Login and Register - Improve touch targets (min 48px) and spacing on mobile - Add mobile-first responsive breakpoints - Black & white minimal design maintained throughoutb4487f6
-
Fix anonymous sessions and clean up codebase
findEthics- Fixed anonymous session JWT verification for HF Spaces - Changed redirect from /anonymous to / (homepage) - Improved session restoration with automatic fallback - Removed debug/test code (session-test endpoint, console.logs) - Cleaned up unused imports (removed hashlib) - Changed verbose logs to DEBUG level - Added security documentation for CSRF settings - Updated CLAUDE.md with recent fixes and troubleshooting infof77d8aa -
Refactor anonymous chat as default homepage with stateless JWT sessions
findEthicsMajor changes: - Homepage now directly opens anonymous chat interface - Implemented JWT-based stateless sessions for anonymous users (6-hour expiry) - Added info banner showing message limits and remaining messages - Login/register buttons remain accessible in header - Added cleanup script to reset anonymous data on startup - Removed choose.html template (no longer needed) Features: - Anonymous users land directly on chat without extra clicks - Clear visual indication of anonymous status and limitations - Message counter with color-coded warnings as limit approaches - Stateless operation handles Hugging Face Spaces load balancing - Automatic cleanup of anonymous sessions on app restart This fixes session expiration issues on Hugging Face Spaces deployment385121f -
Simplify UI to minimal black and white design
findEthics- Remove all feature lists and checkmarks from choose page - Remove privacy notice and footer text - Remove session warning banner for anonymous users - Convert all colors to black and white only - Remove gradients, shadows, and rounded corners - Simplify buttons to flat black/white design - Remove animations and transitions - Keep only essential UI elementsedabc80 -
Add anonymous chat access feature
findEthics- Allow users to chat without creating an account - Add choice page for selecting access mode (anonymous vs authenticated) - Implement session-based chat storage for anonymous users - Add rate limiting (20 messages/hour) for anonymous users - Add message length limits (2000 chars) for anonymous users - Update UI to show anonymous user indicators and session warnings - Maintain backward compatibility with existing authenticated flow6ec566b -
Complete user authentication system implementation
findEthics- Add comprehensive user authentication with registration and login - Implement secure password hashing and session management - Add CSRF protection and rate limiting for security - Create MongoDB integration for user accounts and chat history - Add personalized chat history per user - Implement production-ready configuration system - Add comprehensive documentation and deployment guides - Update UI with authentication forms and navigation - Add environment-based configuration management - Include security features: rate limiting, secure sessions, CSRF tokens - Add deployment tools and production readiness checks - Update requirements and documentation for production deploymentf6278c5
-
Bug fix
findEthicsfb0dac2 -
UI Changes
findEthics241d956
-
Transform Gradio chatbot to Flask web app with findEthics-Atlas API integration
findEthics293381a