-
Notifications
You must be signed in to change notification settings - Fork 10
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
Delete Hierarchies tag + RegisterPowerUp #25
base: main
Are you sure you want to change the base?
Conversation
); | ||
await plugin.app.registerPowerup( | ||
"Delete Hierarchies", | ||
"deleteHierarchies, |
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.
missing "
} | ||
); | ||
await plugin.app.registerPowerup( | ||
"Delete Hierarchies", |
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.
Rename to "Hide Hierarchies"
@@ -27,6 +27,14 @@ const CSS = ` | |||
.rn-queue__content:has(.rn-question-rem[data-queue-rem-container-tags~="no-hierarchy"]) .indented-rem:not(.rn-question-rem) > .rn-queue-rem { | |||
display: none; | |||
} | |||
|
|||
.rn-queue__content:has(.indented-rem[data-queue-rem-container-tags~="delete-hierarchies"]) .indented-rem:not(.rn-question-rem) { |
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.
data-queue-rem-container-tags~="hide-hierarchies"
margin-left: 0px !important; | ||
} | ||
|
||
.rn-queue__content:has(.indented-rem[data-queue-rem-container-tags~="delete-hierarchies"]) .indented-rem:not(.rn-question-rem) > .rn-queue-rem { |
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.
data-queue-rem-container-tags~="hide-hierarchies"
await plugin.app.registerPowerup( | ||
"Delete Hierarchies", | ||
"deleteHierarchies, | ||
"If any hierarchy is tagged with this, no hierarchy will appear on any flashcards below it.", |
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.
If any Rem is tagged with this...
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.
See the comments above.
Also:
- Add a section to the README describing what it does.
No description provided.