-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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: Varinote #4752
base: master
Are you sure you want to change the base?
Add plugin: Varinote #4752
Conversation
Hello!I found the following issues in your plugin submission Errors: ❌ Please don't use the word 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. |
Thank you for your submission, an automated scan of your plugin code's revealed the following issues: Required[1]:Using Optional[1]:Casting to Do NOT open a new PR for re-validation. |
Changes requested by bot have been made, assigning human for additional review. |
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.
Remade this comment below.
You can use this.app.workspace.onLayoutReady(() => {
this.registerEvent(this.app.vault.on('create', (file: TAbstractFile) => {
this.handleFileCreate(file);
}));
}); The process change you've made is correct, nice job! |
Thanks @Zachatoo I've applied your suggested and now it is ready for a re-check. |
Thank you for your submission, an automated scan of your plugin code's revealed the following issues: Required[1][2][3][4]: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. Optional[1]:Casting to Do NOT open a new PR for re-validation. |
Changes requested by bot have been made, ready for additional review by human. |
Changes requested by joethei have been made, assigning additional human for additional review |
Thank you for your submission, an automated scan of your plugin code's revealed the following issues: Optional[1]:Casting to Do NOT open a new PR for re-validation. |
Copyright (c) 2023 xRyul "description": "Add variables in Templates and set their values on-the-fly during the Note creation.", export function createTooltip(container: HTMLElement, initialValue: number): HTMLElement { this.addSettingTab(new VarinoteSettings(this.app, this)); containerEl.createEl('p', { |
Hi @joethei Thanks for the feedback. I've addressed the issues that you flagged, except for that one:
For that one, I already tried to use When I tried it, I noticed 2 problems for what I wanted to do:
The most important reason that I didn't go with it, though, was the first, as I wanted to show the value all the time. Is this OK with you or should I try a different approach? |
I am submitting a new Community Plugin
Repo URL
Link to my plugin:
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
.