[go: up one dir, main page]

Skip to content

[Agent Sessions] Enhance filtering and sorting of Agent Sessions and improve performance

Problem

We will need to address the following:

  1. Add updated Filtering Capabilities for Status Group and Goal Title
  2. Add updated sorting by Status
  3. Fix SidePanel search and styles when in full view layout (currently Search still stacks and there should at least be some pretty margin)
  4. 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. When freeTextSearch is present, you're assigning a new array to this.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