On a freshly created project: define classes, press Save version → v1 is created. Press Save version again immediately, with no edits → v2 is created with identical content (the version panel itself renders "Nothing changed between v1 and v2"). Only the third press is caught by the no-change detection ("nothing to save" toast).
Observed only on freshly created projects.
cf. the schema editor design in DESIGN.md ("Versioning is ambient, not modal": Save version is always enabled; pressing it with no changes shows a toast and issues no request).
Reproduction
- Create a project.
- Open the Schema tab, add one or more classes.
- Press Save version → v1.
- Press Save version again, without editing anything → v2 is created.
- Press Save version a third time → "No changes to save".
On a freshly created project: define classes, press Save version → v1 is created. Press Save version again immediately, with no edits → v2 is created with identical content (the version panel itself renders "Nothing changed between v1 and v2"). Only the third press is caught by the no-change detection ("nothing to save" toast).
Observed only on freshly created projects.
cf. the schema editor design in
DESIGN.md("Versioning is ambient, not modal": Save version is always enabled; pressing it with no changes shows a toast and issues no request).Reproduction