Repository navigation
chore(deps): bump calendar to include the review action fixes - #670
Merged
Merged
Conversation
Picks up taskgenius/calendar#1 and #2, which clear the error-level findings the Obsidian review action reports for this submodule: static style assignments, undescribed or restricted eslint-disable comments in library code, and innerHTML / inline styles in the demo.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Bumps
packages/calendarfrom3cb5706to314d5ee(calendarmain). This picks up:fix: clear Obsidian review action errors in library code calendar#1: library code (bundled into
main.js). Changes from inline styles to CSS classes:body.style.cursorbody.tg-is-draggingstyle.cursor.tg-is-clickableheight.tg-has-slot-heightAlso: the drag proxy is hidden with
setStyles;DateFnsAdapterhas a typedDateFnsFunctionsinterface instead ofany; theeslint-disablecomments have descriptions.fix(demo): build demo DOM without innerHTML or static inline styles calendar#2: demo page. DOM APIs instead of
innerHTML, and CSS classes andhiddeninstead of inline styles.The Obsidian review action lints the checked-out submodule. These were its remaining 20 error-level findings, the last blocker for strict mode (#667).
Verification
Against the bumped calendar:
tscpasses.Calendar PRs:
Acceptance in the obdev vault (Obsidian 1.15.1, build of master + #668 + #669 + this calendar):
body.tg-is-draggingwith agrabbingcursor and no inline style.maxEventsPerRow, so month cells grow to fit every event.Type of Change
Checklist