- {/* Note cell — same view/edit pattern as the mobile cards:
- simple pen icon button + fully visible note text. */}
+ {/* The Note column only opens the editor shown below the video title. */}
-
-
- {editNoteUrl === v.url ? (
-
+
);
From 93f64e36ffca77a498c0e6944adecfe574a0a035 Mon Sep 17 00:00:00 2001
From: daggerok <2445604+daggerok@users.noreply.github.com>
Date: Sun, 20 Sep 2026 03:59:12 +0000
Subject: [PATCH 2/9] Inline filter utilities in dashboard
Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
---
filters.js | 29 -----------------------------
index.html | 28 +++++++++++++++++++++++++++-
tests/filters.test.js | 9 ++++++++-
3 files changed, 35 insertions(+), 31 deletions(-)
delete mode 100644 filters.js
diff --git a/filters.js b/filters.js
deleted file mode 100644
index f5a446d..0000000
--- a/filters.js
+++ /dev/null
@@ -1,29 +0,0 @@
-// Shared by every desktop and mobile column filter.
-// OR separates alternatives; * and & join literal phrases in occurrence order.
-function compileTextFilter(query) {
- const alternatives = String(query ?? '').toLowerCase().split('|')
- .map(alternative => alternative.split(/[*&]/).filter(term => term !== ''))
- .filter(terms => terms.length > 0);
-
- // Ignore empty operands while typing, rather than making an empty OR match all.
- if (alternatives.length === 0) return () => true;
-
- return value => {
- const text = String(value ?? '').toLowerCase();
- return alternatives.some(terms => {
- let offset = 0;
- return terms.every(term => {
- const index = text.indexOf(term, offset);
- if (index === -1) return false;
- offset = index + term.length;
- return true;
- });
- });
- };
-}
-
-const FILTER_HELP = 'Case-insensitive literal phrases; spaces are literal. Use * or & for AND in order, | for OR. AND is evaluated before OR.';
-
-if (typeof module !== 'undefined' && module.exports) {
- module.exports = { compileTextFilter };
-}
diff --git a/index.html b/index.html
index 8a0a0f8..44a52c8 100644
--- a/index.html
+++ b/index.html
@@ -102,7 +102,33 @@
-
+