-
Notifications
You must be signed in to change notification settings - Fork 2k
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: Header Counter #3537
Conversation
Hello!I found the following issues in your plugin submission Errors: ❌ Could not parse 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. |
Hello!I found the following issues in your plugin submission Errors: ❌ The newly added entry is not at the end, or you are submitting on someone else's behalf. The last plugin in the list is: 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. |
Hello!I found the following issues in your plugin submission Errors: ❌ Your latest Release is missing the 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. |
Thanks for the detailed feedback! The code has been updated |
showRibbonIcon: boolean;, showRibbonIcon: true,, if (this.settings.showRibbonIcon) {, new Setting(this.containerEl) if (checking) {, if (checking) { const view = this.app.workspace.getActiveViewOfType(MarkdownView);
if (checking) {
return !!view;
} And then pass that view reference into the function below. if (!(view instanceof MarkdownView)) {, if (!(view instanceof MarkdownView)) { new Notice( this.containerEl.createEl("h2", { text: "Settings" }); |
Thanks again for the feedback with links! Changes have been made. |
const view = this.app.workspace.getActiveViewOfType(, const view = this.app.workspace.getActiveViewOfType( new Setting(this.containerEl).setName("Header counter").setHeading(); |
I am submitting a new Community Plugin
Repo URL
Link to my plugin: https://github.com/nancyel/header-counter
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
.