mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2025-12-31 00:09:58 -06:00
Migrate frontend from custom CSS to Tailwind CSS framework with comprehensive template updates and improved component structure. Breaking Changes: - Remove legacy CSS files (base.css, calendar.css, ui.css, etc.) - Replace with Tailwind-based styling system New Features: - Add Tailwind CSS configuration with PostCSS pipeline - Create new template components for admin, clients, invoices, projects, reports - Add form-bridge.css for smooth transition between legacy and Tailwind styles - Add default avatar SVG asset - Implement Tailwind-based kanban board template - Add comprehensive UI quick wins documentation Infrastructure: - Add package.json with Tailwind dependencies - Configure PostCSS and Tailwind build pipeline - Update .gitignore for Node modules and build artifacts Testing: - Add template rendering tests (test_tasks_templates.py) - Add UI component tests (test_ui_quick_wins.py) Templates Added: - Admin: dashboard, settings, system info, user management - Clients: list and detail views - Invoices: full CRUD templates with payment recording - Projects: list, detail, and Tailwind kanban views - Reports: comprehensive reporting templates - Timer: manual entry interface This commit represents the first phase of the UI redesign initiative, maintaining backward compatibility where needed while establishing the foundation for modern, responsive interfaces.
25 lines
728 B
JSON
25 lines
728 B
JSON
{
|
|
"name": "timetracker-frontend",
|
|
"version": "1.0.0",
|
|
"description": "Frontend assets for TimeTracker",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"install:all": "npm install && npm install -D tailwindcss postcss autoprefixer",
|
|
"install:cmdk": "npm install cmdk",
|
|
"build:css": "tailwindcss -i ./app/static/src/input.css -o ./app/static/dist/output.css --watch",
|
|
"build:docker": "npx tailwindcss -i ./app/static/src/input.css -o ./app/static/dist/output.css"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"autoprefixer": "^10.4.16",
|
|
"postcss": "^8.4.31",
|
|
"tailwindcss": "^3.3.5"
|
|
},
|
|
"dependencies": {
|
|
"cmdk": "^1.1.1",
|
|
"framer-motion": "^12.23.24"
|
|
}
|
|
}
|