-
Notifications
You must be signed in to change notification settings - Fork 46
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 date autosuggest to readme; Add en-gb support #32
Conversation
855345d
to
f2ee41e
Compare
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.
Looks good to me! I only added two comments with minor suggestions.
|
||
let date = this.parseDate(selectedText); | ||
onTrigger(mode: string): void { | ||
const activeView = this.app.workspace.getActiveViewOfType(MarkdownView); |
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.
I could have sworn I had fixed this already! Thanks ❤️
Co-authored-by: Argentina Ortega Sáinz <[email protected]>
Co-authored-by: Argentina Ortega Sáinz <[email protected]>
Updated. Any opinion on this comment?
(Previously the behavior was to keep autosuggest in sync with the datepicker settings.) |
I agree! I think it makes sense to separate these two contexts. Ready to merge? |
Yep, feel free to merge! |
solves #18
solves #30
autosuggestLinkToggle
instead of relying on the value ofmodalLinkToggle
. This seemed more intuitive to me, but let me know what you think @argenosX days ago
so it shows up in the autosuggest againeslint
to catch all the Typescript warnings. For a smaller diff, don't look at the last commit.