favoritter/web/templates/pages
Ole-Morten Duesund b186fb4bc5 feat: add edit/delete buttons to list views and inline privacy toggle
Fave cards in the list and profile views now show edit, delete, and
privacy toggle buttons directly — no need to open the detail page first.

- New POST /faves/{id}/privacy route with HTMX privacy toggle partial
- New UpdatePrivacy store method for single-column update
- fave_list.html: edit link, HTMX delete, privacy toggle on every card
- profile.html: edit/delete for owner's own cards
- privacy_toggle.html: new HTMX partial that swaps inline on toggle
- CSS: compact .fave-card-actions styles

The existing handleFaveDelete already returns empty 200 for HTMX
requests, so hx-target="closest article" hx-swap="outerHTML" removes
the card from DOM seamlessly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 10:17:46 +02:00
..
admin_dashboard.html a11y: fix WCAG 2.2 AA and Uutilsynet audit findings 2026-03-29 17:54:24 +02:00
admin_requests.html fix: address a11y code review findings 2026-03-29 17:58:40 +02:00
admin_settings.html feat: add admin panel with user, tag, and signup management 2026-03-29 16:09:30 +02:00
admin_tags.html fix: address a11y code review findings 2026-03-29 17:58:40 +02:00
admin_users.html a11y: fix WCAG 2.2 AA and Uutilsynet audit findings 2026-03-29 17:54:24 +02:00
error.html a11y: fix WCAG 2.2 AA and Uutilsynet audit findings 2026-03-29 17:54:24 +02:00
export.html feat: add Atom feeds and JSON/CSV import/export 2026-03-29 16:11:44 +02:00
fave_detail.html feat: add notes field to favorites and enhance OG meta tags 2026-04-04 00:40:08 +02:00
fave_form.html feat: add notes field to favorites and enhance OG meta tags 2026-04-04 00:40:08 +02:00
fave_list.html feat: add edit/delete buttons to list views and inline privacy toggle 2026-04-07 10:17:46 +02:00
home.html a11y: fix WCAG 2.2 AA and Uutilsynet audit findings 2026-03-29 17:54:24 +02:00
import.html a11y: fix WCAG 2.2 AA and Uutilsynet audit findings 2026-03-29 17:54:24 +02:00
login.html feat: implement Phase 1 (auth) and Phase 2 (faves CRUD) foundation 2026-03-29 15:55:22 +02:00
profile.html feat: add edit/delete buttons to list views and inline privacy toggle 2026-04-07 10:17:46 +02:00
reset_password.html feat: implement Phase 1 (auth) and Phase 2 (faves CRUD) foundation 2026-03-29 15:55:22 +02:00
settings.html feat: add profiles, public views, settings, and code quality fixes 2026-03-29 16:01:41 +02:00
signup.html feat: implement Phase 1 (auth) and Phase 2 (faves CRUD) foundation 2026-03-29 15:55:22 +02:00
tag_browse.html a11y: fix WCAG 2.2 AA and Uutilsynet audit findings 2026-03-29 17:54:24 +02:00