Commit Graph

10 Commits

Author SHA1 Message Date
ruslan bd45267ac0 Change cooldown label to 'Следующий ответ через X сек.'
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 21:01:22 +03:00
ruslan d905836257 Remove UI_FETCH_WHEN_AUTO_ENABLED restriction (review UI removed)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 21:00:07 +03:00
ruslan 81a7f5f35d Fix reply_pools UndefinedError: pass as dict instead of individual kwargs
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 20:58:13 +03:00
ruslan 064954e997 Redesign auto-reply settings: per-star pools, filter modes, login promo
- Support reply pools for all 5 stars (1★–5★)
- Configurable enabled stars (DB setting, not env)
- Filter mode: no_text / empty / all reviews
- New settings UI: star toggles with colors, filter radios, dynamic pool columns
- Remove review browse/export UI from main page
- Login: left panel 1/4 width, logo 140px, price 7₽/день
- Fix Jinja2 vars() → reply_pools dict

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 18:20:57 +03:00
ruslan e5050a7c83 Redesign: add 1-3★ auto-reply pools, filter modes, new settings UI
- app.py: add pool keys for stars 1-3, AUTO_REPLY_STARS_KEY/FILTER_KEY,
  _load_enabled_stars(), _load_filter_mode(), updated _has_review_content()
  with filter_mode param, new /auto-reply-settings POST route, index route
  passes enabled_stars/filter_mode/pools 1-5 to template
- templates/index.html: remove reviews list & controls section, replace pool
  card with full settings card (star toggles, filter mode radios, dynamic
  per-star pool columns), update JS for all 5 stars
- templates/login.html: fix ratings feature text (1-5★), update price to
  7 ₽/день with corrected description
- static/styles.css: login-promo fixed 300px width, logo 140px, add
  settings UI styles (star-toggles, filter-options, pool-columns, star-chips 1-3)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 18:19:38 +03:00
ruslan 60ea2757bc Redesign login page with split promo layout
Left panel: logo, headline, feature list, price (200 ₽/мес).
Right panel: login form. Responsive for mobile.
Fix topbar logo display with white bg and shadow.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 18:05:01 +03:00
ruslan 1a06979120 Add WB logo image to all pages
Replace text "WB" placeholder with wb.png in topbar and login/register pages.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 18:02:03 +03:00
ruslan 773382a7bb Add ID and date columns to auto-reply queue display
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 17:51:23 +03:00
ruslan 53f1bb2e71 Sync project structure and apply feature updates
- Move files from remote_copy/ to root (proper project structure)
- Add Docker setup: Dockerfile, docker-compose.yml with volume mounts
- Auto-reply: fix skip logic (only text field, not pros/cons)
- Auto-reply: fix _paginate to handle cooldown gracefully mid-pagination
- Auto-reply: fix fetch timestamp not saved on API error (infinite retry loop)
- Auto-reply: reduce EMPTY_REMAINING_FALLBACK from 600s to 150s default
- UI: add auto-reply queue display with article number (nm_id)
- UI: replace button with CSS tumbler toggle for auto-reply
- UI: add review_created_at and review_id columns to journal
- UI: add skipped/sent/error status colors to journal

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 17:46:35 +03:00
ruslan 79768a4fac first commit 2026-05-06 13:28:54 +03:00