Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deeplinking to pages in documents #87

Open
1 of 5 tasks
joepio opened this issue Dec 11, 2019 · 1 comment
Open
1 of 5 tasks

Deeplinking to pages in documents #87

joepio opened this issue Dec 11, 2019 · 1 comment

Comments

@joepio
Copy link
Member

joepio commented Dec 11, 2019

Clicking on a search result should open the right page.

  • Switch to nested model - each page will become a new document in the back-end. These have new identifiers, but they are not exposed. Add a pages attribute.
  • The ResultCard components need to have various links, each to a page. Each page will be a nested object in a single hit. The Document component should map over these hits with some logic,
  • The URL should be aware the selected page. (move component state to query param)
  • We should set up a new parallel set of indexes to prevent breaking changes for existing users. The already indexed data should be remapped to the nested structure.
  • Notify other ORI users of this new field.
@joepio
Copy link
Member Author

joepio commented Dec 11, 2019

Relates to openstate/open-raadsinformatie#287

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant