You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the ticket list we need to show relevant tickets. That means showing the tickets that are being filtered by query string and when we dont have a query string
When there's a query param ticketSearch that is an array of ticket codes. We should set a filter by ticket codes using the param.
When there's no query param the initial filtering should filter by not completed statuses.
This means filtering status values in Status (basic property) and in safetibase:'Treatment Status'
Completed in Status basic property
For the basic property Status get the status config from the template config (template.config.status)
From the status config get the names with types 'done' and 'void'
Set a filter to Statusnot equal the previously obtained names.
Completed in safetibase Treatment Status property
safetibase:'Treatment Status' set the filter to not_equal['Agreed (Fully)', 'Void']
Goals
As a user I want to be see relevant tickets initially
Tasks
Rename HandleTicketsCardSearchParams to HandleInitialFilters or InitialFiltersSetter or something more relevant like that
Update HandleTicketsCardSearchParams by changing how filters are set. This is an array with ticket codes so set the ticket code filter with this equals this array
Remove 'ticketTemplates' and 'ticketCompleted' from the query handling
ModifyHandleTicketsCardSearchParams to set the completed filter(as specified earlier) if there is no 'ticketSearch' param
The text was updated successfully, but these errors were encountered:
Description
Product issue: https://github.com/3drepo/3D-Repo-Product-Team/issues/521
Parent issue: #5188
In the ticket list we need to show relevant tickets. That means showing the tickets that are being filtered by query string and when we dont have a query string
ticketSearch
that is an array of ticket codes. We should set a filter by ticket codes using the param.When there's no query param the initial filtering should filter by not completed statuses.
This means filtering status values in
Status
(basic property) and insafetibase:'Treatment Status'
Completed in
Status
basic propertyStatus
get the status config from the template config (template.config.status
)Status
not equal the previously obtained names.Completed in safetibase
Treatment Status
propertysafetibase:'Treatment Status'
set the filter to not_equal['Agreed (Fully)', 'Void']
Goals
Tasks
HandleTicketsCardSearchParams
toHandleInitialFilters
orInitialFiltersSetter
or something more relevant like thatHandleTicketsCardSearchParams
by changing how filters are set. This is an array with ticket codes so set the ticket code filter with this equals this arrayHandleTicketsCardSearchParams
to set the completed filter(as specified earlier) if there is no 'ticketSearch' paramThe text was updated successfully, but these errors were encountered: