Remove multi-scenario scaffolding #24
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Per decision in #22: one scenario per account. Remove all multi-scenario code that will never be used.
To remove:
routes/web.php(index, create, store, edit, destroy)ScenarioControllermethods:index(),create(),store(),edit(),destroy()— keep onlyshow()andupdate()Scenarios/Index.tsxfrontend pageDeleteScenarioActionStoreScenarioRequestform requestScenarioRepository::getAll()method (if unused after cleanup)To update:
routes/web.phpcomment: change "Single-scenario MVP" to permanent routingKeep:
CreateScenarioAction(used by seeder for initial scenario)UpdateScenarioAction+UpdateScenarioRequest(settings panel)ScenarioController::show()andupdate()