all: remove saved views, the Has-reminder filter and the Created range
CI & Build / Build now, or wait for Android? (push) Successful in 3s
Android / Build, or is the channel already serving this? (push) Successful in 3s
CI & Build / Python lint (push) Successful in 2s
CI & Build / Web typecheck and unit tests (push) Successful in 13s
Desktop (Tauri) / Build, or is the channel already serving this? (push) Successful in 2s
CI & Build / Python tests (push) Successful in 15s
CI & Build / integration (push) Successful in 1m29s
CI & Build / Build & push image (push) Skipped
Desktop (Tauri) / Web tests, clippy, Rust tests and rustfmt (push) Successful in 3m34s
Desktop (Tauri) / Windows installer (cross-compiled) (push) Successful in 3m5s
Desktop (Tauri) / Tauri desktop (Linux) (push) Successful in 3m49s
Desktop (Tauri) / Update manifest (push) Successful in 3s
Android / Kotlin + Rust (APK) (push) Successful in 9m29s

Step 18 of the audit follow-through (#5180), on the operator's decisions.
Inkwell is for capture and recall (note 2897), and these three duplicated a
surface that does the job already:

- Saved views. They lived only on the web; the desktop kept its own set that
  never synced, and Android had none. Tags in the drawer already give
  one-click recall. Gone from the server (routes, model, migration 0038 drops
  the table), the core (store functions, schema v13 drops its table), the
  desktop commands, the web adapters, the drawer's Views list and the
  "Save view" link.
- The "Has reminder" facet. The Reminders page lists them, sorted by due.
- The FilterBar's "Created" range. Timeline is the date lens and keeps the
  created_after/created_before query it builds from local days, which also
  retires the UTC/local-day disagreement between the two (B3).

An old link that still carries the removed keys opens the plain board; a
web test pins that.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-07 21:29:28 -04:00
co-authored by Claude Opus 5.5
parent 888c6410f0
commit b019172d47
25 changed files with 106 additions and 574 deletions
+2 -3
View File
@@ -4,12 +4,11 @@ import { repo } from "../adapters";
import { useUiStore } from "./ui";
export type NoteView = "active" | "archived" | "trash";
// Combinable facet filters for the board (mirrors the GET /api/notes query + a saved
// view's stored params). All optional; empty = the plain, unfiltered board.
// Combinable facet filters for the board (mirrors the GET /api/notes query). All
// optional; empty = the plain, unfiltered board. The date bounds are Timeline's.
export interface NoteFacets {
q?: string;
label?: string[];
has_reminder?: boolean;
has_attachment?: boolean;
created_after?: string;
created_before?: string;
-46
View File
@@ -1,46 +0,0 @@
import { defineStore } from "pinia";
import { ref } from "vue";
import { repo } from "../adapters";
import type { NoteFacets } from "./notes";
// A named, saved facet combination (a 'view'/lens). `params` mirrors NoteFacets.
export interface SavedFilter {
id: string;
name: string;
params: NoteFacets;
position: number;
}
export const useSavedFiltersStore = defineStore("savedFilters", () => {
const items = ref<SavedFilter[]>([]);
const loaded = ref(false);
async function load(): Promise<void> {
try {
items.value = await repo.savedFilters.list();
} catch {
// leave whatever we have
} finally {
loaded.value = true;
}
}
async function create(name: string, params: NoteFacets): Promise<SavedFilter> {
const sf = await repo.savedFilters.create(name, params);
items.value.push(sf);
return sf;
}
async function remove(id: string): Promise<void> {
await repo.savedFilters.remove(id);
items.value = items.value.filter((f) => f.id !== id);
}
async function rename(id: string, name: string): Promise<void> {
const sf = await repo.savedFilters.rename(id, name);
const idx = items.value.findIndex((f) => f.id === id);
if (idx >= 0) items.value[idx] = sf;
}
return { items, loaded, load, create, remove, rename };
});