obsidian-releases icon indicating copy to clipboard operation
obsidian-releases copied to clipboard

Added Conditional Random Note Plugin

Open yizeshen7 opened this issue 2 years ago • 6 comments

I am submitting a new Community Plugin

Repo URL

Link to my plugin: https://github.com/yizeshen7/obsidian-conditional-random-note

Release Checklist

  • [ ] I have tested the plugin on
    • [x] Windows
    • [x] macOS
    • [ ] Linux
    • [ ] Android (if applicable)
    • [ ] iOS (if applicable)
  • [x] My GitHub release contains all required files
    • [x] main.js
    • [x] manifest.json
    • [ ] styles.css (optional)
  • [x] GitHub release name matches the exact version number specified in my manifest.json (Note: Use the exact version number, don't include a prefix v)
  • [x] The id in my manifest.json matches the id in the community-plugins.json file.
  • [x] My README.md describes the plugin's purpose and provides clear usage instructions.
  • [x] I have read the tips in https://github.com/obsidianmd/obsidian-releases/blob/master/plugin-review.md and have self-reviewed my plugin to avoid these common pitfalls.
  • [x] I have added a license in the LICENSE file.
  • [x] My project respects and is compatible with the original license of any code from other plugins that I'm using. I have given proper attribution to these other projects in my README.md.

yizeshen7 avatar Jul 15 '22 00:07 yizeshen7

"Sample Plugin" I don't think that this is the correct name.

file.stat.ctime Depending on the operating system this might be 0, just something to keep in mind.

ribbonIconEl.addClass("my-plugin-ribbon-class"); Remove this if you are not using any CSS.

if (typeof Number(value) == "number") { You should notify the user in case they input a invalid value. You also only need to save if its valid.

joethei avatar Jul 15 '22 09:07 joethei

Hi joethei!

Went through your comments and made some changes, would love to have you take another look, thanks :D

yizeshen7 avatar Jul 15 '22 17:07 yizeshen7

Hm accidentally deleted my plugin entry it seems like, @joethei @liamcain wonder if there is a way I can roll back?

yizeshen7 avatar Jul 24 '22 20:07 yizeshen7

@yizeshen7 The easiest way is probably run git fetch origin && git reset --hard origin/master on your fork of obsidianmd/obsidian-releases and just add the plugin to the end of the list.

liamcain avatar Aug 04 '22 22:08 liamcain

@liamcain Perfect thanks Liam! Was able to update, let me know if there is anything else you all need :).

yizeshen7 avatar Aug 05 '22 19:08 yizeshen7

Hi @yizeshen7, have you tried contributing to the Smart Random Note plugin at all? https://github.com/erichalldev/obsidian-smart-random-note. Seems like your plugin has similar goals with slightly different features.


Otherwise, here's just some comments on the code itself:

liamcain avatar Aug 12 '22 18:08 liamcain

@yizeshen7 Hi! Do you still intend to submit this plugin? Thanks!

ericaxu avatar Nov 09 '22 02:11 ericaxu

Closing PR due to inactivity.

Feel free to reopen this PR if you still intend on submitting this plugin.

joethei avatar Mar 28 '23 09:03 joethei