Skip to content

bugc-react: surface invoke/return/revert contexts in BytecodeView#195

Merged
gnidan merged 1 commit intocall-returnfrom
ui-context-display
Apr 1, 2026
Merged

bugc-react: surface invoke/return/revert contexts in BytecodeView#195
gnidan merged 1 commit intocall-returnfrom
ui-context-display

Conversation

@gnidan
Copy link
Copy Markdown
Member

@gnidan gnidan commented Apr 1, 2026

Summary

  • Add context-aware rendering for function call debug contexts in the bytecode disassembly view
  • Instructions with invoke/return/revert contexts show colored badges (arrow/return/x) and inline labels instead of the generic info icon
  • Colored left borders on context rows make call boundaries visually scannable
  • Tooltip shows structured summary header before raw JSON context
  • New classifyContext/summarizeContext utilities exported from bugc-react for reuse

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-04-01 20:57 UTC

Add context-aware rendering for function call debug contexts
in the bytecode disassembly view. Instructions with invoke,
return, or revert contexts now show colored badges and inline
labels instead of the generic info icon, with colored left
borders to make call boundaries visually scannable.

- Add classifyContext/summarizeContext utils for extracting
  human-readable info from debug context objects
- Replace generic info icon with arrow/return/x badges for
  invoke/return/revert instructions
- Show inline context labels (e.g. "invoke add", "return add")
- Add structured tooltip headers before raw JSON
- CSS for context badges, labels, and row highlighting
@gnidan gnidan force-pushed the ui-context-display branch from 0c7ffb9 to 7879c76 Compare April 1, 2026 20:45
@gnidan gnidan merged commit 38ea8d9 into call-return Apr 1, 2026
4 checks passed
@gnidan gnidan deleted the ui-context-display branch April 1, 2026 20:53
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.

1 participant