MCPcopy Create free account
hub / github.com/callumalpass/tasknotes / renderGroupTitle

Method renderGroupTitle

src/bases/TaskListView.ts:2101–2111  ·  view source on GitHub ↗

* Render group title using shared utility. * Uses this.app from BasesView (with fallback to plugin.app for safety).

(container: HTMLElement, title: string)

Source from the content-addressed store, hash-verified

2099 * Uses this.app from BasesView (with fallback to plugin.app for safety).
2100 */
2101 private renderGroupTitle(container: HTMLElement, title: string): void {
2102 // Use this.app if available (set by Bases), otherwise fall back to plugin.app
2103 const app = this.app || this.plugin.app;
2104
2105 const linkServices: LinkServices = {
2106 metadataCache: app.metadataCache,
2107 workspace: app.workspace,
2108 };
2109
2110 renderGroupTitle(container, title, linkServices);
2111 }
2112
2113 /**
2114 * Component lifecycle: Called when component is unloaded.

Callers 1

createGroupHeaderMethod · 0.95

Calls 1

renderGroupTitleFunction · 0.90

Tested by

no test coverage detected