litmus/litmus-portal/graphql-server/graph
Arkajyoti Mukherjee aa5fe68456
Enhancement: Moving pagination, sorting and filtering of workflow runs table to the backend (#2829)
* added pagination for QueryWorkflowRuns

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* filtering workflowRuns based on workflowRunIDs

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* changed the API for getWorkflowRuns in frontend

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* added pagination for frontend and refactored code to accomodate the changes

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* Added Sorting and Filtering

Signed-off-by: SarthakJain26 <sarthak@chaosnative.com>

* sorting added from backend api call

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* filtering removed from frontend and used backend APIs to filter data

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* typed execution data in backend and sent common metadata from execution data in workflowruns hence reducing the data size in frontend; sorting based on workflowrun phase done in backend

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* changing resiliency score to null in case of running workflows

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* WIP: filtering and sorting done, pagination remaining

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* pagination completed in database

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* reverted ID -> String changes

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* changed the sortStage

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* Added condition to check no workflows

Signed-off-by: SarthakJain26 <sarthak@chaosnative.com>

* Pagination bug fix (#1)

* bug fix trails #1

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* reverting local dev changes

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* fixed the workflow subscription bugs...EVERYTHING FINALLY WORKS

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* removed comments from config

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* resolved review comments: translations, formatting and removing binary file

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* fixed some bugs and added Execution data to types.go

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* go fmt project

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

Co-authored-by: SarthakJain26 <sarthak@chaosnative.com>
2021-06-07 11:05:45 +05:30
..
generated Enhancement: Moving pagination, sorting and filtering of workflow runs table to the backend (#2829) 2021-06-07 11:05:45 +05:30
model Enhancement: Moving pagination, sorting and filtering of workflow runs table to the backend (#2829) 2021-06-07 11:05:45 +05:30
analytics.graphqls (Portal - Analytics/Monitoring): Adding APIs for fetching series list and (label, values), in-memory caching, concurrent requests & moving data pre-processing pipeline. (#2780) 2021-05-12 14:09:08 +00:00
image_registry.graphqls Adding image registry graphql APIs (Create, Get, Delete, Update, List) (#2774) 2021-05-12 02:47:42 +05:30
myhub.graphqls Added GitOps Feature (#2424) 2021-02-01 16:58:22 +05:30
project.graphqls Updated mongo queries to use UID as a unique identifier (#2522) 2021-03-10 20:00:59 +05:30
resolver.go RBAC for teaming (backend) (#2656) 2021-04-08 10:52:35 +05:30
schema.graphqls Enhancement: Moving pagination, sorting and filtering of workflow runs table to the backend (#2829) 2021-06-07 11:05:45 +05:30
schema.resolvers.go Enhancement: Moving pagination, sorting and filtering of workflow runs table to the backend (#2829) 2021-06-07 11:05:45 +05:30
usermanagement.graphqls Added CreateProject GQL mutation in Backend and UI (#2563) 2021-03-26 21:11:22 +05:30
workflow.graphqls Enhancement: Moving pagination, sorting and filtering of workflow runs table to the backend (#2829) 2021-06-07 11:05:45 +05:30