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

Method savePersistedFilters

src/views/StatsView.ts:269–282  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

267 }
268
269 private savePersistedFilters(): void {
270 try {
271 this.plugin.app.saveLocalStorage(
272 STATS_FILTERS_STORAGE_KEY,
273 JSON.stringify(this.currentFilters)
274 );
275 } catch (error) {
276 tasknotesLogger.warn("[TaskNotes] Failed to save Stats view filters:", {
277 category: "persistence",
278 operation: "save-stats-view-filters",
279 error: error,
280 });
281 }
282 }
283
284 async render() {
285 const container = this.contentEl.createDiv({

Callers 1

applyFiltersMethod · 0.95

Calls 1

warnMethod · 0.80

Tested by

no test coverage detected