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

Adding ODT example to storybook and fixing variorum bugs #117

Merged
merged 33 commits into from
May 20, 2024
Merged

Adding ODT example to storybook and fixing variorum bugs #117

merged 33 commits into from
May 20, 2024

Conversation

ajolipa
Copy link
Collaborator

@ajolipa ajolipa commented May 8, 2024

In this PR

  • Fixes bug in variorum mode where folios in different documents with the same folioID were not being stored properly in the component state: when in variorum mode, folios are now stored internally with the ID [documentID]_[folioID] to avoid collisions;
  • Updates the viewportState function to track the associated document of the currently selected folio, so that if you navigate back to the grid view from a folio in variorum mode, the document that folio came from will be automatically selected;
  • Updates Storybook to use the ODT project as the example for the variorum feature

NickLaiacona and others added 4 commits May 7, 2024 09:39
Adds ODT as a test case for variorum and polygonal shape features
Improved variorum navigation and fixed folio name collision bug
@ajolipa ajolipa requested a review from NickLaiacona May 8, 2024 14:47
@ajolipa
Copy link
Collaborator Author

ajolipa commented May 10, 2024

Update: Now also addresses Issue #118 by removing the blue highlighting from the "current folio" in grid mode.

@ajolipa
Copy link
Collaborator Author

ajolipa commented May 13, 2024

Further update: Now includes a fix to the resizing functionality of the split pane view so that it now works with touchscreen devices as well as mouse clicks.

@ajolipa
Copy link
Collaborator Author

ajolipa commented May 20, 2024

Further update: Now also includes a trigger to reload the document data in the case that the component props change without the user navigating to a new page. (See PR #123 )

Copy link
Collaborator

@NickLaiacona NickLaiacona left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! 🚀

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

Successfully merging this pull request may close these issues.

2 participants