v1.1.0: explorer tab, bootstrap fixes, full theme overlay merge
Explorer tab:
- New block explorer tab with search, chain stats, mempool info,
recent blocks table, block detail modal with tx expansion
- Sidebar nav entry, i18n strings, ui.toml layout values
Bootstrap fixes:
- Move wizard Done handler into render() — was dead code, preventing
startEmbeddedDaemon() and tryConnect() from firing post-wizard
- Stop deleting BDB database/ dir during cleanup — caused LSN mismatch
that salvaged wallet.dat into wallet.{timestamp}.bak
- Add banlist.dat, db.log, .lock to cleanup file list
- Fatal extraction failure for blocks/ and chainstate/ files
- Verification progress: split SHA-256 (0-50%) and MD5 (50-100%)
Theme system:
- Expand overlay merge to apply ALL sections (tabs, dialogs, components,
screens, flat sections), not just theme+backdrop+effects
- Add screens and security section parsing to UISchema
- Build-time theme expansion via expand_themes.py (CMake + build.sh)
Other:
- Version bump to 1.1.0
- WalletState::clear() resets all fields (sync, daemon info, etc.)
- Sidebar item-height 42 → 36
This commit is contained in:
6
build.sh
6
build.sh
@@ -553,9 +553,13 @@ HDR
|
||||
echo "};" >> "$GEN/embedded_data.h"
|
||||
|
||||
# ── Overlay themes ───────────────────────────────────────────────
|
||||
# Expand skin files with layout sections from ui.toml before embedding
|
||||
echo -e "\n// ---- Bundled overlay themes ----" >> "$GEN/embedded_data.h"
|
||||
local THEME_STAGE_DIR="$bd/_expanded_themes"
|
||||
mkdir -p "$THEME_STAGE_DIR"
|
||||
python3 "$SCRIPT_DIR/scripts/expand_themes.py" "$SCRIPT_DIR/res/themes" "$THEME_STAGE_DIR"
|
||||
local THEME_TABLE="" THEME_COUNT=0
|
||||
for tf in "$SCRIPT_DIR/res/themes"/*.toml; do
|
||||
for tf in "$THEME_STAGE_DIR"/*.toml; do
|
||||
local tbn=$(basename "$tf")
|
||||
[[ "$tbn" == "ui.toml" ]] && continue
|
||||
local tsym=$(echo "$tbn" | sed 's/[^a-zA-Z0-9]/_/g')
|
||||
|
||||
Reference in New Issue
Block a user