Spaces:
Sleeping
Sleeping
Commit History
-
Implement popup login modal systemβ
β¨ Major UX Improvement: - Replace full-page login with overlay modal - Users can now see the platform in background before login - Created AuthContext for centralized auth state management - Added LoginModal component with embedded video and paper - Modified API to trigger login modal on 401 errors - Removed forced auth redirect from root route π¨ Design Features: - Glass-morphism modal design consistent with platform - Embedded demo video and research paper download - Responsive layout with proper backdrop blur - Smooth loading states and transitions π§ Technical Changes: - New AuthContext with HF Spaces detection - Custom auth-required events from API layer - Conditional authentication based on environment - Proper error handling for unauthorized requests This provides a much better user experience where users can explore the interface before deciding to authenticate.aad2775
-
Add research paper PDF to login page with Git LFSβ
β¨ Features: - Created backend/static/papers/ directory for PDF storage - Added AgentGraph research paper (AAAI version) with Git LFS - Configured FastAPI to serve static files at /static route - Enhanced login page with paper download section below video - Clean glass-card design with document icon and download link - Opens PDF in new tab for better UX π The research paper is now prominently displayed alongside the demo video, giving users immediate access to the academic foundation of the platform. π§ Git LFS configured for PDF files to meet HF repository requirements.3b65325 -
Simplify login page and remove API key optionβ
β¨ Changes: - Removed dual authentication options (HF OAuth vs API key) - Simplified to single 'Access Research Platform' button - Removed API key input form and JavaScript handling - Cleaner, more focused user experience - Back to original simple design without complexity The login page now has a single clear path for users.bfea55d -
π Add dual authentication system: API key + OAuthβ
β¨ Features Added: - Dual authentication options on login page - Users can choose between own API key or HF OAuth - API key stored locally in browser - Automatic API key header injection in all requests - Authentication management in Settings modal π§ Technical Implementation: - Updated login page with two authentication options - Modified fetchApi to include X-OpenAI-API-Key header - Enhanced backend auth dependencies to support API key mode - Added comprehensive auth section in SettingsModal - API key validation and local storage management π― User Benefits: - No forced authentication for users with own API keys - Flexible authentication based on user preference - Clear indication of current auth method - Easy API key management and removal π‘ Security Features: - API keys stored only locally - Masked API key display in settings - Confirmation dialogs for key removal - Proper validation of API key format220ebd3 -
Switch login page to light theme for consistency with main app
45acb90 -
Simplify login page: remove badges and institutional info
e0f4f44 -
Separate login page to HTML template for better maintainability
2175f7f