35 Commits
Author SHA1 Message Date
sankalp 3b0625a823 feat(templates): add logout link URL, hide in HTMX responses 2026-06-30 10:35:57 +05:45
sankalp 3ed5083551 feat(templates/components): add push notification handling to service worker
Add support for receiving push notifications, parsing JSON payload, displaying notifications with title, body, icon, badge and handling click actions to focus or open the associated URL, improving user experience with timely interactive alerts
2026-06-30 10:22:39 +05:45
sankalp 22826fe78b feat(templates): add push notification prompt UI and JS logic
Enable real-time user notifications to improve engagement and ensure timely updates.
2026-06-30 10:22:21 +05:45
sankalp 4f9be30a2a refactor(templates): reorganize template hierarchy and update includes
reorganize templates into pages/ and modals/ directories for better structure
update includes to reference new paths, maintaining functionality
2026-06-29 08:01:22 +05:45
sankalp 9da2e2ee03 feat(templates/users): reorganize user templates into pages subdirectory
Refactor template layout to group related pages, improving project structure and clarity.
2026-06-29 08:00:44 +05:45
sankalp e1f1d4a4fc feat(templates/tickets): rename pages and add create ticket modal
Refactor page templates into pages/ and introduce a create modal for ticket creation
2026-06-29 08:00:27 +05:45
sankalp 1a228cbd70 refactor(settings): reorganize UI template hierarchy
Move ui.html into pages subdirectory to improve organization and align with future UI components.
2026-06-29 08:00:10 +05:45
sankalp 2f1df8ab03 feat(templates/projects): add automation UI and modal for board automation rules
Enable management of automation rules with UI buttons, modal, and status condition handling
2026-06-29 07:50:09 +05:45
sankalp 7431c8f050 refactor(templates): use role_display_name and improve role/admin clarity
Clarify role display names, refine admin role labeling, and update confirmation messages for better UX.
2026-06-29 06:57:52 +05:45
sankalp b7d43b57f4 feat(templates/users): adopt role objects for branding and selection
Replace role name comparisons with slug checks and display role.name to support dynamic role definitions.
2026-06-29 06:56:55 +05:45
sankalp 4c1ebbf357 feat(templates/projects/partials): replace hard-coded status completion check with configurable allowed_move_to_status_ids
Prevents brute-force attacks by only allowing moves to statuses explicitly permitted.
2026-06-28 19:35:54 +05:45
sankalp ce0c1349ca feat(templates/projects): add permissions modal and restricted mode logic
Implement permission configuration UI and enforce restricted movement rules
2026-06-28 19:35:30 +05:45
sankalp 5db8cfc63e feat(templates/users): default new user role to backend_developer
Switch default role from 'member' to 'backend_developer' in forms, list, and modals, ensuring consistency across templates. Also update role label rendering to use get_role_display fallback.
2026-06-28 19:16:22 +05:45
sankalp 9cd3026785 feat(templates/tickets): replace role checks with is_admin for admin UI
Replaces `role != 'member'` checks with `is_admin` to correctly target admin users and simplify conditional rendering.
2026-06-28 19:16:02 +05:45
sankalp 457fc76f9d feat(templates/projects): add manage statuses button and restricted mode UI
Provides admin UI to manage statuses and prevents moving tickets to completed statuses
2026-06-28 19:15:35 +05:45
sankalp 37cc6a660c feat(templates/projects): replace view link with button and add note view modal
Switch from <a> tag to button with Alpine click handler and add a modal dialog for viewing note content, improving interactivity and user experience.
2026-06-28 18:36:49 +05:45
sankalp 40d435e48d fix(auth): simplify dark mode condition to only check explicit setting
Remove reliance on prefers-color-scheme when dark mode preference is explicitly stored, preventing unintended dark mode activation.
2026-06-28 18:36:25 +05:45
sankalp 0e255da3fb fix(templates): simplify dark mode detection
Remove redundant prefers-color-scheme check after confirming dark mode via localStorage.
2026-06-28 15:00:20 +05:45
sankalp 71b700388b feat(templates): add polished login UI with Tailwind and Alpine.js
Enhances user experience with dark‑mode detection, responsive layout, and streamlined role selection workflow
2026-06-28 14:15:39 +05:45
sankalp 9a6d3a3472 refactor(templates): remove duplicate and unused base template files
Remove duplicated base templates that caused conflicts and were no longer referenced.
2026-06-25 14:40:08 +05:45
sankalp d8557415d9 fix(templates/components): hide sidebar element with display:none
- Bug Fixes:
  - Added `style="display:none"` to ensure the sidebar is hidden by default, preventing accidental visibility and layout shifts.
2026-05-28 00:53:49 +05:45
sankalp 7f99d55252 feat(templates): add defer to external scripts and improve button cursor styling
Add defer to external script tags for better async loading and add CSS rule to set cursor to pointer for enabled buttons.

- New Features:
  - None
- Enhancements:
  - Added `defer` attribute to htmx, SortableJS, Chart.js, easymde, and Quill scripts.
  - Added `button:not(:disabled) { cursor: pointer; }` CSS rule.
- Bug Fixes:
  - None
2026-05-28 00:53:46 +05:45
sankalp 0537ea5e5e feat(templates): enrichUI with Tailwind styling and messaging component improvements
- Add custom border, background, and spacing utilities to base template
- Enhance message notification styling and layout
- Update delete modal button appearance and behavior
- Refine comment card component with Tailwind classes and responsive behavior
- Adjust sidebar responsiveness for mobile view
2026-05-28 00:51:41 +05:45
sankalp d04ee3cd6f feat(templates/pages/kanban): add drag-and-drop sortable column functionality and improve card movement handling
- New Features: Introduced sortable column UI with drag-and-drop reordering, visual ghost and drag styling, and automatic card movement via API.
- Enhancements: Added CSS classes for ghost and drag effects, integrated htmx `afterSwap` event to reinitialize sortable after dynamic swaps, and improved delay and filter settings.
- Bug Fixes: Fixed column identification logic, ensured proper cleanup of existing sortable instances, and enhanced error handling to reload page on failed moves.
2026-05-28 00:31:34 +05:45
sankalp 049a152704 feat(templates/pages/issues): increase issue description height and extend Quill toolbar
- New Features:
  - Added color and background options, sub/super script, extra header levels, check list, indent and direction controls, image and video buttons
- Enhancements:
  - Raised container height from 300px to 400px; updated toolbar configuration for richer formatting
- Bug Fixes:
  - None
2026-05-28 00:31:30 +05:45
sankalp c5ed358d35 feat(templates/pages/tickets): increase textarea container height and extend rich text toolbar options
Increase container height from 300px to 400px for better visibility; add numerous formatting options to the dropdown (color, background, script sub/super, extended headers, check list, indent controls, direction, etc.) to improve editing experience.

New Features:
- Added new dropdown items: color, background, script sub, script super, extended header levels, check list, indent controls, direction.
- Expanded list options with bullet check and additional utilities.

Enhancements:
- Enlarged description field container to accommodate taller content.

Bug Fixes:
- None
2026-05-28 00:31:25 +05:45
sankalp 7271e01186 feat(templates/partials/kanban): add edit action and improve drag handling in cardAdds an inline edit link to each Kanban card and introduces a data-card-id attribute for easier identification. Updates class handling to prevent accidental dragging and refines hover interactions, enhancing the card UI.
New Features
- Add edit action link that opens the card edit modal.
- Introduce `data-card-id` attribute for stable card identification.

Enhancements
- Add `no-drag` class to the card container to stop drag propagation.
- Refine hover styling and transition behavior.

Bug Fixes
- Preserve original `id="card-{{ card.pk }}"` attribute without regression.
2026-05-28 00:31:16 +05:45
sankalp 057031ed1b feat(templates/pages): add admin delete actions and UI refinements
- New Features
  - Add delete buttons with confirmation modals for users, expenses, invoices, and tickets
  - Introduce a priority column with styled badges in the ticket list
  - Refactor form fields to a shared partial for cleaner markup
- Enhancements
  - Rename “Creator” to “Assignee” and improve status/priority badge rendering
  - Fix empty‑state colspan and correct broken delete‑modal label closing tag
  - Initialize Quill editor on the ticket detail page
- Bug Fixes
  - Resolve typo in button class name and mismatched table header count
2026-05-28 00:26:59 +05:45
sankalp 8fdb934cc0 feat(templates): add HTMX, Chart.js, EasyMDE, Quill, and DeleteModal component
The changes introduce client‑side interactivity and richer UI components, enabling markdown editing, data visualization, drag‑and‑drop, and a standardized delete confirmation flow.

- New Features  - Added HTMX, SortableJS, and Chart.js scripts for dynamic behavior and charts  - Integrated EasyMDE CSS/JS for markdown editing
  - Added Quill CSS/JS for rich text editing
  - Created delete_modal.html component with confirmation modal
- Enhancements
  - Updated base template to load new static assets via tailwind_cli
  - Improved UI consistency with Tailwind classes and styling- Bug Fixes
  - None
2026-05-28 00:26:54 +05:45
sankalp 03051214a5 feat(templates/partials):add UI partials for form fields and kanban comment interactions 2026-05-28 00:26:42 +05:45
sankalp 5bffdcfc1d feat(templates/partials): enhance Kanban card UI with Tailwind styling and interactive controls- New Features: added edit link with icon, delete form with confirmation dialog; render card description and due date; introduced responsive Tailwind design
- Enhancements: upgraded visual styling with rounded-xl, shadow, hover effects, improved spacing and accessibility- Bug Fixes: removed redundant attributes, fixed event propagation for inline actions
2026-05-28 00:00:09 +05:45
sankalp a42fd580b7 refactor(templates/pages): redesign login, profile, and ticket list UI with Tailwind improvements
Added branding and updated layouts using base_authenticated.html; applied consistent Tailwind styling across authentication and ticket pages; improved usability with hover effects and clearer typography.

New Features:
-

Enhancements:
- Refactored login page layout to use a centered card with branding and modern styling.
- Updated profile page to use the authenticated base template and a refined card design.
- Enhanced ticket list page with a descriptive subtitle, SVG icon, and refined table styling including hover states and better typography.

Bug Fixes:
- Fixed template inheritance to use base_authenticated.html for profile and tickets pages.
- Corrected form button text and styling for consistency.
2026-05-28 00:00:06 +05:45
sankalp 2435061423 feat(templates): modernize base layout with Tailwind, HTMX, Alpine and authenticated UI
Replace Django default templates with Tailwind‑styled layout, add reusable sidebar/topbar, integrate Alpine.js and HTMX for interactivity, include Chart.js placeholder, and streamline markup for authenticated views.

New Features
- Introduce Tailwind CSS via django‑tailwind‑cli for consistent styling
- Add Alpine.js and HTMX for client‑side behavior
- Add Chart.js script for future visualisation
- Create reusable sidebar and topbar components for authenticated templates

Enhancements
- Refactor base.html to reduce duplication and improve maintainability
- Add dynamic title block and extra_head/slots for extensibility
- Adopt responsive layout with min‑h-screen and fixed navigation

Bug Fixes- Remove stale static CSS reference that caused layout issues
- Fix missing user role display and related styling
- Correct viewport meta tag and charset handling
2026-05-27 23:59:59 +05:45
sankalp 15eef203fa feat(templates/partials): add issue comment list and kanban card partials
Add partial templates for rendering issue comments and Kanban cards.

Details:
- New Features  - Add `comment_list.html` to display comment author, timestamp, and body.
  - Add `kanban/card.html` for draggable Kanban card UI with edit link and due date.
2026-05-27 23:33:16 +05:45
sankalp 001e6fac48 feat(templates): add core UItemplates for authentication and ticket management
New Features
- Added `templates/base.html` with Tailwind, HTMX, and project management title block.
- Introduced `templates/base/base.html` as a minimal fallback layout.
- Created `templates/components/navbar.html` with authenticated navigation menu.
- Implemented `templates/pages/accounts/login.html` for user authentication.
- Developed ticket management templates:
  - `templates/pages/tickets/ticket_list.html` for displaying tickets.
  - `templates/pages/tickets/ticket_form.html` for creating/editing tickets.

Enhancements
- Structured all new templates to inherit from the shared base layout.
- Integrated Tailwind CSS and HTMX via CDN for consistent styling and interactivity.
- Provided placeholder blocks for extra head and scripts to allow future extensions.

Bug Fixes- No bug fixes included in this commit.
2026-05-27 23:32:54 +05:45