Commit Graph

24 Commits

Author SHA1 Message Date
3f80f3fbb7 Admin: add hierarchical topics with photo tagging
Introduce a new 'topics' entity with two-level nesting and a many-to-many link to photos. Add topic management in admin and inline AJAX attach/detach controls on photo cards so editors can assign or remove topics without reloading the page.
2026-02-21 12:15:36 +03:00
da426974ac Admin/Public: streamline photo-after editing and sidebar UI
Move 'after photo' upload into the after-preview area with an inline replace action and keep rotations/uploads async so the table stays in place. Clean up autosave helper text noise, remove the redundant back link on photo detail, and loosen sidebar section spacing for a cleaner public layout.
2026-02-21 12:02:02 +03:00
c94dc1e73e Admin/Public: improve comments UX and photo navigation
Split comment users and comment moderation into separate admin sections, and add comment search by photo and user for faster moderation. Rework public photo viewing with full-frame repeated watermarking, in-section prev/next navigation, sticky desktop sidebar, and a mobile bottom nav with section return and photo position.
2026-02-21 11:52:02 +03:00
25aae39bd8 Admin: modal comments and async photo rotation
Open per-photo comments in a modal overlay from the photo table instead of navigating away, and keep deletion inline. Make rotate controls submit via AJAX so preview updates without page reload or scroll jump, while tightening button layout for cleaner action groups.
2026-02-21 11:35:33 +03:00
728050ced9 Admin: clarify photo description and add comment indicators
Rename the photo field label to avoid confusion with user comments and show comment count indicators in photo actions. Let admins open a per-photo comment view from the indicator and remove comments directly from that filtered list.
2026-02-21 11:26:49 +03:00
8dce294249 Admin: add photo rotation controls under previews
Let admins fix wrong image orientation directly in the photo table by rotating both before and after files. Add per-preview left/right 90-degree controls and rotate files on disk so changes apply everywhere immediately.
2026-02-21 11:04:41 +03:00
48bb460749 Admin: split sections/photos workflows in sidebar
Separate section management from photo management to keep the admin navigation clear and focused. Add autosave for section edits, stronger double-confirmation on section removal, and explicit cleanup of before/after files when a section is deleted.
2026-02-20 18:25:33 +03:00
b241c9b9b3 Admin: add section rename and delete actions
Let admins manage section names and ordering from the media sidebar without manual DB edits. Add safe section deletion in admin flow and remove the section storage folder after DB cascade cleanup.
2026-02-20 18:20:03 +03:00
Alex Assistant
0995989b56 Public badge for restored photos and commenter link retrieval/regeneration 2026-02-20 15:13:46 +03:00
Alex Assistant
9207c739fc Admin: move welcome message editor to dedicated sidebar menu section 2026-02-20 15:09:42 +03:00
Alex Assistant
0e357c0e42 Public: stacked before/after and editable welcome text; admin media/comments mode polish 2026-02-20 15:08:13 +03:00
Alex Assistant
f97064ab8b Fix autosave fetch URL shadowed by input[name=action] 2026-02-20 15:01:38 +03:00
Alex Assistant
2db58562f1 Fix admin autosave endpoint to explicit admin.php with token 2026-02-20 14:57:26 +03:00
Alex Assistant
60c0641608 Fix admin autosave transport: robust AJAX detection and JSON parsing 2026-02-20 14:55:45 +03:00
Alex Assistant
62837855ef Fix autosave reliability and show after preview via non-ajax file upload 2026-02-20 14:53:09 +03:00
Alex Assistant
b923b894e9 Admin: sidebar modes, autosave photo cards, after previews and lightbox 2026-02-20 14:49:02 +03:00
Alex Assistant
eab63dcfa8 Admin UI: sidebar mode switch and fix broken thumbnails 2026-02-20 14:44:27 +03:00
Alex Assistant
e45fd0dcb0 Switch main app to MySQL flow and restore section-first bulk upload UX 2026-02-20 14:39:42 +03:00
Alex Assistant
8d93605093 Add favicon and subtle footer author link 2026-02-19 17:46:46 +03:00
Alex Assistant
fa3fb2c77c Add cache-busting version param for CSS/JS assets 2026-02-19 17:38:14 +03:00
Alex Assistant
b789085c33 Add sort index auto-cleanup and thumbnails in admin photo list 2026-02-19 17:29:30 +03:00
Alex Assistant
23f2d03b1e Move photo upload into selected category section 2026-02-19 17:22:40 +03:00
Alex Assistant
58a29a3d3b Extend admin: rename/delete/sort categories and photos 2026-02-19 17:17:03 +03:00
Alex Assistant
0a8d0ade23 Add token-protected admin panel for categories and photo uploads 2026-02-19 17:08:27 +03:00