Rudimentary search
Build LinkLog Development Image / development-image (push) Successful in 11s

This commit is contained in:
2026-09-05 08:31:23 +02:00
parent 48c60e00a2
commit 6ff90aae9a
6 changed files with 103 additions and 1 deletions
+8
View File
@@ -1541,3 +1541,11 @@ Document the sql schema, include an ERD
### Assistant outcome
Added `DATABASE.md` documenting the current SQLite schema at migration version 17, including tables, columns, constraints, indexes, migration history, and a Mermaid ERD. Linked it from the README and verified the focused database tests with `PYTHONPATH=. pytest backend/tests/test_database.py -q` (1 passed).
### User
In the toolbar add a search functionality, which filters the log entries on keywords.
use basic symbols and operators such as with google, and only 'site:' as advanced search operator
### Assistant outcome
Added toolbar search filtering for link title, URL, comment, username, and tags. The query supports implicit AND terms, quoted phrases, `OR`, `-` exclusions, and the `site:` host operator; other advanced operators are treated as ordinary text. Search preferences persist with the existing feed cookie and the rendered-feed regression assertions cover the implementation. JavaScript syntax validation passed; the API suite had 35 passing tests and one unrelated existing Mastodon timestamp assertion expecting text without `UTC`.