This repository was archived by the owner on Feb 12, 2026. It is now read-only.
feat:(basectl): More misc tui improvements#46
Merged
danyalprout merged 10 commits intomainfrom Feb 12, 2026
Merged
Conversation
Replace time-based RateTracker (total_blob_tracker, base_blob_tracker) with block-window-based functions that compute DA usage from the last N L1 blocks. Add continuous color gradient for L1 DA usage %: blue (0%) → yellow (100%) → red (150%). Convert render_l1_blocks_table to use TableState for scrollable rows. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
…nter and DA monitor Replace usize row tracking with TableState for all table panels, enabling proper scrolling beyond visible area. Add g/G vim bindings for jump to top/bottom. Clone TableState before render_stateful_widget to prevent ratatui from resetting selection on empty tables. Add toast notification on block copy. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Track the last processed L1 block number during websocket streaming. When a new block header arrives, fetch and process any missed blocks between the last processed block and the current one before handling the current block. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Show an info toast when a block number is copied to clipboard via the y keybinding. Add ToastState::push() to allow views to create toasts directly without needing a channel sender. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
…helpers Extract magic numbers into named constants (TARGET_USAGE_MAX, FLASHBLOCK_TARGET_MS, FLASHBLOCK_TOLERANCE_MS). Replace backlog_size_color if-else chain with threshold table lookup. Add lerp_rgb helper for gradient interpolation. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Collaborator
✅ Heimdall Review Status
|
8fb8d37 to
9535e93
Compare
… color grading Add top-level gas usage bar showing cumulative gas across last 30 L2 blocks with piecewise scaling, per-block coloring, and target percentage readout. Per-row gas bars use sub-character precision with left-aligned target marker and progressive warm-to-hot gradient beyond target. Block numbers in flashblocks views use a 24-color rotating palette with bold/bright for index-0 entries.
Reorder stats panel: Flash/Missed/Up-Down on line 1, DA/L1/Base/Last on line 2. Fix needless_pass_by_ref_mut warnings by changing table_state parameters to shared references. Hoist inner use imports to top-level in command_center.
refcell
previously approved these changes
Feb 12, 2026
mw2000
pushed a commit
that referenced
this pull request
Feb 12, 2026
* spike * use tips-core * comments + add meterbundleres to bundlewmetadata * make meter_response not optional * make it a fn not default
mw2000
approved these changes
Feb 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.