feat(webapp): New campaign's "setup of one of yours" opens the full copy dialog (#1223) #1291
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/1223-new-campaign-full-copy"
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?
Closes #1223, the owner's Q193 answer (a).
Frontend (
NewCampaign.jsx):StartFromThisDialog(mode="clone", unchanged) on the chosen campaign.Modal, tested).Backend: the old settings-only path is removed. Nothing else sent
template: {from_campaign_id}(frontend, bot, e2e and tests grepped). Removed:CampaignFromCampaign,_settings_from_campaign, andTemplateCampaignNotFound/TemplateCampaignForbidden, with their router handling.A
templateobject namingfrom_campaign_idis now a 422.SETTINGS_COPIED_FROM_TEMPLATEand_clamp_copied_retentionstay, because the clone (setup_archive.py) uses them.Docs:
docs/API.mdpoints toPOST /clone; there's a new CATALOGUE row (IS-537) and a changelog fragment.Wording, held for the owner on the Wording Review page, part i. Don't merge until it's decided:
Note: the dialog ticks the world pages by default (the owner's Q189). So to get exactly what the old settings-only copy gave, untick everything in the dialog.
Checked:
test_campaign_templates,test_campaign_setup_copy,wiki/test_title_readersandexport/test_import_bounds, 198 passed.Not run: the full suites (CI runs them), and no render check yet.
🤖 Generated with Claude Code