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
Markdown is using a different package that has more capabilities so you can see formatted code for instance, and tables look a bit nicer.
Dokieli and HTML were not working for private files before, they are working now.
Plain text I changed the font from monospace to our font. I did some research and it suggested this was good, but I can always change it back if you don't like it.
I added syntax highlighting to json and jsonld.
PDF is the new design. There are things we won't have though because of it like printing and downloading. Note: I did the basic implementation.
Here are some things we could add later, if you want I can create a separate ticket for after grant work.
PDF page
└── canvas layer Existing: visual page rendering
├── text layer Selectable/searchable text
├── annotation layer Links, forms, highlights, comments
├── search layer Search-result highlights
└── interaction layer Drawing, selection, zoom tools, etc.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The lockfile omits required peer dependencies needed for CI installation, and unsynchronized PDF rendering can cause canvas conflicts and load errors for valid documents.
Desktop previews never release full-resolution page buffers: this guard makes the desktop cleanup call in renderMainCanvases a no-op, and thumbnail selections leave previously visited canvases populated. Hiding those canvases with display: none does not free their pixel buffers, so browsing a large PDF accumulates several megabytes per visited page. Track selected-page renders and release non-current desktop canvases, or use a bounded cache.
PDF text and links are inaccessible to screen readers
src/components/pdf-viewer/PdfViewer.ts:327
This replaces the browser PDF viewer with canvases whose accessible names contain only page numbers. Consequently, screen-reader users cannot read any of a PDF's text or follow its links; the warning above does not provide equivalent access. Please render PDF.js text and annotation layers, or provide an accessible alternative that can open the authenticated document in a full PDF viewer.
Derive pod context from the resolved document URL
src/mainPage/index.ts:59
Cross-origin ?uri= links resolve the document, but the heading and navbar still derive their pod context from window.location.href in src/mainPage/profileHeading.ts:251 and src/mainPage/navbar.ts:97. They therefore show the application host's profile and storage menus, or no menus when that host has no pod metadata. Use the resolved resource URL consistently when deriving the shell's pod context.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
All human readable content types
Things to review:
Here are some things we could add later, if you want I can create a separate ticket for after grant work.
PDF page
└── canvas layer Existing: visual page rendering
├── text layer Selectable/searchable text
├── annotation layer Links, forms, highlights, comments
├── search layer Search-result highlights
└── interaction layer Drawing, selection, zoom tools, etc.