MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / createAdditionalSections

Method createAdditionalSections

src/modals/TaskEditModal.ts:252–261  ·  view source on GitHub ↗

* Add completions calendar and metadata sections after details

(container: HTMLElement)

Source from the content-addressed store, hash-verified

250 * Add completions calendar and metadata sections after details
251 */
252 protected createAdditionalSections(container: HTMLElement): void {
253 createCompletionsCalendarSection(container, {
254 task: this.task,
255 plugin: this.plugin,
256 completedInstancesChanges: this.completedInstancesChanges,
257 skippedInstancesChanges: this.skippedInstancesChanges,
258 translate: (key, params) => this.t(key, params),
259 });
260 this.createMetadataSection(container);
261 }
262
263 /**
264 * Force close the modal without checking for unsaved changes.

Callers 1

createModalContentFunction · 0.45

Calls 3

createMetadataSectionMethod · 0.95
tMethod · 0.45

Tested by

no test coverage detected