Skip to content

Feature/modern dashboard#1106

Merged
horilla-opensource merged 9 commits into
dev/v2.0from
feature/modern-dashboard
May 29, 2026
Merged

Feature/modern dashboard#1106
horilla-opensource merged 9 commits into
dev/v2.0from
feature/modern-dashboard

Conversation

@horilla-opensource

Copy link
Copy Markdown
Member

##NOTE: this file should be inside .github folder in root folder

Description

Please include a summary of the change. List any dependencies that are required for this change.

Ticket Link

Summary of Changes

  • [x]
  • []

Additional implementation details (OPTIONAL)

  • [x]
  • []

Deployment Notes (OPTIONAL)

  • []

Screenshot

Before

After

horilla-opensource and others added 9 commits April 4, 2026 00:35
…ding links, prefs

Critical:
- Fix NoReverseMatch on announcement delete (anoun_id → pk in reverse())
- Fix View All leave filter: removed exact date match that missed multi-day leaves
- Fix leave row click: HTMX target htmx-modal-target → objectDetailsModalTarget

Medium:
- Add filter params to all pending approval links (attendance, assets, shift, work type)
- Fix employee status pie chart: click event → legendClick, label match for In-Active
- Fix chart prefs: load from DB via /dashboard/load-prefs/ when localStorage is empty

Low:
- Increase announcement limit from 6 to 20
- Fix customize toggle theme: use var(--oh-primary) instead of hardcoded indigo
…s, check-in

Announcements:
- Fix NoReverseMatch on delete (anoun_id → pk in reverse())
- Replace custom modal with standard #objectCreateModal via HTMX
- Fixes multi-select/Select2/filter not loading (standard modal lifecycle)
- Fixes duplicate record creation (HTMX handles single submission)
- Increase listing limit from 6 to 20

On Leave Today:
- Fix View All filter: removed exact date match that missed multi-day leaves
- Fix row click: HTMX target #htmx-modal-target → #objectDetailsModalTarget

Pending Approvals:
- Add filter params to all links (attendance, assets, shift, work type, reimbursements)

Customize Dashboard:
- Fix toggle theme color: use var(--oh-primary) instead of hardcoded indigo
- Load chart prefs from DB when localStorage is empty

Overview Charts:
- Fix employee status pie chart: inactive segment now redirects to is_active=false
- Fix recruitment chart tooltip on first load (requestAnimationFrame)

Holidays:
- Include ongoing holidays in dashboard card (start_date <= today <= end_date)

Navbar:
- Fix check-in/out button swap: add employee.refresh_from_db() after clock_in/clock_out
…charts, navbar

Announcements (8 fixes):
- Fix NoReverseMatch on delete (anoun_id → pk in reverse())
- Fix delete last announcement crash (empty pk → close modal gracefully)
- Fix deleted object access (AttributeError → not_found guard + message)
- Replace custom modal with standard #objectCreateModal via HTMX
- Fixes multi-select/Select2/filter not loading (standard modal lifecycle)
- Fixes duplicate record creation (HTMX handles single submission)
- Fix details modal border styling (lightgrey → var(--border-dark-50))
- Increase listing limit from 6 to 20

On Leave Today (2 fixes):
- Fix View All filter: removed exact date match that missed multi-day leaves
- Fix row click + next/prev: HTMX target → #objectDetailsModalTarget

Pending Approvals (1 fix):
- Add filter params to all links (attendance, assets, shift, work type)

Holidays (1 fix):
- Include ongoing holidays in card (start_date <= today <= end_date)

Customize Dashboard (2 fixes):
- Fix toggle theme color: use var(--oh-primary) instead of hardcoded indigo
- Load chart prefs from DB when localStorage is empty

Overview Charts (2 fixes):
- Fix employee status pie chart: inactive now redirects to is_active=false
- Fix recruitment chart tooltip on first load (requestAnimationFrame)

Navbar (1 fix):
- Fix check-in/out swap: add employee.refresh_from_db() after clock_in/out
@horilla-opensource horilla-opensource merged commit c53a6f6 into dev/v2.0 May 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants