-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Enhance (dev): Resource handling and update pdf and syntax highlighter libraries #9926
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verified on macOS. Android.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sprocketc Thanks for the excellent work in making our app more secure and maintainable! 👍 ❤️ I QAed the all the libraries on mac except for lightning-fs (which it seems @andelf introduced) and couldn't find any issues. From my test pdf it seems this resolves #9725.
@@ -72,7 +72,8 @@ | |||
"ios:dev": "cross-env PLATFORM=ios gulp cap", | |||
"android:dev": "cross-env PLATFORM=android gulp cap", | |||
"tldraw:build": "yarn --cwd tldraw install", | |||
"postinstall": "yarn tldraw:build" | |||
"amplify:build": "yarn --cwd packages/amplify install", | |||
"postinstall": "yarn tldraw:build && yarn amplify:build " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
2acbf56
to
a28ae05
Compare
@logseq-cldwalker Thanks for the reminder, I'll check lightning-fs. |
Continuing on #9907 and #9761
v5.1.2
, so I had to usemarked.parse
instead ofmarked
(see breaking changes of v4). To test this open our plugins modal and click on plugin from the marketplace to view its readme. Also, install a plugin and navigate to Settings -> Plugins.10.4.1
, but we didn't seem to use this package in any way. The bundled js file was atv9.18.1
. I used the former (latest is11.8.0
). Create a code highlighted block on a whiteboard portal to test this. We fallback to hljs in portals and slides.0.0.2.3
is the only clue and doesn't make sense (see the related commit).magic-portal- 8146430 Update: Reverted because some e2e tests were failing on CI. I assume the problem is this. The bundled file usesdelete
instead ofclear
, and that seems to be the only difference between the packages. Any ideas? Forking or installing from a commit isn't great, but it might be better than bumping into this again in the future (it took me a while to figure out the problem).I used the exact same version, so our PDF viewer should work as expected.Update: 2acbf56 I upgraded the package to fix various upstream issues @xyhp915 The internal property
textLayerDiv
seems to be renamed todiv
.Resolves PDF math equations are displayed incorrectly #8316
I reproduced this and confirmed that it's fixed, I couldn't reproduce the rest of the issues, but we should check the following when this is released
resources/css/tooltip.css
were a modified version ofreact-tippy/dist/tippy.css
. The introducedsrc/main/frontend/tippy-tooltip.css
is their diff with some code style modifications. We now import the original tippy styles and override those rules if needed. Tooltips should look the way they used to on both theme modes.tailwind.all.css
I think we can move those files closer to the corresponding cljs sources. Made some formatting improvements removed vendor-prefixed properties.