MCPcopy Create free account
hub / github.com/CodeClash-ai/CodeClash / handleDateClick

Function handleDateClick

codeclash/viewer/static/js/picker.js:1066–1081  ·  view source on GitHub ↗
(event, dateText)

Source from the content-addressed store, hash-verified

1064}
1065
1066function handleDateClick(event, dateText) {
1067 event.stopPropagation();
1068 // Extract just the date part (before the time)
1069 const date = dateText.trim().split(" ")[0];
1070
1071 // Toggle date filter - if already selected, clear it
1072 if (selectedDate === date) {
1073 selectedDate = null;
1074 } else {
1075 selectedDate = date;
1076 }
1077
1078 updateDateFilterDisplay();
1079 saveFilters();
1080 applyFilters();
1081}
1082
1083function updateDateFilterDisplay() {
1084 // Find all date cells and update their styling

Callers

nothing calls this directly

Calls 3

updateDateFilterDisplayFunction · 0.85
saveFiltersFunction · 0.85
applyFiltersFunction · 0.85

Tested by

no test coverage detected