Skip to content

Dashboard – Users can select future date ranges which results in empty/no data #2153

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sagarkumar-webkul opened this issue Apr 8, 2025 · 1 comment

Comments

@sagarkumar-webkul
Copy link
Collaborator

Bug report

Title

Dashboard – Users can select future date ranges which results in empty/no data

Issue Description

The dashboard date picker allows users to select a date range that includes future dates (beyond the current date). Since CRM data only exists up to the present moment, allowing future date selection is not meaningful and leads to empty dashboard stats, confusing the user.

Preconditions

  1. Framework Version: Krayin CRM v2.1
  2. Commit ID: (add if available)

Steps to reproduce

  1. Log into Krayin CRM.
  2. Navigate to the Dashboard.
  3. Use the date picker and select a range with future dates (e.g., today to next month).
  4. Observe the result – dashboard stats show zero or no data.

Expected result

  • The date picker should restrict selection to the current date or earlier.
  • Future dates should be disabled or produce a proper validation error/message.

Actual result

Users are able to select future date ranges, which causes:

@sagarkumar-webkul
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants