-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add plugin: Floating Gifs #4118
base: master
Are you sure you want to change the base?
Conversation
Hello!I found the following issues in your plugin submission Errors: ❌ Unable to find a release with the tag This check was done automatically. Do NOT open a new PR for re-validation. Instead, to trigger this check again, make a change to your PR and wait a few minutes, or close and re-open it. |
The automated review has not found any issues with your code, assigning human for additional review. |
Why not just open the image in Obsidian and drag the pane to that corner? "description": "A plugin that allows you to float gifs on your screen.", // Remember to rename these classes and interfaces! SharedStuff, sharedstuff.get("float_gif").src = this.app.vault.adapter.getResourcePath(value);, sharedstuff.set("float_gif", float_gif), sharedstuff.get("float_gif").remove() |
Also isn't the setting layer for UI settings and permanent data only
…On Thu, 12 Sept 2024, 3:51 pm Darren Lau, ***@***.***> wrote:
Its not on top of every page
And a extra pane
On Thu, 12 Sept 2024, 3:59 am Johannes Theiner, ***@***.***>
wrote:
> Why not just open the image in Obsidian and drag the pane to that corner?
>
> "description": "A plugin that allows you to float gifs on your screen.",
> <https://github.com/Darren-project/floating-gifs/blob/11db6eebb9bfffcd23dec95178ae8b27f58b30ff/manifest.json#L6>
> Avoid including sentences like "This is a plugin that does ..." in your
> description, it should be self-evident that this is a plugin for Obsidian.
> We have published a guide for plugin descriptions to follow here:
> https://docs.obsidian.md/Plugins/Releasing/Submission+requirements+for+plugins#Keep+plugin+descriptions+short+and+simple
> .
>
> // Remember to rename these classes and interfaces!
> <https://github.com/Darren-project/floating-gifs/blob/11db6eebb9bfffcd23dec95178ae8b27f58b30ff/main.ts#L3>
> Remove this comment
>
> SharedStuff
> <https://github.com/Darren-project/floating-gifs/blob/11db6eebb9bfffcd23dec95178ae8b27f58b30ff/main.ts#L6>,
> sharedstuff.get("float_gif").src =
> this.app.vault.adapter.getResourcePath(value);
> <https://github.com/Darren-project/floating-gifs/blob/11db6eebb9bfffcd23dec95178ae8b27f58b30ff/main.ts#L134>,
> sharedstuff.set("float_gif", float_gif)
> <https://github.com/Darren-project/floating-gifs/blob/11db6eebb9bfffcd23dec95178ae8b27f58b30ff/main.ts#L95>,
> sharedstuff.get("float_gif").remove()
> <https://github.com/Darren-project/floating-gifs/blob/11db6eebb9bfffcd23dec95178ae8b27f58b30ff/main.ts#L100-L101>
> Just read the value from the settings object, instead of adding another
> useless layer.
>
> .setName('GIF File')
> <https://github.com/Darren-project/floating-gifs/blob/11db6eebb9bfffcd23dec95178ae8b27f58b30ff/main.ts#L126>
> Use sentence case in UI
> <https://docs.obsidian.md/Plugins/Releasing/Plugin+guidelines#Use+sentence+case+in+UI>
>
> —
> Reply to this email directly, view it on GitHub
> <#4118 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AO6YPGG2NSNRU7PRHRY2O73ZWCOIPAVCNFSM6AAAAABND4U26OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBUGU4TCNBTGY>
> .
> You are receiving this because you modified the open/close state.Message
> ID: ***@***.***>
>
|
Hi there, as this PR has not seen any activity in the last 30 days, it will be closed in 15 days unless there are any updates. |
No updates yet.
…On Sun, 13 Oct 2024, 3:29 pm github-actions[bot], ***@***.***> wrote:
Hi there, as this PR has not seen any activity in the last 30 days, it
will be closed in 15 days unless there are any updates.
—
Reply to this email directly, view it on GitHub
<#4118 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AO6YPGAHMWCV7S2M3PEM6JTZ3ION3AVCNFSM6AAAAABND4U26OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBYHA3DAOBTHE>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
The filename is stored in the settings object, and in your sharedstuff object, that's unnecessary duplication. |
I am submitting a new Community Plugin
Repo URL
Link to my plugin: https://github.com/Darren-project/floating-gifs
Release Checklist
main.js
manifest.json
styles.css
(optional)v
)id
in mymanifest.json
matches theid
in thecommunity-plugins.json
file.I have given proper attribution to these other projects in my
README.md
.