Window Creation
This documentation outlines the process for creating and managing windows using a canvas-based interface. It includes steps for opening a new canvas, saving new windows, updating existing windows, and handling cancellation.
Opening a New Canvas for a New Window
Users can open a new canvas to create a new window.
Example:
Given a user named "John Doe" is on the window management page:
- Action: John Doe clicks on the "Add Window" button.
- Result: A new canvas opens for creating a new window, which is empty and ready for adding fields and configurations.
Opening the Canvas for an Existing Window
Users can open the canvas to view or modify an existing window.
Example:
Given a user named "John Doe" and the system has an existing window named "Employee Details":
- Action: John Doe selects "Employee Details" from the list of windows.
- Result: The canvas for "Employee Details" opens, displaying the existing fields and configurations of the window.
Saving a New Window from the Canvas
Users can save a new window after adding fields and configurations.
Example:
Given a user named "John Doe" has opened a new canvas for creating a window and has added fields "employee_id," "name," and "department":
- Action: John Doe clicks the "Save Window" button.
- Result: The new window is saved with the fields "employee_id," "name," and "department," and the window is listed in the list of windows.
Updating an Existing Window from the Canvas
Users can update an existing window by adding new fields or modifying existing ones.
Example:
Given a user named "John Doe" and the system has an existing window named "Project Details," and John Doe has opened the canvas for "Project Details":
- Action: John Doe adds a new field "project_manager" to the window and clicks the "Save Window" button.
- Result: The "Project Details" window is updated with the new field "project_manager," and the updated window is reflected in the list of windows.
Cancelling the Creation of a New Window
Users can cancel the creation of a new window and return to the window management page without saving changes.
Example:
Given a user named "John Doe" has opened a new canvas for creating a window:
- Action: John Doe clicks the "Cancel" button.
- Result: The new canvas closes without saving any changes, and the user is returned to the window management page.