Motivation & Problem
In lib/features/workspace/grid_cell_popover_inspector.dart, the modal cell inspector dialog only supports JSON formatting and minification:
- XML and HTML payloads cannot be formatted (despite
XmlHtmlFormatter existing in the workspace).
- Binary and BLOB hex payloads cannot be formatted or inspected in byte chunks.
- There is no status bar showing text metrics (line count, character count, byte size).
- Pressing
Ctrl+Enter / Meta+Enter does not save and close the dialog.
Proposed Solution
- In
_GridCellInspectorDialog (lib/features/workspace/grid_cell_popover_inspector.dart):
- Integrate
XmlHtmlFormatter with a "Format XML/HTML" action when the content contains XML/HTML tags.
- Add Hex/BLOB formatting action for binary hex data.
- Add a bottom status bar displaying line count, character count, and UTF-8 byte size.
- Add
Ctrl+Enter / Meta+Enter keyboard shortcut to commit changes and close.
- Add widget tests for XML formatting, hex inspection, status indicators, and keyboard shortcuts in the inspector dialog.
Acceptance Criteria
Motivation & Problem
In
lib/features/workspace/grid_cell_popover_inspector.dart, the modal cell inspector dialog only supports JSON formatting and minification:XmlHtmlFormatterexisting in the workspace).Ctrl+Enter/Meta+Enterdoes not save and close the dialog.Proposed Solution
_GridCellInspectorDialog(lib/features/workspace/grid_cell_popover_inspector.dart):XmlHtmlFormatterwith a "Format XML/HTML" action when the content contains XML/HTML tags.Ctrl+Enter/Meta+Enterkeyboard shortcut to commit changes and close.Acceptance Criteria