[ ] Update JSON formatter to leave EOF newline on save
[ ] Hot reload for demo app
[ ] Answer performance related questions based on metrics created in #30640
[ ] How does placement of setting outline context variable affect performance? Is there a difference if we set the outline in DocumentWrapper.tsxonPdfLoadSuccess callback vs setting in Outline.tsx
[ ] Does O(n^3) bounding box rendering time complexity significantly affect performance?
Solution no longer needed because this line was removed from Header altogether, but I did some research and learned more about when escaping chars is and isn't needed. In this case I think it would have been ok as '.
[x] Drawer/Outline: move into own component and replace child component props with context vars where possible (contains bugfix for outline not opening)
Legitimate tech debt that needs to be fixed. At this point it's a list of pending good to haves.
DONE :)
Bonus/nice to haves
Reader
. Components have tests, missing an integration test for the Reader - 3 daysrotate.ts
- 3 daysPageRotation
: move default/Rotate0 case to top, add comments showing rotation visuallyerrorUtils.ts
getErrorMessage
parameter type and remove line that disables lintingDocumentWrapper.tsx
onPdfLoadSuccess
callback vs setting inOutline.tsx
Done
Header
'
vs'
Header
altogether, but I did some research and learned more about when escaping chars is and isn't needed. In this case I think it would have been ok as'
.SimpleZoomControl
(https://github.com/allenai/pdf-component-library/pull/17#discussion_r679384569),Header
(https://github.com/allenai/pdf-component-library/pull/17#discussion_r683670343)Overlay
andPageWrapper
into shared util