Add chip filters for the new time window filters

rename close => closure to ease interpretation by the LLM
This commit is contained in:
Jorge Manrubia
2025-06-27 11:34:31 +02:00
parent 3391a20843
commit 4d5017b671
29 changed files with 57862 additions and 17 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ class Command::Ai::TranslatorTest < ActionDispatch::IntegrationTest
end
test "filter by time ranges" do
assert_command({context: {completion: "thisweek", indexed_by: "closed"}}, "cards completed this week")
assert_command({context: {closure: "thisweek", indexed_by: "closed"}}, "cards completed this week")
assert_command({context: {creation: "thisweek", tag_ids: ["design"], creator_ids: [ "jz" ]}}, "cards created this week by jz tagged as #design")
end