From cf0283b20b809b551859ece380a5d4a635234e5b Mon Sep 17 00:00:00 2001 From: Tomas Kracmar Date: Mon, 20 Apr 2026 16:07:35 +0200 Subject: [PATCH] feat: natural language queries respect UI filters (v1.2.0) - AskRequest now accepts optional filter fields: services, actor, operation, result, start, end, include_tags, exclude_tags - ask_question merges NL-extracted constraints with explicit UI filters - Frontend sends active filter state with every ask request - Show filter hint below ask input when filters are active - Add tests for service+result filtering and actor filtering in /api/ask Bump version to 1.2.0 --- VERSION | 2 +- backend/frontend/index.html | 44 +++++++++++++++++++++- backend/frontend/style.css | 5 +++ backend/models/api.py | 8 ++++ backend/routes/ask.py | 46 ++++++++++++++++++++++- backend/tests/test_ask.py | 73 +++++++++++++++++++++++++++++++++++++ 6 files changed, 174 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index 1cc5f65..867e524 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.1.0 \ No newline at end of file +1.2.0 \ No newline at end of file diff --git a/backend/frontend/index.html b/backend/frontend/index.html index 0c0e79a..9f0f11b 100644 --- a/backend/frontend/index.html +++ b/backend/frontend/index.html @@ -50,6 +50,9 @@ /> +
+ Respecting active filters: +