Thank you for your submission, an automated scan of your plugin code's revealed the following issues:

### Required

[[1](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/core/services/UpdateManager.ts#L3)][[2](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/core/services/UpdateManager.ts#L161)][[3](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/core/services/UpdateManager.ts#L342)][[4](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/core/services/UpdateManager.ts#L371)][[5](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/core/services/UpdateManager.ts#L382)]:This class is only available on desktop, which means that this will throw errors on mobile (that's a problem since you have `isDesktopOnly` marked as `false` in your manifest.json file.

[[1](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/core/services/UpdateManager.ts#L161)]:You should not cast this, instead use a `instanceof` check to make sure that it's actually the adapter you expect.

[[1](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/estimatedReadingTime.ts#L287)][[2](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/estimatedReadingTime.ts#L288)][[3](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/estimatedReadingTime.ts#L289)][[4](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/estimatedReadingTime.ts#L290)][[5](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/estimatedReadingTime.ts#L291)][[6](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/estimatedReadingTime.ts#L292)][[7](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/estimatedReadingTime.ts#L293)][[8](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/estimatedReadingTime.ts#L294)][[9](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/estimatedReadingTime.ts#L295)][[10](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/estimatedReadingTime.ts#L298)][[11](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/estimatedReadingTime.ts#L299)][[12](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/estimatedReadingTime.ts#L300)][[13](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/estimatedReadingTime.ts#L303)][[14](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/estimatedReadingTime.ts#L304)][[15](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/estimatedReadingTime.ts#L305)][[16](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/generateTableOfContents.ts#L194)][[17](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/generateTableOfContents.ts#L195)][[18](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/generateTableOfContents.ts#L196)][[19](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/generateTableOfContents.ts#L197)][[20](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/generateTableOfContents.ts#L198)][[21](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/generateTableOfContents.ts#L199)][[22](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/generateTableOfContents.ts#L200)][[23](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/generateTableOfContents.ts#L201)][[24](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/generateTableOfContents.ts#L202)][[25](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/generateTableOfContents.ts#L203)][[26](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/generateTableOfContents.ts#L204)][[27](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/generateTableOfContents.ts#L207)][[28](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/generateTableOfContents.ts#L211)][[29](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/generateTableOfContents.ts#L215)][[30](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/generateTableOfContents.ts#L229)] and more :You should avoid assigning styles via JavaScript or in HTML and instead move all these styles into CSS so that they are more easily adaptable by themes and snippets.


[[1](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/estimatedReadingTime.ts#L405-L407)][[2](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/generateTableOfContents.ts#L441-L443)]:You should not cast this, instead use a `instanceof` check to make sure that it's actually a file/folder.

[[1](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/codeEditor/manager/CodeEditorManager.ts#L77)]:Do not detach leaves with your custom view in `onunload`, this is an antipattern, see: <https://docs.obsidian.md/Plugins/Releasing/Plugin+guidelines#Don't+detach+leaves+in+%60onunload%60>

[[1](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/utils/tocUtils.ts#L18)]:Lookbehinds are not supported in iOS versions before 16.4

[[1](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/components/ReadingProgress/TOCItem.tsx#L56)][[2](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/components/ReadingProgress/TOCItem.tsx#L57)]:Using `innerHTML`, `outerHTML` or similar API's is a security risk. Instead, use the DOM API or the Obsidian helper functions: <https://docs.obsidian.md/Plugins/User+interface/HTML+elements>



---

### Optional

[[1](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/core/services/BaseManager.ts#L183)][[2](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/core/services/BaseManager.ts#L188)][[3](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/core/services/BaseManager.ts#L204)][[4](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/core/services/BaseManager.ts#L213)][[5](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/core/services/BaseManager.ts#L408)][[6](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/core/services/PluginManager.ts#L145)][[7](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/core/services/PluginManager.ts#L169)][[8](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/core/services/PluginManager.ts#L170)][[9](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/core/services/PluginManager.ts#L181)][[10](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/quickPath/manager/QuickPathManager.ts#L25)][[11](https://github.com/RavenHogWarts/obsidian-ravenhogwarts-toolkit/blob/d4e781eab46948892e51312c6e3f8f4deb5bbf76/src/toolkit/readingProgress/services/generateTableOfContents.ts#L222)]:Casting to `any` should be avoided as much as possible.



---



Do <b>NOT</b> open a new PR for re-validation.
Once you have pushed all of the required changes to your repo, the bot will update the labels on this PR within 6 hours.
If you think some of the required changes are incorrect, please comment with `/skip` and the reason why you think the results are incorrect.