craftercms / craftercms

Parent project for Crafter CMS. Issue tracking across all repositories and global builds.
GNU General Public License v3.0
295 stars 98 forks source link

XB should allow you to edit fields that are locked by you #7176

Open russdanner opened 3 weeks ago

russdanner commented 3 weeks ago

CI Number

No response

Duplicates

Latest version

Describe the issue

Today if you are in edit mode in XB and hover over an item that is locked by you, you will not be allowed to edit the item because it's locked (by you.), if you are in edit mode in XB and hover over an item that you lock, you will not be allowed to edit the item because it's locked (by you).

Steps to reproduce

Steps:

  1. Open a new editorial site
  2. Use XB to begin editing the headline text (click in to the field but do not click out)
  3. refresh the browser (this leaves the page locked by you)
  4. Hover over the field you were editing and note you cannot edit it until/unless you find a way through the sidebar or navbar to unlock the item.

Relevant log output

No response

Screenshots and/or videos

No response

sumerjabri commented 3 weeks ago

Perhaps notify the user that they have this open in another tab and ask for confirmation.

We're looking to reduce friction with the author and help those who have accidentally locked themselves via browser refresh or similar.

The last save wins.

russdanner commented 2 weeks ago

Tested and confirmed within in the 4.2.x constraints we discussed. Note that the test provided (locked editable field of the current page) in the ticket will be addressed in 4.3.x.