This change introduces new visual updates to the Pass Management section of the site, now located on its own route. The updates include:
new accordion-style table display for passes returned by the pass search filters
responsive table columns that collapse into the accordion dropdown based on importance
various pass data elements added to the pass results
Filter returned passes based on checkedIn status
A couple of points:
The new accordions are complex and, on slower browsers, may slow down pages with many results ( >1000, for example, if you don't filter by a date).
The responsive design does not include html table elements (tr, td, tbody, etc).
The checkedIn filters are applied after the api returns a list of passes. Ideally this would be handled in the API, but based on the designs it appears that this filter is intended to be used after the other filters have been applied and a pass list is returned.
The global dataService was slightly modified to improve the functionality of the lesser-used appendItemValue and mergeItemValue: effectively, if an item in the data store was defined but had no value (null or undefined), then that item/value could not be concatenated or merged with.
On loading the pass list page with query params in the URL, the page is supposed to autosearch if the correct params are available. A race condition was fixed where the params would fail to search because the autofetched parks and facilities had not been loaded in yet.
Jira Ticket:
BRS-1089/BRS-1017
Jira Ticket URL:
https://bcparksdigital.atlassian.net/browse/BRS-1089 https://bcparksdigital.atlassian.net/browse/BRS-1017
Description:
This change introduces new visual updates to the Pass Management section of the site, now located on its own route. The updates include:
checkedIn
statusA couple of points:
tr
,td
,tbody
, etc).checkedIn
filters are applied after the api returns a list of passes. Ideally this would be handled in the API, but based on the designs it appears that this filter is intended to be used after the other filters have been applied and a pass list is returned.dataService
was slightly modified to improve the functionality of the lesser-usedappendItemValue
andmergeItemValue
: effectively, if an item in the data store was defined but had no value (null
orundefined
), then that item/value could not be concatenated or merged with.