Added CSS rules to improve visibility of .table-info rows and cells in dark mode. Updated cache-busting version for dark-mode.css in base.html to ensure latest styles are loaded.
APIUser model now computes stats directly from the database for accuracy, with new properties for current counts and days active. API documentation UI is improved with consistent code block styling, theme-aware code blocks, copy buttons, and example cards for cURL, JavaScript, and Python. Manual review templates updated to use new APIUser properties for displaying stats.
Replaces monolithic base.css with modular CSS files for layout, dark mode, tables, forms, modals, and responsive utilities. Moves theme initialization script from base.js to base.html to prevent dark mode flash on page load. Updates base.html to reference new CSS files and removes the old base.css import.
Applied consistent import formatting in Python route files, improved string formatting in AI moderator service, and standardized whitespace and indentation across CSS, JS, and HTML template files for better readability and maintainability. Updated pre-commit configuration to include isort, autopep8, flake8, and additional hooks for code quality and formatting enforcement.
Introduces a route to redirect to API user details by external user ID, allowing easier navigation for users with external identifiers. Enhances the content modal with improved metadata formatting, dark mode styling, and a button to view a user's other content when available. Updates database service to support metadata on content creation.
Introduces a mobile sidebar with overlay for authenticated users, refines dark mode styling for pagination and sidebar, and updates JS to support theme toggling and sidebar behavior on mobile and desktop. Also adds cache-busting query parameters to static asset links and improves responsive layout handling.
Moved dashboard title and actions to dedicated template blocks for better structure. Improved statistics card layout and spacing in CSS, and removed the Moderation Statistics section from the admin index template.
Introduces dark mode support with a toggle button, including persistent theme preference and comprehensive CSS for dark mode styling. Adds a sidebar collapse/expand feature with persistent state and responsive behavior. Refactors dashboard templates to use unified page header blocks for consistent layout and action buttons. Updates documentation with environment setup, API usage, and deployment notes.