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
{{ message }}
This repository has been archived by the owner on Dec 13, 2017. It is now read-only.
A simple react route that allows the user to input a search query, submit it and have a list of documents shown to them in response. Each document should be listed using it's title, source collection and other metadata such as update date and language. Within each document hit, a set of preview snippets for individual pages are to be shown.
Use the /api/2/search API endpoint. It accepts q= as a primary search query, and limit/offset for pagination.
Input form with search button (should also just search on form submit)
Pagination for result pages (or infinte scrolling)
Facet by schema and show them as tabs on top of the result list
Source selector? Maybe as an overlay or drop-down.
A simple react route that allows the user to input a search query, submit it and have a list of documents shown to them in response. Each document should be listed using it's title, source collection and other metadata such as update date and language. Within each document hit, a set of preview snippets for individual pages are to be shown.
Use the
/api/2/search
API endpoint. It acceptsq=
as a primary search query, andlimit
/offset
for pagination.Input form with search button (should also just search on form submit)
Pagination for result pages (or infinte scrolling)
Facet by schema and show them as tabs on top of the result list
Source selector? Maybe as an overlay or drop-down.
Clicking on a result should bring up a sidebar with document metadata or entity data, i.e. render Display entities and documents details #6 into a smaller form.
The current implementation of this (which also supports facets, sorting and alerts) is here:
https://data.occrp.org/documents?q=demo
The text was updated successfully, but these errors were encountered: