[SOLVED] Clicking 'draft' doesn't ask to save changes first

I’m submitting a…

  • [ ] Regression (a behavior that stopped working in a new release)
  • [x] Bug report
  • [ ] Performance issue
  • [ ] Documentation issue or request

Current behavior

When starting a new project using the ‘blog’ template, I was editing the home page. Once finished my edits, I hit the ‘draft’ button. This immediately created a new draft and removed all the content that I just wrote, without any way to retrieve it. This is because I hit draft, and not save first. This is a simple mistake that any user could make

Expected behavior

either:

  1. an alert that confirms the user wants to discard changes

  2. the draft be created with all the current unsaved changes applied ( this is preferred )

Minimal reproduction of the problem

see desc

Environment

  • [ ] Self hosted with docker
  • [ ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [x] Cloud version

Browser:

  • [x] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [ ] Safari (desktop)
  • [ ] Safari (iOS)
  • [ ] IE
  • [ ] Edge
1 Like

This has been solved in the cloud.

1 Like