Commit Graph
16 Commits
Author SHA1 Message Date
sankalp a4cdaea4fe feat(notifications): add notification dashboard and detail views
This commit introduces a comprehensive notification management system with three new templates for displaying and managing notifications.

**New Features**
- Added `dashboard.html` with a notification overview featuring:
  - Summary statistics for pending, sent, and failed notifications
  - A table of recent notifications with status indicators
  - Navigation links to view all notifications
- Added `notification_list.html` for displaying all notifications in a paginated table format
- Added `notification_detail.html` for viewing individual notification details including:
  - Recipient information
  - Subject and message content
  - Status with visual indicators
  - Timestamps for creation and delivery
  - Related object information when available

**Enhancements & Refinements**
- Consistent styling across all notification templates using the existing design system
- Status badges with color coding (success for sent, error for failed, warning for pending)
- Responsive table layouts for better mobile viewing
- Empty state handling for when no notifications exist
```
2025-12-18 21:28:26 +05:45
sankalp 382e2f5d58 feat(shared): add productivity dashboard link to navbar
The navbar now includes a functional link to the productivity dashboard page.

- **New Features**:
  - Added URL routing for the productivity dashboard link in the navbar
  - Replaced placeholder href="#" with dynamic {% url 'productivity_dashboard' %} tag
```
2025-12-18 21:16:47 +05:45
sankalp 3643e34304 feat(finance): add expense management endpoints
This update introduces new endpoints for expense management in the finance API, complementing the existing invoice functionality. The changes include new URL routes for listing and creating expenses, along with minor formatting improvements to the URL configuration file.

**New Features:**
- Added `/expenses/` endpoint for listing expenses
- Added `/expenses/create/` endpoint for creating new expenses

**Enhancements & Refinements:**
- Removed trailing whitespace and blank lines in `urls.py` for improved code consistency
- Reorganized imports to place Django imports first, followed by local imports
```
2025-12-18 21:16:30 +05:45
sankalp 0be952becd feat(shared): add dynamic finance dashboard link to navbar
The navbar now includes a functional link to the finance dashboard using Django's URL template tag, replacing the placeholder href.

**New Features**
- Added dynamic URL resolution for the finance dashboard link using `{% url 'finance_dashboard' %}`

**Enhancements & Refinements**
- Replaced static placeholder href (`#`) with a functional Django URL tag for better navigation
```
2025-12-18 21:00:36 +05:45
sankalp 2baa947c21 feat(finance): add finance dashboard and CRUD templates
Add new finance dashboard with key financial metrics and recent transaction overviews. Implement invoice and expense management templates with create, edit, and list views.

**New Features**
- **Finance Dashboard**: Shows total income, expenses, net profit, and pending income stats
- **Recent Transactions**: Displays tables for recent invoices and expenses
- **Invoice Management**:
  - Create/edit invoice form with client, project, amount, status
  - Invoice list view with filtering and actions
- **Expense Tracking**:
  - Expense creation/editing form
  - Expense list with category filter and delete action

**Enhancements & Refinements**
- Responsive grid layouts for dashboard components
- Status badges with color coding for invoices
- HTMX integration for delete actions in list views
- Consistent styling with borders, shadows, and hover states
- Quick action buttons for creating new invoices/expenses
- Dynamic form titles for create/edit modes
</answer>
2025-12-18 20:20:48 +05:45
sankalp 244ae7d8b8 feat(finance): add finance template files
Initial addition of core finance template files to support financial management features.

**New Features**
- **dashboard.html**: Base template for financial dashboard view
- **expense_list.html**: Template for displaying expense tracking records
- **invoice_form.html**: Template for invoice creation and editing interface
- **invoice_list.html**: Template for displaying invoice records and summaries
2025-12-14 11:26:23 +05:45
sankalp 340be253a3 feat(shared): update base and navbar templates with new features and improvements
- Added HTMX integration for enhanced interactivity
- Introduced favicon support and updated site title
- Fixed navbar link routing

**New Features**
- **HTMX Support**: Added HTMX script inclusion to enable modern AJAX functionality
- **Favicon Support**: Implemented favicon linking using Django's static file system

**Enhancements & Refinements**
- **Branding**: Changed page title from generic 'My Django App' to 'DevSuite'
- **Navigation**: Updated navbar project link to use proper Django URL reverse lookup
- **Formatting**: Improved HTML structure with better spacing and indentation
2025-12-14 09:39:46 +05:45
sankalp 31688a6b04 feat(projects): add project management templates
Added new templates for project management functionality including listing, creation, and detailed views. These templates integrate with HTMX for dynamic interactions and provide a responsive layout.

**New Features**
- **project_list.html**: Displays a table of projects with status badges, client associations, and deadline tracking. Includes actions for creating, editing, and deleting projects.
- **project_detail.html**: Shows detailed project information including status, description, client, and deadline. Features an embedded kanban board for task management and a modal for task creation.
- **project_form.html**: Provides a multi-step form wizard for creating/editing projects with validation and navigation controls.

**Enhancements & Refinements**
- Responsive design across all templates for consistent UX on different devices.
- Dynamic status badges color-coded based on project state.
- Integrated HTMX for seamless form submissions and DOM updates in project list and task management.
2025-12-14 09:39:12 +05:45
sankalp 036a6471a3 feat(projects/partials): add kanban board and project form templates
Introduce two new template partials for projects: a kanban board interface and a multi-step project form. These additions provide enhanced project management capabilities and streamlined project creation.

**New Features**
- **Kanban board** with four columns (To Do, In Progress, Review, Done)
- Dynamic task cards with drag-and-drop functionality
- Task CRUD operations via modals (Add Task, Edit Task)
- Status badges showing task counts per column
- **Project form** with three-step wizard interface
- Form validation and dynamic step navigation
- Responsive design for both components

**Enhancements & Refinements**
- Interactive UI elements with hover states and visual feedback
- Automatic count updates when tasks are moved or modified
- HTMX integration for seamless form submissions
- Clean and modern styling using utility classes
- Accessibility improvements with proper ARIA labels and focus management
2025-12-14 09:39:00 +05:45
sankalp f7619eefd9 feat(templates/shared): update navbar client link functionality
- **New Features**
  - Added dynamic URL reference for the client list page using `{% url 'client_list' %}` in the navbar.

- **Enhancements & Refinements**
  - Improved user navigation experience by replacing a static placeholder link with a functional client list page URL.
2025-12-14 08:18:55 +05:45
sankalp 4698351e58 feat(clients/partials): improve client form functionality and validation
Enhancements to the client form include phone number validation and interface improvements. The short code field is now auto-generated and disabled, while the phone input uses a proper widget with real-time validation.

**New Features**
- Added **Phone Number Validation** using libphonenumber-js with real-time feedback
- Implemented **Phone Input Widget** with country code selection

**Enhancements & Refinements**
- **Short Code Field** changed to read-only with "Auto-generated" placeholder
- Updated form styling for **Phone Input** using `join` container class
- Added phone validation script to automatically highlight valid/invalid entries

**Bug Fixes**
- Fixed potential inconsistency in phone number handling by replacing manual input with proper form widget
2025-12-14 08:18:51 +05:45
sankalp bce0cbcd39 feat(templates/base): update dashboard layout and add widgets
The dashboard template has been restructured to improve layout and introduce new dynamic content sections.

**New Features**
- Added **Recent Activity** widget to display user actions
- Introduced **Quick Stats** cards section showing key metrics

**Enhancements & Refinements**
- Updated main container to use flex layout for better spacing
- Changed bottom padding from pb-50 to pb-10 for proper footer alignment
- Added min-h-screen class to ensure full-page height
2025-12-14 08:18:24 +05:45
sankalp 2fb94cf6e2 feat(static): add favicon.ico
Add favicon.ico to the static directory to provide a site icon for better branding and user experience.

- **New Features**
  - Add `favicon.ico` to the static assets for browser tab and bookmark visibility.
2025-12-14 08:17:31 +05:45
sankalp 2d4145103c update 2025-12-14 06:54:44 +05:45
sankalp cc7c31b521 feat(templates/shared): Add base HTML template with Tailwind CSS and dark theme
This commit introduces the foundational `base.html` template, setting up the common structure and styling for shared templates across the application.

- **New Features**
    - Initial `base.html` template for consistent page structure.
    - Integration of Tailwind CSS for modern and utility-first styling.
    - Default application-wide dark theme enabled.
    - Defined `content` block for inheritance by child templates.
    - Configured a responsive container (`container mx-auto px-4`) for main content.
2025-12-14 05:25:06 +05:45
sankalp 839062aedd feat(login): Add initial login page template
**New Features**
*   Introduced `login.html` template for user authentication.
*   Designed a basic login page structure including a hero section and a dedicated login card.
*   Displays the DevSuite logo and a brief application description.
*   Includes input fields for username and password.
*   Provides a "Login" action button.
*   Utilizes DaisyUI classes for styling elements such as inputs, buttons, and layout components.
2025-12-14 05:25:02 +05:45