shabegom / buttons

Buttons in Obsidian
The Unlicense
455 stars 47 forks source link

Faster `remove` #118

Closed Lx closed 5 months ago

Lx commented 2 years ago

This pull request speeds up button deletion by ~2 seconds when the remove option is used. Removal of setTimeout calls also removes avenues for potential race conditions.

Note: this PR depends on #117, and may be easier to grok after #117 is merged.

I appreciate that you're working on a new version of Buttons but I think this fix might benefit others in the meantime if you would be willing to release it.

shabegom commented 1 year ago

Hey @Lx I haven't had time to review these PRs. I just made you a collaborator on the project so you can merge them. Cutting a release is currently a manual process.

Lx commented 1 year ago

Hey @Lx I haven't had time to review these PRs. I just made you a collaborator on the project so you can merge them. Cutting a release is currently a manual process.

Thank you. I'll need to find some more time and read up on releasing, but if I can get around to it before you do, I'm happy to give it a go.

theotheo commented 9 months ago

@Lx Could you please merge this commit? I guess It fixed a problem that I've faced

Lx commented 9 months ago

@Lx Could you please merge this commit?

Sorry, but as far as I'm aware, I don't have that ability.

theotheo commented 9 months ago

Seemingly, I misinterpreted the comments above, deciding that you gave the necessary rights. Maybe you could do opposite: merge changes to your fork.

Really sorry for this suggestion. But I guess it would be a quite easy for you.

I think this plugin is pretty nice and would be great if someone will take the role of maintainer.