pharchivist.ui merge requestshttps://gitlab.wikimedia.org/kharlan/pharchivist.ui/-/merge_requests2022-09-25T14:23:50Zhttps://gitlab.wikimedia.org/kharlan/pharchivist.ui/-/merge_requests/3Reorganization2022-09-25T14:23:50ZEric GardnerReorganization* Moves the `<ais-instant-search>` wrapper component to go outside
of the `<router-view>`, so that AIS search tools are available
inside all other components
* Reorganizes views into ListView and DetailView; ideally only
View compo...* Moves the `<ais-instant-search>` wrapper component to go outside
of the `<router-view>`, so that AIS search tools are available
inside all other components
* Reorganizes views into ListView and DetailView; ideally only
View components should care about $router info
* Moves Task as a sub-comment of DetailView; it receives props
and is not coupled with the route
* Modifies the main search page (ListView) in a couple of ways:
- Organizes `<ais-refinement-list>` components into `<ais-panel>`
components and provides some custom templates and class
names to them
- Adds an `<ais-current-refinements>` component below the main
search bar
- Overrides the default slot for `<ais-state-results>` to only
display results after the user has entered a query
* Declares prop types for Task and TaskComment components
* Cleans up router pre-fetch code for DetailView; beforeRouteUpdate
has been removed for now, and conditional error display has
been added
* Adds a "back to results" link at the top of DetailsView.