Skip to content

Save simulation config#141

Open
bnmajor wants to merge 10 commits into
mainfrom
save-simulation-config
Open

Save simulation config#141
bnmajor wants to merge 10 commits into
mainfrom
save-simulation-config

Conversation

@bnmajor

@bnmajor bnmajor commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@bnmajor
bnmajor force-pushed the save-simulation-config branch 5 times, most recently from 4284e88 to 7e7ba9e Compare July 13, 2026 19:06
bnmajor added 10 commits July 14, 2026 17:20
Creates the dedicated new_simulation.html partial, the saved simulations listing,
the accompanying tests, and routes to render both screens.
Adds the SAVED RunStatus, default updates, and filtering tweaks so saved-only
configs don’t show in the analysis sidebar unless requested.
Introduces new edit/run views, URL wiring, and template adjustments so saved
runs can be re-used.
- convert to a forms.ModelForm bound to PHOLDSimulationConfig so validators
  live in a single place
- ModelForm._post_clean() now runs full_clean() automatically
- run_identifier and stagger remain explicitly declared since they don't map
  directly to a model field/widget
- build the config via form.save(commit=False) instead of manually listing
  every field
- Rename "Edit" to "Clone" throughout the saved simulations UI since editing a saved config actually
  creates a new Run/config rather than mutating the original.
- Exclude RunStatus.SAVED from the status filter choices on the analysis page
- Document the clone-on-edit rationale and the missing source-run linkage as TODOs.
- Add TODOs for future pagination on the saved simulations list and replacing the redirect+messages
  error flow with an inline toast/HTMX notification.
@bnmajor
bnmajor force-pushed the save-simulation-config branch from 7e7ba9e to bd5e3f9 Compare July 14, 2026 22:39
@bnmajor
bnmajor marked this pull request as ready for review July 14, 2026 22:46
@bnmajor
bnmajor requested a review from marySalvi July 14, 2026 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant