Skip to content

Release v0.6.0 - Popup Architecture & Help Panel Upgrade

Choose a tag to compare

@TH3BAT TH3BAT released this 08 Dec 19:24
· 111 commits to main since this release

🚀 BlockChainInfo v0.6.0 – Popup Architecture & Help Panel Upgrade

This release marks one of the most important steps toward v1.0.0 —
the transition from a single hard-coded popup to a scalable, enum-driven popup system, plus the addition of a fully polished Help Panel accessible everywhere in the dashboard.

This brings BlockChainInfo into a more mature, unified, and future-proof architecture.


⭐ What's New

1. Popup System Refactor (Enum-Based)

  • Replaced the old show_popup: bool with a new PopupType enum.
  • Enables multiple popups (Tx Lookup, Help, future settings panels).
  • ESC now universally closes any popup.
  • Cleaner, modular, and significantly more maintainable.

Popup states now include:

  • None
  • TxLookup
  • Help
    (Future additions require zero refactoring.)

2. New Help Panel (? Key)

  • Open Help panel using ?, the universal TUI help key.
  • Displays global controls, section descriptions, and app structure.
  • Mirrors the Tx popup styling for a unified UI experience.
  • Clean, centered, color-consistent, and version-ready.

3. Unified Popup Styling

All popups now use a consistent theme:

  • Yellow border + title
  • Green informational text
  • Cyan for user input (Tx Lookup)

This brings the entire interface into a cohesive style, preparing for 1.0.0 polish.


4. Refined Input Handling

Tx Lookup input logic migrated cleanly to the enum system:

  • Character typing gated only when popup == TxLookup
  • Paste detection logic preserved
  • Backspace + Enter behavior identical and intact
  • ESC resets paste state and closes popups

Zero regressions.
Perfect isolation between popups.


🛠️ Improvements

  • Simplified event handling pathways
  • Reduced clutter in runapp.rs
  • Increased clarity in popup activation logic
  • Code is now easier to extend and reason about

This release lays the final architectural groundwork for future panels like:

  • Settings
  • Network Node Summary
  • Difficulty Epoch Info
  • About / Version Info

🔮 Next Steps Toward v1.0.0

  • Final pass on toggle consistency
  • Light code cleanup / minor refinements
  • Help panel content review
  • README update
  • Final polish before tagging v1.0.0

🧩 Version Bump

0.5.1 → 0.6.0

Rationale:

  • Adds new features (Help panel)
  • Introduces an architectural upgrade (enum popup system)
  • Does not introduce breaking changes
  • Significant step toward v1.0.0

🙌 Built for the community.

Powered by Bitcoin.