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

ContentState: deep linking into a book #522

Open
abrin opened this issue Jul 22, 2024 · 1 comment
Open

ContentState: deep linking into a book #522

abrin opened this issue Jul 22, 2024 · 1 comment

Comments

@abrin
Copy link

abrin commented Jul 22, 2024

Recipe Name

ContentState: deep linking into a book

Use case

It would be useful to be able to share a link that not only takes someone to a page of a book, but also retains the range if one exists that was specified. This would be useful if a manuscript is broken into two ranges one for the entire manuscript, and one for the pages with illuminations. Thus a canvas exists in both ranges, but it might be preferable to send a user to a specific context.

As an aside, it would be nice to be also include the behavior for a manuscript e.g. facing or single page, but this is likely out of scope. Similarly, choice might be something that could be covered in content-state, but it will almost immediately run into an issue if there is more than one choice on a canvas because you cannot capture the combined state of all the choices. Not sure if that means we don't want to use that to capture the state, OR if instead, partial support is enough.

@glenrobson
Copy link
Member

This would be a useful recipe but first we need to do a multiple range recipe and then build this one on top of it.

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

2 participants