When you're editing a staff profile in the admin, edits to the slug make the "Save" button to change to "Saved" even though nothing is saved yet until the "Saved" button is clicked.
Potential solutions:
Other considerations:
When the form is not saved, reloading the page could also trigger a prompt from the browser to confirm the navigation during that dirty state.
ghost install localCan reproduce this issue on both 3.17.1 and the latest version, but only on changing the user slug field and not on changing the name. Working on a fix for the slug change, though if there is a reproduction scenario I am missing for changing name triggering save button please shout.
I can confirm I was indeed changing the slug, but when writing up the issue I didn't test whether the problem was field-specific. Updated the steps to mention editing the slug. Thanks!
Weirdly, it seems ember-concurrency seems to be triggering all the tasks in a task group as in this case we are explicitly passing down the save task to task button but its states are still triggered when the updateSlug task in the same task group is called, although from the docs i couldn't find anything that suggests this or how to bypass this.
I added a fix in linked PR for task buttons to always check if the last task's name is same as the task name passed down before updating state, which takes care of group tasks and also shouldn't cause any side-effects imo, but will run this by for review from @kevinansfield in case I missed anything that this will break or if there is a better way to handle this before merge
Just waiting on the final review on approach (details 猬嗭笍 ) before merge :)