MCPcopy
hub / github.com/callumalpass/tasknotes / registerActiveViews

Function registerActiveViews

src/bootstrap/pluginBootstrap.ts:313–321  ·  view source on GitHub ↗
(plugin: TaskNotesPlugin)

Source from the content-addressed store, hash-verified

311}
312
313function registerActiveViews(plugin: TaskNotesPlugin): void {
314 plugin.registerView(POMODORO_VIEW_TYPE, (leaf) => new PomodoroView(leaf, plugin));
315 plugin.registerView(POMODORO_STATS_VIEW_TYPE, (leaf) => new PomodoroStatsView(leaf, plugin));
316 plugin.registerView(STATS_VIEW_TYPE, (leaf) => new StatsView(leaf, plugin));
317 plugin.registerView(
318 RELEASE_NOTES_VIEW_TYPE,
319 (leaf) => new ReleaseNotesView(leaf, plugin, RELEASE_NOTES_BUNDLE, CURRENT_VERSION)
320 );
321}
322
323function registerEditorIntegrations(plugin: TaskNotesPlugin): void {
324 plugin.registerEditorExtension(createTaskLinkOverlay(plugin));

Callers 1

Calls 1

registerViewMethod · 0.65

Tested by

no test coverage detected