Skip to Main Content
Feature Request FR-1902
Product Area Application Builder
Status CLOSED

97 Voters

Highlight changed items for "Warn on Unsaved Changes"

hhudson Public
· Sep 2 2021

Idea Summary
The user needs item-level feedback on which page item holds the "unsaved changes" that trigger the alert "Leave Site? Changes you made may not be saved." A page-level alert is not enough. 

Use Case
If the user attempts to leave a form which unsaved changes, the user may be prompted with the alert "Leave Site? Changes you made may not be saved." The user wants to know which of the form fields contains said-unsaved change.

Preferred Solution (Optional)
For example, the message "This item has unsaved changes" can be added inline next to the offending item in question. Perhaps something like this: 

I wrote a plugin to do exactly this : https://github.com/hhudson/Warn-on-unsaved-changes-plugin

We reviewed this idea carefully, and while it was interesting, we concluded that it is unlikely to make its way into APEX in the foreseeable future.

Comments

Comments

  • chris.shannon OP 4 years ago

    Excellent idea. But sometimes hidden items are the cause of this “unsaved changes” message. So perhaps a session state interface for developers, or a simple popup list of all the changed items from the developer tool bar, would save hours of detective work.

  • karel ekema OP 4 days ago

    Meanwhile, for those interested, find this DA plugin ‘Show Unsaved Changes’ which is a slight variation - instead of highlighting in red, it gives a message notification listing all the changes:

    Clicking on a change sets the focus on the related page item or IG row.

    More info: blog post
    Demo page here.