You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When creating a new kata in "Draft" status, pressing "Save" with empty "Initial Solution" and "Complete Solution" fields results in the loss of all progress in the "Example Test Cases" section. This occurs without any warning to the user, potentially causing significant data loss. While this might be intentional, it seems counterintuitive and could be considered a bug, as there's no apparent reason to discard progress on a draft kata.
To Reproduce
Initiate the creation of a new kata
Add a brief description in the "Description" field
Begin inputting test cases in the "Example Test Cases" section
Ensure "Initial Solution" and "Complete Solution" remain empty
Verify the kata status is "Draft"
Click "Save"
Actual behavior
Upon saving, the kata is stored with an entirely empty "Example Test Cases" section, resulting in complete loss of progress.
Expected behavior
Ideally, all progress across all tabs should be retained, given the kata's "Draft" status. Alternatively, the user should be prompted with a warning about potential data loss and the reason behind it, with an option to cancel the "Save" operation.
Browser
Chrome 109.0.5414.168 (64-bit)
The text was updated successfully, but these errors were encountered:
Describe the bug
When creating a new kata in "Draft" status, pressing "Save" with empty "Initial Solution" and "Complete Solution" fields results in the loss of all progress in the "Example Test Cases" section. This occurs without any warning to the user, potentially causing significant data loss. While this might be intentional, it seems counterintuitive and could be considered a bug, as there's no apparent reason to discard progress on a draft kata.
To Reproduce
Actual behavior
Upon saving, the kata is stored with an entirely empty "Example Test Cases" section, resulting in complete loss of progress.
Expected behavior
Ideally, all progress across all tabs should be retained, given the kata's "Draft" status. Alternatively, the user should be prompted with a warning about potential data loss and the reason behind it, with an option to cancel the "Save" operation.
Browser
Chrome 109.0.5414.168 (64-bit)
The text was updated successfully, but these errors were encountered: