refactor: convert partner/withdrawal modals to separate pages

Replace 7 modal dialogs with 8 dedicated page routes for better
mobile/Telegram WebApp UX. Add campaign management (assign/create
with auto-assign) to partner detail page.

New pages: AdminApplicationReview, AdminPartnerCommission,
AdminPartnerRevoke, AdminWithdrawalReject, AdminPartnerCampaignAssign,
AdminPartnerCampaignCreate, ReferralPartnerApply,
ReferralWithdrawalRequest.

~610 lines removed from parent pages, ~425 lines removed net.
This commit is contained in:
Fringg
2026-02-17 10:28:32 +03:00
parent 779fbf0dc6
commit 062976180c
17 changed files with 1320 additions and 614 deletions

View File

@@ -1868,9 +1868,11 @@
"referrals": "{{count}} referrals",
"actions": {
"approve": "Approve",
"reject": "Reject"
"reject": "Reject",
"review": "Review"
},
"applicationFields": {
"companyName": "Company",
"website": "Website",
"channel": "Channel",
"description": "Description",
@@ -1918,7 +1920,16 @@
"title": "Assigned Campaigns",
"noCampaigns": "No campaigns assigned",
"active": "Active",
"inactive": "Inactive"
"inactive": "Inactive",
"assign": "Assign",
"unassign": "Unassign",
"createNew": "Create",
"assignTitle": "Assign Campaign",
"noAvailable": "No available campaigns to assign",
"createTitle": "Create Campaign",
"createSubtitle": "Campaign will be auto-assigned to the partner",
"autoAssignNote": "Campaign will be automatically assigned to partner {{name}}",
"createAndAssign": "Create & Assign"
},
"dangerZone": {
"title": "Danger Zone",