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
+3 -3
View File
@@ -17,7 +17,7 @@ module Filter::Fields
included do
store_accessor :fields, :assignment_status, :indexed_by, :terms,
:engagement_status, :card_ids, :creation, :close
:engagement_status, :card_ids, :creation, :closure
def assignment_status
super.to_s.inquiry
@@ -35,8 +35,8 @@ module Filter::Fields
TimeWindowParser.parse(creation)
end
def close_window
TimeWindowParser.parse(close)
def closure_window
TimeWindowParser.parse(closure)
end
def terms
+1 -1
View File
@@ -41,7 +41,7 @@ module Filter::Params
params[:indexed_by] = indexed_by
params[:engagement_status] = engagement_status
params[:creation] = creation
params[:close] = close
params[:closure] = closure
params[:assignment_status] = assignment_status
params[:terms] = terms
params[:tag_ids] = tags.ids