[Agent Sessions] Enhance filtering and sorting of Agent Sessions and improve performance
Problem
We will need to address the following:
- Add updated Filtering Capabilities for Status Group and Goal Title
- Add updated sorting by Status
- Fix SidePanel search and styles when in full view layout (currently Search still stacks and there should at least be some pretty margin)
- Do a follow up to enhance the way we fetch data for filtering/sorting actions and take advantage of Apollo's caching abilities (see below):
The following discussion from !206267 (merged) should be addressed:
-
@GitLabDuo started a discussion: (+6 comments) The
workflows
data property is being directly mutated on line 82, which can cause Vue reactivity issues. WhenfreeTextSearch
is present, you're assigning a new array tothis.workflows
, but this bypasses Vue's reactivity system since it's not updating the Apollo cache.// Let Apollo handle the data update through the update function this.$apollo.queries.workflows.refetch();
Edited by Lindsey Shelton