Spaces:
Sleeping
Sleeping
Commit History
-
Working CHanges to revesion ; add preact support
roote8a57cb
-
fix: resolve IndentationError in database migrations
root4da93df -
feat: add user setting to disable AI topic suggestions
root- Added use_ai_suggestions column to users table with migration. - Added toggle in settings page to enable/disable AI suggestions. - Updated manual classification wizard to respect the setting (hides AI buttons and disables automated fetches). - Updated keyboard shortcuts to skip AI calls when disabled.d423ac0 -
feat: implement codebase and data management system with HF integration
root- Created /manage interface for switching code versions and restoring data backups. - Integrated Hugging Face Dataset API to list backup snapshots and restore specific revisions. - Enhanced hf_sync.py with a default repo (Jaimodiji/Report-Generator-Data) and simulation mode via RPT_DEBUG. - Added data protection: automated backups before any code switch or data restoration. - Updated entrypoint.sh to support default repo ID and debug simulation. - Added 'Manage Codebase' link to navbar dropdown.7d4bbcc -
feat: enhance session collections, automate classification sync, and overhaul manual classification wizard UI/UX
root- Automated sync of classified questions to NEETprep collections via sync_neetprep_collection helper. - Standard sessions with classified questions can now be viewed directly as collections without duplication. - Overhauled manual classification wizard in question_entry_v2 with Shift+1-4/~ subject shortcuts and Arrow cycling for AI suggestions. - Improved 'Double Enter' flow for rapid classification. - Added Zoology support to classification systems. - Unified dashboard view with 'View as Collection' for applicable sessions. - Fixed CSS leak in question_entry_v2.html. - Fixed BuildError for collection view links.77cff06
-
Remove arial.ttf from repo
root7d4265e
-
Donr
rootb3574fc -
feat: add session duplication as collection and flatten question entry UI
root4d801c0 -
fix: remove duplicated code in loadRightImageWithProgress causing SyntaxError
root2cf90d8 -
fix: resolve image cache misses and redundant downloads in Crop V2
root2a1f993 -
feat: enhance image caching and background pre-fetching in Crop V2
rootbbc99f1 -
style: remove unnecessary progress bar animation and optimize transition
root9ea8cbf -
fix: change storage key declarations to let to allow SPA navigation
root9a7261a -
feat: implement SPA-style navigation in Crop V2 for smoother UX
root2eb88f2 -
feat: add session grouping, improve chart sorting, and optimize crop loading
root2b5ce02
-
Fix top axis display and add plugin for proper synchronization
Akshit Shubham +1: Qwen-CoderCo-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>aeed659 -
Add stacked chart with topic ratios and subject filtering
Akshit Shubham +1: Qwen-CoderCo-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>e5a5320
-
fix: improve public download headers for PDF viewer app compatibility
t +1: Claude Opus 4.6- Add proper MIME type detection - Set Content-Disposition: inline for viewing in apps - Add Accept-Ranges header for byte range requests - Add CORS header for cross-origin app access - Support ?download=1 param for explicit download mode Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>f07037a -
feat: add public token links for Drive API files and breadcrumb navigation
t +1: Claude Opus 4.6- Add permanent public tokens unique to each file (no auth required) - Add /drive/api/public/<file_id>?token=<token> endpoint for public download - Add /drive/api/token/<file_id> to get public URL for a file - Copy link now fetches public URL with token for API files - Add breadcrumb navigation support for Google Drive API folders - Track folder path via query params for back navigation Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>abda79a -
fix: drive copy link uses download URL, exclude neetprep when tags selected
t +1: Claude Opus 4.6- Fix createFileRow JS function to set rawLink for API files - When tags are selected in NeetPrep quiz, exclude untagged NeetPrep questions Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>579fd4f -
feat: add PDF viewer selection setting and fix drive copy links
t +1: Claude Opus 4.6- Add pdf_viewer user setting (adobe/browser/legacy) for PDF Manager - Add download endpoint for Google Drive API files - Fix copy link to use direct download URLs instead of viewer URLs - Drive browser always uses Adobe PDF viewer regardless of setting Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>a90d76a -
feat: add lazy loading for large drive folders
t +1: Claude Opus 4.6- Add paginated JSON API endpoints for file listing - /drive/api/files/<folder_id> for Google Drive API files - /drive/local/files/<source_id> for locally synced files - Implement infinite scroll with IntersectionObserver - Show skeleton loaders and loading indicators - Auto-enable lazy loading for folders with >50 items - Dynamic HTML generation for grid and list views Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>71ab958 -
feat: major UX overhaul for PDF viewer, drive browser, and NeetPrep
t +1: Claude Opus 4.6PDF Viewer: - Replace PDF.js with Adobe PDF Embed API for state-of-the-art UX - Native smooth pinch-to-zoom centered on finger position - Better touch handling, zoom controls, and fullscreen support - Clean minimal header with back button and download Drive Browser: - Copy button now copies direct download URL (not viewer URL) - Add support for more file types: slides, sheets, docs, video - Add "Open in Google" button for Slides/Sheets/Docs files - Add dedicated image viewer with zoom/pan support NeetPrep: - Add tag-based quiz filtering with searchable tag chips - Extract tags from classified questions - Pass tag filters to quiz generation for filtered quizzes Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>693a1e9
-
feat: modernize drive sync UI and add public access links
t +1: Claude Opus 4.6- Redesign drive_manager.html with modern card-based layout - Redesign drive_browser.html with grid/list view toggle - Add token-based public access for sharing files without auth - Add /drive/public/<id>/list.txt endpoint for curl-friendly listings - Add /drive/public/<id>/download endpoint for direct file downloads - Add quick copy buttons for file links in browser view - Add share modal with generated public URLs Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>b564de3
-
feat: refactor revision notes to store JSON instead of rasterized images
t +1: Claude Opus 4.6- Extract revision notes modal to separate partial (_revision_notes.html) - Save Fabric.js canvas as JSON to database instead of PNG files - Add /save_note_json and /get_note_json API endpoints - Add note_json column migration to images table - Fix stylus mode palm rejection - remove accidental paths from finger touch - Add two_page_crop user setting with database migration - Update serve_processed_file to authorize both processed_filename and note_filename - Add null checks in setupEventListeners to prevent JS errors Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>e311892 -
ux: replace skip page confirm dialog with non-intrusive toast
t +1: Claude (claude-opus-4-5-thinking)- Remove blocking confirm("Skip this page?") dialog - Show brief "Skipping page..." toast instead - Add small delay for toast visibility before proceeding - Much better UX for quick page navigation Co-Authored-By: Claude (claude-opus-4-5-thinking) <noreply@anthropic.com>6d16370 -
style: add smooth animations and byte-accurate progress bar
t +1: Claude (claude-opus-4-5-thinking)cropv2.html enhancements: - Add byte-accurate progress bar with percentage and bytes display - Show loading progress info badge (e.g., "45% · 1.2 MB / 2.7 MB") - Add smooth fade-in animations for main image and thumbnails - Add slide-in animation for box toolbar - Improve FAB buttons with gradient backgrounds and hover effects - Add backdrop blur to floating panels - Improve thumbnail hover states with scale and glow effects - Add loading state for crop area while image loads base.html global animations: - Add fadeIn animation for page containers - Add slideInDown animation for alerts - Add dropdownFadeIn animation for dropdown menus - Add smooth list-group-item hover transitions - Add focus-visible ring enhancement - Add skeleton loading animation utility class camera_routes.py fix: - Fix circular import by moving socketio handlers to init function - Add init_socketio_handlers() called after app creation Co-Authored-By: Claude (claude-opus-4-5-thinking) <noreply@anthropic.com>c3812ef
-
feat: add auto-save functionality to question entry form
t +1: Claude (claude-opus-4-5-thinking)- Add auto-save on blur for question_number, marked_solution, actual_solution fields - Add auto-save on status button click (correct/wrong/unattempted) - Add auto-save for PDF metadata fields (subject, tags, notes) - Add /autosave_question route for saving single question data - Add /autosave_session_metadata route for saving session metadata - Show subtle "Saved" badge indicator on successful auto-save - Update save_questions to use UPSERT pattern (preserves classification data) - Remove DELETE + INSERT pattern that was losing subject/chapter data This provides a much better UX - users no longer lose data if they forget to click "Generate PDF". All changes are saved automatically as they type. Co-Authored-By: Claude (claude-opus-4-5-thinking) <noreply@anthropic.com>520ce12 -
style: unify UI/UX design system across all templates
t +1: Claude (claude-opus-4-5-thinking)- Add unified CSS variables to base.html for consistent theming: - Color variables (--bg-dark, --bg-card, --accent-primary, etc.) - Transition variables (--transition-fast, --transition-normal) - Shadow variables (--shadow-sm, --shadow-md) - Add global btn-pill style with hover lift effect - Add unified modal header gradient backgrounds - Add unified card hover effects - Add unified table, badge, nav-pills, and form control styles - Update login/register with card styling and icons - Update dashboard to use inherited base styles (remove duplicates) - Update pdf_manager to use CSS variables (remove duplicate Tom Select styles) - Update settings with fieldset icons and pill buttons - Update collection_view with CSS variables and pill buttons - Update neetprep with CSS variables and pill action buttons - Update neetprep_edit/classified_edit with unified card styling - Remove hardcoded color values in favor of CSS variables Co-Authored-By: Claude (claude-opus-4-5-thinking) <noreply@…106be3a -
style: unify UI/UX across question entry and quiz templates
t +1: Claude (claude-opus-4-5-thinking)- Add CSS variables for consistent color scheme (--bg-dark, --accent-info, etc.) - Unify note card/section styling with gradient backgrounds and hover effects - Add consistent btn-pill styling with hover transforms - Apply gradient backgrounds to modal headers - Improve progress bar with gradient fill - Add consistent transitions (--transition-fast, --transition-normal) - Unify toolbar and button styling in notes modal - Add shadow variables for consistent depth Co-Authored-By: Claude (claude-opus-4-5-thinking) <noreply@anthropic.com>b08752b -
fix: remove redundant question thumbnail from quiz details panel
t +1: Claude (claude-opus-4-5-thinking)The question is already visible in the main quiz area, no need to show it again in the details panel. Co-Authored-By: Claude (claude-opus-4-5-thinking) <noreply@anthropic.com>c0f39fc -
fix: handle None question_text in classified edit page
t +1: Claude (claude-opus-4-5-thinking)Co-Authored-By: Claude (claude-opus-4-5-thinking) <noreply@anthropic.com>e922737 -
fix: create question row if missing when saving classification
t +1: Claude (claude-opus-4-5-thinking)The update_single endpoint now checks if a questions row exists for the image_id, and creates one if it doesn't. This fixes the issue where manual classifications weren't being saved when the question row was missing. Co-Authored-By: Claude (claude-opus-4-5-thinking) <noreply@anthropic.com>32f5035 -
feat: add revision notes display in quiz and question reference in notes modal
t +1: Claude (claude-opus-4-5-thinking)Quiz (quiz_v2.html): - Display revision notes in details panel when pressing space - Show question thumbnail alongside details - Improved grid layout for details panel Notes Modal (question_entry_v2.html): - Add question reference panel on left side while writing notes - User can see the question while handwriting revision notes - Responsive: panel hidden on mobile Backend (neetprep.py): - Include note_filename in quiz question data for classified questions Co-Authored-By: Claude (claude-opus-4-5-thinking) <noreply@anthropic.com>bce2021 -
fix: improve stylus drawing with touch-action CSS and debounced save
t +1: Claude (claude-opus-4-5-thinking)- Add touch-action: none to canvas container to prevent browser gesture interference - Switch from object:added to path:created event for smoother drawing - Debounce save state to reduce lag during continuous drawing - Simplify palm rejection logic Co-Authored-By: Claude (claude-opus-4-5-thinking) <noreply@anthropic.com>5525be4 -
feat: redesign revision notes system with separate handwritten canvas
t +1: Claude (claude-opus-4-5-thinking)- Add blank white canvas for handwritten revision notes (not overlay) - Add checkbox to include/exclude notes in generated PDF - Add delete note functionality - Improved toolbar with highlighter, undo/redo, arrow shape, more colors - Add keyboard shortcuts (Ctrl+Z/Y, P/H/S/T keys) - Notes displayed below question image in PDF (60/40 split) - Add include_note_in_pdf column to database - Better UI/UX with tool groups and stylus-only mode Co-Authored-By: Claude (claude-opus-4-5-thinking) <noreply@anthropic.com>da90401
-
new features
tc5175b4 -
new features
td3d811e
-
fix: resolve unresponsive edit button in PDF manager
t- Implemented missing 'openEditModal' function in 'templates/pdf_manager.html'. - Added event listeners for single-item 'Details' (edit) actions. - Refactored bulk edit logic to use the shared modal function. - Prevented 'Enter' key from triggering unwanted form submissions during renaming.24388f8 -
fix: consolidate pending fixes for PDF manager UI, dashboard filtering, and SQL syntax
t- Removed corrupted 'arial.ttf'. - Updated 'dashboard.py' to filter out 'final_pdf' sessions. - Applied migrations in 'database.py' for session metadata. - Fixed SQL syntax error in 'routes/library.py'. - Set session type to 'final_pdf' in 'routes/upload.py'. - Refined 'templates/pdf_manager.html' with search, dropdowns, and individual delete buttons.2b07d6b -
fix: add missing uuid import in pdf_ops.py to resolve 500 error in merge and resize operations
tfb7e5e9 -
fix: resolve NameError in processing.py and restore missing question routes
t- Fixed NameError 'p_info' in process_crop_v2 by using correct variable name. - Restored '/get_topic_suggestions' and '/classified/update_single' routes in questions.py that were lost during modularization.daae428 -
fix: correct import of create_pdf_from_full_images in pdf_ops.py
tef01286 -
refactor: modularize routes.py into dedicated package
t- Created routes/ directory with logical submodules (serving, upload, processing, questions, pdf_ops, library, general). - Implemented routes/common.py for shared blueprint and global state. - Updated root routes.py to act as a proxy for the new modular package. - Verified syntax and logic preservation across all new modules.b8f6c54
-
fix: escape curly braces in prompt templates to resolve KeyError during formatting
t2246152 -
fix: resolve ambiguous column error and improve AI suggestions UX
t- Fix ambiguous 'session_id' in classifier_routes.py SQL query. - Update nvidia_prompts.py to return multiple chapter suggestions and remove redundant text field. - Enhance question_entry_v2.html with suggestion pre-fetching, caching, and multi-choice chip UI.0b772fa -
feat: add manual classification with AI topic suggestions in question entry v2
t- Introduced nvidia_prompts.py with specialized NEET syllabus prompts for Biology, Chemistry, Physics, and Mathematics. - Added /get_topic_suggestions route to fetch AI-powered chapter suggestions using NVIDIA NIM. - Implemented manual classification wizard in question_entry_v2.html with range selection and topic entry modals. - Added /classified/update_single route for updating individual question metadata.8fc5307 -
Fix database locking issue during HF sync\n\n- Removed shutil.move() that was temporarily replacing the active database file\n- Now upload the backup file directly without affecting the active database\n- This prevents 'attempt to write a readonly database' errors during sync operations\n- Ensures database remains accessible for writes during backup process
t +1: Qwen-CoderCo-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>a0c684f -
fix: switch to bullseye base to resolve wkhtmltox dependencies
t19344f4
-
fix: switch to bullseye base to resolve wkhtmltox dependencies
tfb43ab0