-
Notifications
You must be signed in to change notification settings - Fork 65
feat: add specific day query option to time range filter #422
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
Conversation
- Add SpecificDay enum to TimeRange options - Extend convertTimeRange function to support specific date parameter - Add date picker UI when "Specific day" is selected in conversation and instruction log pages - Update ConversationSearchOption type definition to include specificDate field - Position SpecificDay option after Yesterday in dropdown menu Users can now query data for a specific date (e.g., 2026-01-25) by selecting "Specific day" from the time range dropdown and choosing a date.
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||||
|
Reviewed |
User description
Users can now query data for a specific date (e.g., 2026-01-25) by selecting "Specific day" from the time range dropdown and choosing a date.
PR Type
Enhancement
Description
Add "Specific day" time range option to filter conversations and instruction logs
Implement date picker UI that appears when "Specific day" is selected
Extend convertTimeRange function to handle specific date parameter
Update search option types to include specificDate field for date storage
Diagram Walkthrough
File Walkthrough
+page.svelte
Add specific day date picker to conversation searchsrc/routes/page/conversation/+page.svelte
selected
is chosen
+page.svelte
Add specific day date picker to instruction log searchsrc/routes/page/instruction/log/+page.svelte
selected
is chosen
enums.js
Add SpecificDay enum to TimeRangesrc/lib/helpers/enums.js
common.js
Extend convertTimeRange to support specific datesrc/lib/helpers/utils/common.js
moment.js
constants.js
Add SpecificDay to time range options constantsrc/lib/helpers/constants.js
conversationTypes.js
Add specificDate property to search option typesrc/lib/helpers/types/conversationTypes.js