Skip to main content

Undo Changes

Press ++ctrl+z++ (Windows/Linux) or ++cmd+z++ (macOS) to undo the most recent change. Each undo action reverts one operation:
  • Cell edits: Restores the original cell value
  • Row additions: Removes the newly added row
  • Row deletions: Restores the deleted row (with limitations)
  • Paste operations: Reverts all cells modified in a single paste action
  • Cascading updates: Reverts dependent column changes automatically
You can undo up to 50 previous actions. Press ++ctrl+z++ repeatedly to step backward through your change history.

Redo Changes

Press ++ctrl+y++ (Windows/Linux) or ++cmd+shift+z++ (macOS) to reapply an undone change. Redo restores the exact state that was undone, including:
  • Cell values and formatting
  • Row positions and heights
  • Linked item relationships
  • Dependent column cascades

Undo Stack Behavior

[Action History - Maximum 50 Items]
  1. Edit cell A1 (severity: High)
  2. Add new row
  3. Paste 5 cells ←---- Current position
  4. Edit cell B2
  5. Delete row 3 ↑ Undo moves up this stack Redo moves down this stack
You cannot undo deletion of newly created rows that have not been saved to Polarion. Unsaved items are identified by temporary IDs containing asterisks (e.g., *NEW-123). If you attempt to undo deletion of an unsaved item, you’ll see the warning: “It is not possible to Undo deletion of unsaved items.”

Cascading Changes and Undo

When you edit a parent enumeration field that triggers cascading updates to dependent child fields, the entire chain is treated as a single undo action. Example: Changing a Risk Category field that automatically updates Risk Type fields:
  1. Edit Risk Category from “Safety” to “Security”
  2. System automatically updates Risk Type to valid options for “Security”
  3. Press ++ctrl+z++
  4. Both Risk Category and Risk Type revert to original values
This ensures undo operations feel natural and maintain data consistency.
When you edit multiple selected rows simultaneously, all changes are bundled as a single undo action. Pressing ++ctrl+z++ once will revert changes across all selected rows.

Dependent Column Restoration

Undo automatically handles complex column relationships:
Column TypeUndo Behavior
itemLinkRestores linked work item references
multiItemLinkRestores all linked items in the set
taskLinkRestores task relationships
multiEnumConverts stored IDs back to visible values
Dependent enumsRestores parent-child relationship state

Automatic View Positioning

After undo or redo, Nextedy RISKSHEET automatically scrolls the grid to show the affected row, maintaining your working context. For row additions undone at the top of the sheet, the view scrolls to the first remaining row.

Limitations

Undo and redo only work on local changes that have not been saved to Polarion. Once you click 💾 Save, the undo stack is cleared and you cannot undo saved changes.
Other limitations:
  • Undo history is limited to 50 actions
  • Older actions beyond the 50-item limit are automatically discarded
  • Merged cells (common in itemLink columns) apply undo to all rows in the merged range
  • Redo history is cleared when you make a new edit after undoing

Verification

After using undo:
  1. Check that the affected cells display their previous values
  2. Verify the grid scrolled to show the modified row
  3. For cascading changes, confirm dependent columns also reverted
After using redo:
  1. Verify cells show the reapplied values
  2. Check that relationships and dependencies are restored

See Also

Source Code
  • RedoCommand.ts
  • RelationActionController.ts
  • UndoCommand.ts
  • GridUndoStack.ts
  • RemoveTaskCommand.ts