Persistent Draft Message Replay for Entity Data Consistency
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Drafts in software systems often contain inconsistent or erroneous data due to incomplete editing sessions, making it difficult for users to resume editing and identify prior errors or warnings, leading to data loss and user frustration.
Innovation Solution
Implementing a system to manage and replay persistent draft messages, which stores error and warning messages with drafts and invalidates irrelevant messages, allowing users to view current issues directly upon opening a draft, thereby providing immediate feedback and preventing unnecessary navigation or re-creation of drafts.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If draft messages are automatically saved and stored, then data loss is prevented, but users cannot easily identify prior errors or warnings when resuming editing
Solution Approach 1:
The system performs preliminary action by automatically capturing and storing error and warning messages at the time they occur during editing, so that when users resume editing drafts, the messages are already available for immediate display without requiring users to re-navigate or re-create drafts
2Loss of information
If all previously-generated messages are stored and replayed, then complete error history is available, but irrelevant messages increase complexity and user confusion
Solution Approach 1:
The system performs preliminary action by invalidating messages associated with fields that have been modified before the draft is saved, so that when messages are replayed, only relevant messages for unchanged fields are displayed, filtering out irrelevant information in advance
Solution Approach 2:
The system applies local quality by treating different messages differently based on their relevance - valid messages are displayed while invalid messages are suppressed, creating a differentiated message display strategy based on field change status
3Measurement precision
If users manually navigate to identify prior errors in drafts, then complete error checking is possible, but time and computing resources are wasted
Solution Approach 1:
The system implements feedback by automatically displaying relevant error and warning messages when a draft is opened, providing immediate feedback to users about data inconsistencies without requiring manual navigation or re-validation of all fields
Solution Approach 2:
The system uses copying by storing copies of error and warning messages that were originally generated during editing, and replaying these stored message copies when the draft is opened, avoiding the need to re-generate messages through full validation
Data Source
AI summary
The present disclosure involves systems, software, and computer implemented methods for managing and replaying persistent draft messages for entity data. One example method includes receiving a request from a client to read entity data in a draft of an entity. Previously-generated messages for the draft of the entity are retrieved and regenerated. A request to change a field of the entity is received and a set of previously-generated messages that correspond to the field is identified. Each message in the set of previously-generated messages is marked as invalid to prevent subsequent regeneration of messages in the set of messages. Each message in the previously-generated messages that is not marked as invalid is stored as a persistent draft message for the draft of the entity.


