Restoration of UI state in transactional systems
First Claim
1. A non-transitory computer readable medium having instructions stored thereon that, when executed by a processor, cause the processor to restore a user interface (UI) state, the restoring comprising:
- receiving an action performed by a user that interacts with a UI, wherein the UI includes a first UI area that comprises a plurality of first UI components and a second UI area that comprises a plurality of second UI components, the UI simultaneously displaying the first UI area and the second UI area;
determining a transaction based on the action, wherein the transaction is configured to modify a model corresponding to the UI and configured to change a visual representation of at least one of the first UI area or the second UI area, the change configured to not be recorded in the model of a model layer of a model-view-controller (MVC) architecture, wherein the UI comprises a view layer of the MVC architecture;
before committing the transaction, storing a first UI state of the UI and a first model state of the model, wherein the first UI state comprises states of the first UI area and the second UI area that are stored independently of one another and comprises a state of the visual representation of each of the UI areas when rendered;
committing the transaction to modify the model and to change the visual representation of at least one of the first UI area or the second UI area;
determining to undo the transaction based on a first user interaction; and
restoring the UI to the first UI state and the model to the first model state, wherein the states of the first UI area and the second UI area are restored independently of one another.
1 Assignment
0 Petitions
Accused Products
Abstract
A system restores a user interface (“UI”) state. The system receives an action performed by a user that interacts with a UI, and determines a transaction based on the action, where the transaction is configured to modify a model corresponding to the UI. The system stores a first UI state of the UI and a first model state of the model, and then commits the transaction. The system subsequently determines to undo the transaction based on a first user interaction. The system then restores the UI to the first UI state and the model to the first model state. In one embodiment, the first model state is restored before undoing the transaction, while the first UI state is restored after undoing the transaction.
-
Citations
20 Claims
-
1. A non-transitory computer readable medium having instructions stored thereon that, when executed by a processor, cause the processor to restore a user interface (UI) state, the restoring comprising:
-
receiving an action performed by a user that interacts with a UI, wherein the UI includes a first UI area that comprises a plurality of first UI components and a second UI area that comprises a plurality of second UI components, the UI simultaneously displaying the first UI area and the second UI area; determining a transaction based on the action, wherein the transaction is configured to modify a model corresponding to the UI and configured to change a visual representation of at least one of the first UI area or the second UI area, the change configured to not be recorded in the model of a model layer of a model-view-controller (MVC) architecture, wherein the UI comprises a view layer of the MVC architecture; before committing the transaction, storing a first UI state of the UI and a first model state of the model, wherein the first UI state comprises states of the first UI area and the second UI area that are stored independently of one another and comprises a state of the visual representation of each of the UI areas when rendered; committing the transaction to modify the model and to change the visual representation of at least one of the first UI area or the second UI area; determining to undo the transaction based on a first user interaction; and restoring the UI to the first UI state and the model to the first model state, wherein the states of the first UI area and the second UI area are restored independently of one another. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method of restoring a user interface (UI) state, the method comprising:
-
receiving an action performed by a user that interacts with a UI, wherein the UI includes a first UI area that comprises a plurality of first UI components and a second UI area that comprises a plurality of second UI components, the UI simultaneously displaying the first UI area and the second UI area; determining a transaction based on the action, wherein the transaction is configured to modify a model corresponding to the UI and configured to change a visual representation of at least one of the first UI area or the second UI area, the change configured to not be recorded in the model of a model layer of a model-view-controller (MVC) architecture, wherein the UI comprises a view layer of the MVC architecture; before committing the transaction, storing a first UI state of the UI and a first model state of the model, wherein the first UI state comprises states of the first UI area and the second UI area that are stored independently of one another and comprises a state of the visual representation of each of the UI areas when rendered; committing the transaction to modify the model and to change the visual representation of at least one of the first UI area or the second UI area; determining to undo the transaction based on a first user interaction; and restoring the UI to the first UI state and the model to the first model state, wherein the states of the first UI area and the second UI area are restored independently of one another. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19)
-
-
20. A system comprising:
-
a storage device that stores instructions; and a processor configured to execute the instructions, wherein the instructions, when executed by the processor, cause the processor to restore a user interface (UI) state, the restoring comprising; receiving an action performed by a user that interacts with a UI, wherein the UI includes a first UI area that comprises a plurality of first UI components and a second UI area that comprises a plurality of second UI components, the UI simultaneously displaying the first UI area and the second UI area; determining a transaction based on the action, wherein the transaction is configured to modify a model corresponding to the UI and configured to change a visual representation of at least one of the first UI area or the second UI area, the change configured to not be recorded in the model of a model layer of a model-view-controller (MVC) architecture, wherein the UI comprises a view layer of the MVC architecture; before committing the transaction, storing a first UI state of the UI and a first model state of the model, wherein the first UI state comprises states of the first UI area and the second UI area that are stored independently of one another and comprises a state of the visual representation of each of the UI areas when rendered; committing the transaction to modify the model and to change the visual representation of at least one of the first UI area or the second UI area; determining to undo the transaction based on a first user interaction; and restoring the UI to the first UI state and the model to the first model state, wherein the states of the first UI area and the second UI area are restored independently of one another.
-
Specification