Commit Graph
31 Commits
Author SHA1 Message Date
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 25fc8f4c14 feat(static/css): add opacity-30 and hover text utilities
- New Features
  - Added `.opacity-30` class (30% opacity).
  - Added `.hover\:text-blue-500` hover styling with media query.
- Enhancements
  - Extended hover utilities for consistent responsive blue text.
- Bug Fixes
  - None.
2026-05-28 00:31:21 +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 3197ef1665 feat(apps): implement priority handling and comment system for kanban cards
New Features:
- Add `Priority` enum and `priority` field to `Card` model.
- Add `TicketComment` model and `TicketCommentCreateView` with inline comment support.
- Introduce templatetag filters `add_class`, `field_type`, and `render_markdown`.

Enhancements:
- Extend `CustomUser.is_admin()` to recognise superusers.
- Populate `KanbanConfig.ready()` to import signals for proper initialization.
- Expand ticket views and URLs to include assignee, priority, and comment handling.

Bug Fixes:
- None.
2026-05-28 00:27:02 +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 93ee63b7ed chore(static/css): expand Tailwind CSS with new colors, utilities, and component helpers
Add --color-red-800, ease‑out transition, and .modal/.list components; introduce responsive spacing, hover variants, and miscellaneous utilities such as .mt-1\.5, .min-h-\[80px\], and .rounded.

- New Features
  - New --color-red-800 variable and .bg-red-50 utility
  - .modal utility with open/close handling and backdrop styles
  - .list utility with grid layout and decorative separators
  - Cursor and hover utilities (e.g., .cursor-pointer, .hover\:bg-red-100)

- Enhancements
  - Additional spacing helpers (.mt-1\.5, .min-h-\[80px\]) and size utilities
  - Responsive column span (md\:col-span-2) and border utilities (.border-l-2)
  - Extended hover variants for background and text colors

- Bug Fixes
  - None
2026-05-28 00:26:49 +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 6748928468 chore(static): addTailwind CSS stylesheet
Add Tailwind CSS v4.1.18 stylesheet to enable utility‑first styling across the project.

- New Features:
  - Introduce Tailwind CSS utility classes for consistent UI theming.
  - Provide a comprehensive design system via generated Tailwind utilities.
- Enhancements:
  - Replace custom CSS with Tailwind‑generated utilities for faster development.
  - Enable responsive and customizable styling without manual overrides.
- Bug Fixes:
2026-05-28 00:00:20 +05:45
sankalp 7c6c3c83ce feat(apps):introduce user management CRUD and ticket delete functionality, improve context data and ordering 2026-05-28 00:00:16 +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 18acdde6e5 feat(apps): add role‑based CustomUser admin and ticketing system
- New Features
  * Introduce CustomUser with role field and admin integration
  * Add ProjectMembership model linking users to projects
  * Add Ticket model with status, type, creator, and project relationships
  * Register CustomUser and ProjectMembership in Django admin with list views
  * Add URLs and views for account management and ticket CRUD operations
- Enhancements
  * Provide pagination and filtering for ticket listings
  * Improve admin UI with role‑specific fieldsets
- Bug Fixes  * Remove obsolete serializers and placeholder files
2026-05-27 23:33:20 +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 06ea5d2945 feat(config): streamline configuration and remove dev‑only settingsAdd custom user model and improve static/media handling.
- New Features
  - Introduce `AUTH_USER_MODEL` for a custom user.
  - Add `STATICFILES_DIRS` to explicitly point to the static directory.
  - Simplify email backend configuration using environment variables.

- Enhancements
  - Remove djinit boilerplate and development‑only settings.
  - Drop `corsheaders` middleware and `rest_framework_simplejwt.token_blacklist`.
  - Update `TEMPLATES` to include project templates via `BASE_DIR / "templates"`.
  - Clean up URL patterns, removing deprecated JWT endpoint comments.
  - Reorganize security settings and static storage configuration.

- Bug Fixes
  - (none)
2026-05-27 23:33:10 +05:45
sankalp 0357d78939 chore(root): remove DRF stack and update configuration
This change removes unused DRF-related dependencies, updates .env.sample and .gitignore to reflect new configuration, and adds a comprehensive project architecture plan (PLAN.md). It simplifies the stack and prepares the codebase for a modular, permission‑driven design.

New Features
- Added detailed PLAN.md outlining project structure, apps, permissions, and tech stack.
Enhancements
- Cleaned up .env.sample by removing obsolete environment variables.
- Updated .gitignore to exclude generated directories and track migrations properly.
Bug Fixes
- No bug fixes included in this commit.
2026-05-27 23:33:00 +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
sankalp 04aaab7890 fix(.github): adjust DJANGO_SETTINGS_MODULE in CI workflow
- Enhancements:
  - Align CI configuration with updated settings module location- Bug Fixes:
  - Correct misreferenced DJANGO_SETTINGS_MODULE to prevent test environment issues
2026-05-27 23:18:34 +05:45
sankalp a0555810fe feat(apps): scaffoldnew apps (accounts, activity, projects, tickets)
Add new Django apps generated by djinit for accounts, activity, projects, and tickets, providing full scaffold files (models, serializers, views, urls, admin, apps.py, migrations, tests) and updating imports to use the new app configs.

New Features:
- Created apps/accounts, apps/activity, apps/projects, apps/tickets with complete scaffold (models, serializers, views, urls, admin, apps.py, migrations, tests).
- Added AppConfig entries for each new app.

Enhancements:
- Renamed admin directory and adjusted imports to align with the new app namespace.

Bug Fixes:
- Corrected import paths after renaming admin files.
2026-05-27 23:18:30 +05:45
sankalp e6e8406d60 refactor(core): remove auto‑generated configuration scaffolding
Removed the initial Django core configuration files (asgi.py, settings, urls.py, wsgi.py) that were originally scaffolded by djinit, as the project's settings have been migrated to the repository root and are no longer needed in the core package.

- New Features:
- Enhancements: Cleaned up redundant core scaffolding directories.
- Bug Fixes:
2026-05-27 23:18:22 +05:45
sankalp eedb1f1ab6 chore(root): renameproject to config and update configuration files
Enhancements:
- Rename project name from "." to "config" in .djinit and .env.sample
- Update DJANGO_SETTINGS_MODULE references from core to config
- Adjust Procfile, justfile, manage.py, and pyproject.toml to reference config
- Refactor README to reflect new folder layout under config/
- Remove LICENSE file
2026-05-27 23:18:17 +05:45
sankalp 7196c4a299 feat(config): add generatedconfiguration skeleton
New Features
- Add ASGI entry point (`asgi.py`) with environment‑based settings.
- Create base and production settings modules (`base.py`, `production.py`) for shared and production‑specific configurations.
- Generate root `urls.py` with DRF JWT endpoints and included app URLs.
- Provide `wsgi.py` configured for production settings.

Enhancements
- Include `django-jazzmin`, `drf-spectacular`, and `django-cors-headers` defaults.
- Set up `django-tailwind-cli` and `django-htmx` middleware configurations.

Bug Fixes
- (none)
2026-05-27 23:18:13 +05:45
sankalp 4764865ec2 chore(.github): add Django CI workflow
- New Features
  - Added CI pipeline that runs on push and pull‑request to main and develop, including PostgreSQL service for integration tests.  - Enhancements
  - Integrated linting (ruff), formatting check, migration validation, and security scanning with Django’s --deploy flag.
- Bug Fixes
  - (none)
2026-05-27 23:15:21 +05:45
sankalp a0921f9aa6 chore(apps/models):add empty __init__.py placeholder 2026-05-27 23:15:17 +05:45
sankalp 4c2d8035b7 feat(apps): addnew Django app skeleton
New Features
- Added initial app structure including admin, API, serializers, tests, and views modules
- Created AppsConfig class in apps/apps.py
- Added API v1 URL namespace setup
2026-05-27 23:15:13 +05:45
sankalp 1095c6b6a7 feat(root): scaffold Django project with djinit
Add initial project skeleton using djinit to enable rapid development, CI integration, and deployment setup.

New Features
- Create .djinit with unified project structure and Tailwind/HTMX enabled.
- Add .env.sample with default Django, database, and frontend URLs.
- Generate comprehensive .gitignore covering Python, Django, OS, and secret files.
- Provide Procfile for Gunicorn web process and release migrations.
- Scaffold README.md with project overview and features.
- Add manage.py enhanced with environ for .env support.
- Initialize pyproject.toml with modern metadata and ruff linting config.
- Add requirements.txt mirroring dependencies.
- Include runtime.txt pinning Python 3.13.
- Update uv.lock to lock dependency versions.

Enhancements
- Upgrade to latest Django 6.0.5 and DRF ecosystem.
- Configure ruff with line-length 88 and isort settings.
- Use gunicorn with optimal worker configuration.
- Include dj-database-url and psycopg binary for robust PostgreSQL connectivity.

Bug Fixes
- None.
2026-05-27 23:15:10 +05:45
sankalp c461084ad7 chore(core): scaffold Django core structure with settings, urls, asgi, wsgi
- New Features
  - Add core project entry points (asgi.py, wsgi.py, urls.py)
  - Create settings hierarchy (base.py, production.py) with environment parsing
  - Configure DRF, JWT, Swagger, Tailwind, and HTMX defaults out‑of‑the‑box- Enhancements
  - Set up CORS and security defaults for dev and prod environments
  - Enable WhiteNoise and Tailwind CLI for static file handling
2026-05-27 23:14:58 +05:45
sankalp 0810ef5a54 Initial commit 2026-05-27 23:12:02 +05:45