Improve raw rewrite flow and publication status sync

This commit is contained in:
Your Name
2026-08-05 14:20:04 +05:00
parent 8eadddba1f
commit d65d1498a9
6 changed files with 174 additions and 10 deletions
+5
View File
@@ -100,6 +100,11 @@ canonical git repository as FN-8. Code work for both projects must happen in
- The editor textarea must show only clean editable text.
- The list preview in `/editor` should show the publication preview, including composed hashtags.
- `build_publication_text()` in `src/vk_parser_app/text_utils.py` is display/composition helper only. Do not use it before writing `final_text` to DB.
- `/raw` has a manual checkbox action to send rejected posts back to rewrite.
It resets stale rewrite/final fields and sets `rewrite_status='pending'`.
- VK/MAX successful publications also sync `raw_posts.publication_status` and
`editorial_status` to `published`; this keeps VK-only projects from leaving
posts forever in the editor's accepted tab.
## Recent Hotfix: Hashtags