feat(tradein): configurable estimate quota + new exhausted-quota copy (#658) #671
No reviewers
Labels
No labels
admin
analytics
auth
automation
bug
business
chore
ci
compliance
data
data-moat
docs
duplicate
dx
enhancement
Fable 5 ревью
feedback/max
generative
GG-форсайт
needs-discussion
needs-human
observability
pause-bots
performance
priority/p0
priority/p1
priority/p2
priority/p3
scope/backend
scope/db
scope/devops
scope/frontend
scope/qa
scrapers
security
site-finder
stage/1
stage/2
status/blocked
status/done
status/needs-analysis
status/needs-fix
status/qa
status/ready
status/review
status/wip
tech-debt
tradein
ux
week ревью 1
wontfix
вторичка
ИРД
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#671
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/tradein-658-limit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Make the monthly estimate quota limit configurable via Settings.estimate_quota_limit (env ESTIMATE_QUOTA_LIMIT, default 15), replacing the hardcoded 15 in account_quota.py.
Change the exhausted-quota text (backend 429 detail + frontend banner) to 'За полной версией обращайтесь к Копылову'; banner now renders the dynamic limit value.
Milestone 6 (Praktika demo). Closes #658
Parameterizes hardcoded monthly quota 15 -> settings.estimate_quota_limit (env ESTIMATE_QUOTA_LIMIT, default 15) + new exhausted copy (#658). Verified: frontend limit is a pre-existing prop (limit?: number|null), {limit ?? 15} valid (no TS break); counter already uses dynamic limit from /quota API; message+test updated consistently. Import-time MONTHLY_LIMIT capture OK for env-set-at-startup. Consistent with vault Module_TradeIn_Account_Quota (PR #635), no regression. APPROVE.