Open
Conversation
ankush
reviewed
Dec 15, 2025
helpdesk/api/agent_dashboard.py
Outdated
Comment on lines
+263
to
+273
| todo = DocType("ToDo") | ||
| assigned_tickets = ( | ||
| frappe.qb.from_(todo) | ||
| .select(todo.reference_name) | ||
| .distinct() | ||
| .where(todo.reference_type == "HD Ticket") | ||
| .where(todo.allocated_to == frappe.session.user) | ||
| .where(todo.creation >= one_week_ago) | ||
| .run(as_dict=False) | ||
| ) | ||
| ticket_names = [row[0] for row in assigned_tickets] |
Member
There was a problem hiding this comment.
We will get Cancelled todos as well
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #2796 +/- ##
===========================================
+ Coverage 51.21% 54.90% +3.68%
===========================================
Files 122 126 +4
Lines 5420 5972 +552
===========================================
+ Hits 2776 3279 +503
- Misses 2644 2693 +49 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR introduces a dedicated Agent Dashboard (Home Page) designed to provide agents with a centralized view of their workload and performance metrics immediately upon logging in.
To improve the user experience, the dashboard is fully customizable, allowing agents to organize their workspace according to their specific needs.
Key Features
These are the available charts in the dashboard
Opencategory stateChangelog
HD Field Layoutdoctype to store user-specific dashboard layouts2025-12-04.17-06-37.mp4