Skip to content

feat(workspace): expand rich cell inspector modal with XML/HTML formatting, hex viewer, and shortcut support - #665

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/663-rich-cell-inspector-modal
Aug 30, 2026
Merged

feat(workspace): expand rich cell inspector modal with XML/HTML formatting, hex viewer, and shortcut support#665
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/663-rich-cell-inspector-modal

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Description

Resolves #663 by expanding the showGridCellInspectorDialog modal with rich inspection and editing capabilities:

  1. Formatters:

    • XML/HTML Formatting: Automatically detects XML/HTML markup and adds a Format XML button that uses XmlHtmlFormatter.
    • Hex BLOB Formatting: Automatically detects hex/binary data and provides a Format Hex button formatting pairs of bytes with clean spacing.
    • JSON Formatting & Minification: Retained with live updates.
  2. Word Wrap & Statistics Bar:

    • Added Wrap / No Wrap toggle button allowing horizontal panning of long lines.
    • Added real-time text statistics bar displaying line count, character count, and UTF-8 byte size.
  3. Keyboard Shortcuts:

    • Ctrl+Enter / Meta+Enter (or NumpadEnter): Apply and close dialog.
    • Alt+N: Set value to NULL.
    • Added Ctrl+I / Meta+I shortcut binding in VirtualResultGrid to open inspector dialog on currently focused cell.
  4. Testing:

    • Added widget tests in test/features/workspace/grid_cell_editor_test.dart covering XML formatting, Hex formatting, wrap toggle, and shortcut execution.
    • 0 analyze errors/warnings.

Closes #663

…tting, hex viewer, and shortcut support

- Add Format XML/HTML, Format Hex, and Wrap/No-Wrap buttons to GridCellInspectorDialog
- Add real-time text statistics bar (lines, characters, byte size)
- Support keyboard shortcuts in inspector (Ctrl+Enter / Meta+Enter to apply, Alt+N for NULL)
- Add Ctrl+I / Meta+I shortcut in VirtualResultGrid to inspect active cell
- Add widget tests for XML, Hex formatting, wrap toggles, and shortcut handling

Closes #663
@github-actions github-actions Bot added enhancement New feature or request editor Code/SQL editor frontend Theme parser epic label: frontend labels Aug 30, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit c5daddc into dev Aug 30, 2026
4 checks passed
This was referenced Aug 30, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the issue/663-rich-cell-inspector-modal branch August 30, 2026 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

editor Code/SQL editor enhancement New feature or request frontend Theme parser epic label: frontend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant