baic_dashboard/frontend
Vadym Samoilenko 0165622f3d Fix date range filter ignoring messages without Timestamp
The filter was using fail-open logic (skipping the date check when
msg.Timestamp was falsy), so messages missing a Timestamp bypassed
the filter entirely. Per-User Report aggregates all filtered messages,
making the bug visible as all-time totals regardless of selected range.

Changed both the message and conversation date filter blocks to
fail-closed: when a date range is active, records without a parseable
timestamp are excluded. Also added a backend warning log to surface
any enriched messages that still lack a Timestamp after the
StartTime fallback (commit 421961a).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-10 14:58:57 +01:00
..
public initial commit 2025-11-12 15:55:59 -06:00
src Fix date range filter ignoring messages without Timestamp 2026-05-10 14:58:57 +01:00
.gitignore initial commit 2025-11-12 15:55:59 -06:00
baic-logo.png initial commit 2025-11-12 15:55:59 -06:00
eslint.config.js initial commit 2025-11-12 15:55:59 -06:00
index.html initial commit 2025-11-12 15:55:59 -06:00
package-lock.json initial commit 2025-11-12 15:55:59 -06:00
package.json initial commit 2025-11-12 15:55:59 -06:00
README.md initial commit 2025-11-12 15:55:59 -06:00
vite.config.js extracted all domains, URLS, secrets, etc. to .env and wrote a deploy script to deploy on server 2025-11-12 16:27:59 -06:00

React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Expanding the ESLint configuration

If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.