Commit Graph

44 Commits

Author SHA1 Message Date
c03b27b960 Fix user menu in dark mode. 2025-07-22 07:27:02 +02:00
80edb1be55 Add comprehensive dark mode support with UI consistency fixes
This commit introduces a complete dark mode implementation across the entire application,
along with various UI consistency improvements and mobile responsiveness fixes.

Dark Mode Implementation:
- Added new dark-mode.css with comprehensive CSS variable system
- Implemented theme switcher with localStorage persistence
- Created dark mode color palette optimized for readability
- Added smooth transitions between light and dark themes

Component-Specific Dark Mode Styling:
- Headers: Added glowing gradient effects with animations (pulse, shimmer)
- Tables: Unified table styling across all views with proper dark mode support
- Forms: Updated all form controls, inputs, and buttons for dark mode
- Cards: Fixed white backgrounds in project cards, stat cards, and activity items
- Navigation: Enhanced sidebar and mobile navigation dark mode styling
- Modals: Added dark mode support for all modal dialogs including task modal
- Charts: Updated chart colors for dark mode visibility

UI Consistency Improvements:
- Standardized container padding (1rem) across all pages
- Unified page widths (regular: 1400px, admin: 1600px)
- Fixed mobile bottom navigation to only show on devices ≤768px
- Resolved page header positioning inconsistencies
- Improved text contrast ratios for better accessibility

Table Consolidation:
- Created tables-consolidated.css for unified table styling
- Removed duplicate table styles across components
- Standardized table headers, borders, and hover states
- Added responsive table behavior for mobile devices

Mobile Improvements:
- Fixed splash screen viewport coverage
- Enhanced mobile menu accessibility
- Improved touch targets for mobile interactions
- Added proper mobile-specific dark mode adjustments

Technical Details:
- CSS variables for easy theme customization
- Proper specificity management with [data-theme="dark"] selectors
- Performance optimized with minimal repaints
- Browser compatibility for modern browsers

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 20:41:11 +02:00
4264357d04 Fix favicon not showing issue
- Use url_for() for all favicon and icon references in layout.html
- Add specific routes for favicon files to ensure proper serving
- Create dynamic webmanifest route with correct icon paths
- Import send_from_directory for serving static files
- This ensures favicons work correctly in all deployment scenarios
2025-07-14 11:11:50 +02:00
4fcf4bbf80 Fix Time Tracking header jump by standardizing container classes
- Replace time-tracking-container with page-container for consistency
- Update all timetrack pages to use standard page-container class
- Remove duplicate timetrack-container class references
- This ensures consistent header positioning across all pages
2025-07-14 10:57:22 +02:00
455bf0fe37 Fix splash screen not filling viewport on desktop screens
- Override main-content max-width restriction for non-logged-in users
- Ensure all splash sections have full width with no margins
- Add explicit margin resets to prevent inheritance issues
- Content within sections maintains proper max-width for readability
2025-07-14 10:38:50 +02:00
7a5e271395 Fix user dropdown accessibility in mobile/tablet menu
- Prevent sidebar from closing when clicking user dropdown toggle
- Exclude user dropdown from auto-close behavior on navigation clicks
- Position user dropdown modal correctly on mobile/tablet screens
- Increase z-index to ensure dropdown appears above mobile overlay
- Center dropdown modal on mobile/tablet for better accessibility
- Add proper event handling to prevent unwanted closures
2025-07-14 10:32:28 +02:00
6dfdc58afc Redesign splash screen for better mobile experience
- Created new splash-mobile.css with mobile-optimized styles
- Redesigned hero section with better mobile typography and spacing
- Optimized feature cards to stack properly on mobile
- Enhanced CTA buttons with proper touch targets (min 48px height)
- Improved animations and performance for mobile devices
- Added landscape mobile layout support
- Simplified backgrounds and animations for better performance
- Better responsive typography using clamp() for fluid scaling
- Added touch device optimizations
2025-07-14 10:29:24 +02:00
6f4916cac0 Remove duplicate page-header styles after cherry-pick 2025-07-14 10:11:55 +02:00
f8d9b3c47e Streamline common CSS styles. 2025-07-14 10:11:05 +02:00
5f54b02684 Add CSS for Tablet sized Screens. 2025-07-14 10:07:56 +02:00
7140aeba41 Improve mobile UI/UX. 2025-07-13 10:52:20 +02:00
032472a621 Update Sprint & Task Management style 2025-07-09 10:43:25 +02:00
bd681b5c00 Update Splash page. 2025-07-09 08:14:40 +02:00
e959734973 Stramline template's use and adjust styl.es. 2025-07-09 06:45:31 +02:00
9dd208800d Switch Emojis to Tabler icons. 2025-07-08 22:35:31 +02:00
cbdab2dfdd Merge branch 'master' into feature-markdown-notes 2025-07-08 09:01:18 +02:00
9a79778ad6 Squashed commit of the following:
commit 1eeea9f83ad9230a5c1f7a75662770eaab0df837
Author: Jens Luedicke <jens@luedicke.me>
Date:   Mon Jul 7 21:15:41 2025 +0200

    Disable resuming of old time entries.

commit 3e3ec2f01cb7943622b819a19179388078ae1315
Author: Jens Luedicke <jens@luedicke.me>
Date:   Mon Jul 7 20:59:19 2025 +0200

    Refactor db migrations.

commit 15a51a569da36c6b7c9e01ab17b6fdbdee6ad994
Author: Jens Luedicke <jens@luedicke.me>
Date:   Mon Jul 7 19:58:04 2025 +0200

    Apply new style for Time Tracking view.

commit 77e5278b303e060d2b03853b06277f8aa567ae68
Author: Jens Luedicke <jens@luedicke.me>
Date:   Mon Jul 7 18:06:04 2025 +0200

    Allow direct registrations as a Company.

commit 188a8772757cbef374243d3a5f29e4440ddecabe
Author: Jens Luedicke <jens@luedicke.me>
Date:   Mon Jul 7 18:04:45 2025 +0200

    Add email invitation feature.

commit d9ebaa02aa01b518960a20dccdd5a327d82f30c6
Author: Jens Luedicke <jens@luedicke.me>
Date:   Mon Jul 7 17:12:32 2025 +0200

    Apply common style for Company, User, Team management pages.

commit 81149caf4d8fc6317e2ab1b4f022b32fc5aa6d22
Author: Jens Luedicke <jens@luedicke.me>
Date:   Mon Jul 7 16:44:32 2025 +0200

    Move export functions to own module.

commit 1a26e19338e73f8849c671471dd15cc3c1b1fe82
Author: Jens Luedicke <jens@luedicke.me>
Date:   Mon Jul 7 15:51:15 2025 +0200

    Split up models.py.

commit 61f1ccd10f721b0ff4dc1eccf30c7a1ee13f204d
Author: Jens Luedicke <jens@luedicke.me>
Date:   Mon Jul 7 12:05:28 2025 +0200

    Move utility function into own modules.

commit 84b341ed35e2c5387819a8b9f9d41eca900ae79f
Author: Jens Luedicke <jens@luedicke.me>
Date:   Mon Jul 7 11:44:24 2025 +0200

    Refactor auth functions use.

commit 923e311e3da5b26d85845c2832b73b7b17c48adb
Author: Jens Luedicke <jens@luedicke.me>
Date:   Mon Jul 7 11:35:52 2025 +0200

    Refactor route nameing and fix bugs along the way.

commit f0a5c4419c340e62a2615c60b2a9de28204d2995
Author: Jens Luedicke <jens@luedicke.me>
Date:   Mon Jul 7 10:34:33 2025 +0200

    Fix URL endpoints in announcement template.

commit b74d74542a1c8dc350749e4788a9464d067a88b5
Author: Jens Luedicke <jens@luedicke.me>
Date:   Mon Jul 7 09:25:53 2025 +0200

    Move announcements to own module.

commit 9563a28021ac46c82c04fe4649b394dbf96f92c7
Author: Jens Luedicke <jens@luedicke.me>
Date:   Mon Jul 7 09:16:30 2025 +0200

    Combine Company view and edit templates.

commit 6687c373e681d54e4deab6b2582fed5cea9aadf6
Author: Jens Luedicke <jens@luedicke.me>
Date:   Mon Jul 7 08:17:42 2025 +0200

    Move Users, Company and System Administration to own modules.

commit 8b7894a2e3eb84bb059f546648b6b9536fea724e
Author: Jens Luedicke <jens@luedicke.me>
Date:   Mon Jul 7 07:40:57 2025 +0200

    Move Teams and Projects to own modules.

commit d11bf059d99839ecf1f5d7020b8c8c8a2454c00b
Author: Jens Luedicke <jens@luedicke.me>
Date:   Mon Jul 7 07:09:33 2025 +0200

    Move Tasks and Sprints to own modules.
2025-07-07 21:16:36 +02:00
13026876f8 Add initial version of Markdown Notes feature. 2025-07-06 19:40:34 +02:00
c1acc3122d Disable initial email verification. 2025-07-06 18:16:00 +02:00
b08ae5feca Enable configuration of an Imprint. 2025-07-06 17:49:14 +02:00
9bc3839587 Add user avatars and comments for tasks. 2025-07-06 16:49:17 +02:00
19314bd532 Add sub-tasks feature. 2025-07-06 15:53:06 +02:00
9b2f457f0b Improve font and layout. 2025-07-06 11:21:31 +02:00
6213cdd2b9 Add splash page and improve user registration views. 2025-07-06 10:36:49 +02:00
1fe3f18bbd Remove obsolete Kanban parts. 2025-07-04 21:55:54 +02:00
43b99a0c3e Streamline CSS code across all views. 2025-07-04 20:59:38 +02:00
2888e66f49 Align styling across different views. 2025-07-04 15:47:54 +02:00
e31401a939 Add system announcement feature. 2025-07-04 08:05:11 +02:00
ad10c1fa7d Consolitated History views. 2025-07-01 10:41:05 +02:00
8ac9041860 Move navigation to a sidebar. 2025-06-30 15:33:03 +02:00
Jens Luedicke
26028aae73 Fix some CSS mis-alignments. Remove obsolete template file. 2025-06-29 21:25:59 +02:00
Jens Luedicke
be111a4bed Implement comprehensive project time logging feature
Add complete project management system with role-based access control:

**Core Features:**
- Project creation and management for Admins/Supervisors
- Time tracking with optional project selection and notes
- Project-based filtering and reporting in history
- Enhanced export functionality with project data
- Team-specific project assignments

**Database Changes:**
- New Project model with full relationships
- Enhanced TimeEntry model with project_id and notes
- Updated migration scripts with rollback support
- Sample project creation for testing

**User Interface:**
- Project management templates (create, edit, list)
- Enhanced time tracking with project dropdown
- Project filtering in history page
- Updated navigation for role-based access
- Modern styling with hover effects and responsive design

**API Enhancements:**
- Project validation and access control
- Updated arrive endpoint with project support
- Enhanced export functions with project data
- Role-based route protection

**Migration Support:**
- Comprehensive migration scripts (migrate_projects.py)
- Updated main migration script (migrate_db.py)
- Detailed migration documentation
- Rollback functionality for safe deployment

**Role-Based Access:**
- Admins: Full project CRUD operations
- Supervisors: Project creation and management
- Team Leaders: View team hours with projects
- Team Members: Select projects when tracking time

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-29 17:18:10 +02:00
Jens Luedicke
38a51c3eed Refactor and enhance export functionality with Team Hours support
- Fix missing import statements for CSV/Excel export functionality
- Refactor export code into modular helper functions for better maintainability
- Add comprehensive Team Hours export feature with CSV and Excel support
- Enhance export UI styling with modern gradients and hover effects
- Add role-based access control for team export functionality
- Include date range filtering and team leader inclusion options
- Add proper error handling and user feedback for export operations
- Update dependencies to include pandas and xlsxwriter
- Fix JavaScript scope issues for export button functionality

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-29 16:24:55 +02:00
Jens Luedicke
24d52e795c Merge branch 'master' into feature-user-management 2025-06-29 15:52:56 +02:00
Jens Luedicke
ac40415a11 Add missing styles. 2025-06-29 15:20:29 +02:00
Jens Luedicke
d8ec7d636e Add Team Roles feature. 2025-06-28 22:39:28 +02:00
Jens Luedicke
b9aa7ad413 Add Export to CSV or Excel. 2025-06-28 12:54:48 +02:00
Jens Luedicke
e7593dc840 Add System Settings. Enable/Disable User registration. 2025-06-28 11:30:34 +02:00
Jens Luedicke
99765d5728 Enable blocking and unblocking of users. 2025-06-28 11:10:22 +02:00
Jens Luedicke
5fa044e69c Change navigation. 2025-06-28 09:48:29 +02:00
Jens Luedicke
452f3abd80 Initial user management. 2025-06-28 09:33:39 +02:00
4277980c6e Enable resuming of logged work entry. 2025-06-27 15:14:57 +02:00
7f9783b2fc Improve logging features (edit and delete). 2025-06-27 15:14:57 +02:00
a8d1f33874 Initial commit. 2025-06-27 15:14:57 +02:00