Skip to content

Conversation

@Ayiga
Copy link
Member

@Ayiga Ayiga commented Oct 3, 2025

This PR:

Updates the HexDump component to have separate elements for the byte offsets and the byte contents themselves. This is useful for text selection.

Additionally, the byte offset track is colored separately to allow for easier distinction.

@github-actions
Copy link

github-actions bot commented Oct 6, 2025

Coverage Report for Espresso Block Explorer Components (./packages/espresso-block-explorer-components/)

Status Category Percentage Covered / Total
🔵 Lines 82.78% 7409 / 8950
🔵 Statements 82.76% 7494 / 9055
🔵 Functions 80.04% 1965 / 2455
🔵 Branches 67.09% 1735 / 2586
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/espresso-block-explorer-components/src/components/page_sections/hex_dump/HexDump.tsx 100% 100% 100% 100%
Generated in workflow #502 for commit 14a36d5 by the Vitest Coverage Report Action

Ayiga added 2 commits October 24, 2025 11:38
The entire hex dump area is selectable and copyable without being
able to easily distinguish between the byte offset section, and the
byte contents themselves.  It could help to be able to select these
fields independently, as it's likely unnecessary to grab the byte
offset when attempting to copy or read data.

This change splits the byte offsets from the byte contents
themselves, and adds a separate coloring track for the byte
offsets.
@Ayiga Ayiga force-pushed the ts/enh/hex-dump-styling branch from 9eb301e to 14a36d5 Compare October 24, 2025 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants