Add chip filters for the new time window filters
rename close => closure to ease interpretation by the LLM
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user