diff --git a/app/igneum-app/ui/app.js b/app/igneum-app/ui/app.js index af267599e..54a7eb82b 100644 --- a/app/igneum-app/ui/app.js +++ b/app/igneum-app/ui/app.js @@ -2696,7 +2696,7 @@ if (typeof document !== 'undefined') (function () { setHidden('shard-card', !sh); if (sh) { setText('sc-when', clock(sh.at)); setText('sc-title', 'Your card proved shard ' + sh.shard + ' of block ' + withCommas(sh.block) + '.'); setText('sc-line', View.fmtIgn(View.ign(sh.wei)) + ' paid for it \u00b7 ' + withCommas(pv.paid || 0) + ' shard' + (pv.paid === 1 ? '' : 's') + ' paid on this machine'); setText('sc-sub', '20 points of every block pay the provers, split by shard. A paid record is a chain fact: anyone can read it.'); $('sc-title').title = View.FIELDS.shards; $('sc-line').title = 'proving.paid_wei, proving.paid'; } if (document.activeElement !== $('s-prove')) $('s-prove').checked = enabled; - var pi = proveInsteadWords(pv, s.settings); + var pi = View.proveInsteadWords(pv, s.settings); $('pv-instead-row').hidden = !pi.show; if (pi.show) { $('pv-instead-help').textContent = pi.help; if (document.activeElement !== $('s-prove-instead')) $('s-prove-instead').checked = pi.on; } var w = View.proveWords(pv, enabled, s.node.synced); @@ -2721,6 +2721,7 @@ if (typeof document !== 'undefined') (function () { function renderSettings(s) { renderProvingSection(s); renderWallet(s); + renderNode(s); // the Node card's line and facts live here now (app-ia-26, 4.4 item 2) var st = s.settings || {}, sw = function (id, on) { if (document.activeElement !== $(id)) $(id).checked = !!on; }; sw('s-vote', st.vote); sw('s-login', st.start_at_login); sw('s-jobs-allow', s.jobs && s.jobs.allowed); sw('s-trust', st.proof_verify_trust); sw('s-power-control', st.power_control); sw('s-profile', st.profile_public); setText('s-profile-text', View.profileWords(!!st.profile_public)); @@ -3005,13 +3006,15 @@ if (typeof document !== 'undefined') (function () { uiReloadIfChanged(s); perf.render += performance.now() - a; perf.polls++; if (failures === 0 && $('pill').classList.contains('away')) { $('pill').classList.remove('away', 'warn'); } - }).catch(function () { + }).catch(function (e) { + // a render that throws is a bug in this window, never the engine's silence: say so in the console (app-ia-26) + if (e && e.stack && typeof console !== 'undefined') console.error('render failed: ' + e.stack); failures++; if (failures >= 4) { $('pill').classList.add('warn', 'away'); $('pill-text').textContent = state && state.quitting ? 'Stopped' : 'App not answering'; if (phase === 'dashboard') { - setText('node-line-text', 'Node: no answer'); setText('node-sub', 'the app is not answering. The window reconnects by itself'); $('node-card').classList.add('bad'); - setText('btn-toggle-sub', 'the app is not answering'); $('btn-toggle').disabled = true; + setText('node-line-text', 'Node: no answer'); $('node-go').title = 'the app is not answering. The window reconnects by itself'; $('node-go').classList.add('bad'); + $('btn-toggle').title = 'the app is not answering'; $('btn-toggle').disabled = true; setText('t-hash-sub', 'no answer from the app'); } } diff --git a/docs/design/app-screens/0.3.26/earnings-dark.png b/docs/design/app-screens/0.3.26/earnings-dark.png new file mode 100644 index 000000000..958b6296d Binary files /dev/null and b/docs/design/app-screens/0.3.26/earnings-dark.png differ diff --git a/docs/design/app-screens/0.3.26/earnings-job-dark.png b/docs/design/app-screens/0.3.26/earnings-job-dark.png new file mode 100644 index 000000000..4d6921b87 Binary files /dev/null and b/docs/design/app-screens/0.3.26/earnings-job-dark.png differ diff --git a/docs/design/app-screens/0.3.26/earnings-light.png b/docs/design/app-screens/0.3.26/earnings-light.png new file mode 100644 index 000000000..59708b52a Binary files /dev/null and b/docs/design/app-screens/0.3.26/earnings-light.png differ diff --git a/docs/design/app-screens/0.3.26/earnings-still-dark.png b/docs/design/app-screens/0.3.26/earnings-still-dark.png new file mode 100644 index 000000000..479f72f73 Binary files /dev/null and b/docs/design/app-screens/0.3.26/earnings-still-dark.png differ diff --git a/docs/design/app-screens/0.3.26/mine-dark.png b/docs/design/app-screens/0.3.26/mine-dark.png new file mode 100644 index 000000000..b88453896 Binary files /dev/null and b/docs/design/app-screens/0.3.26/mine-dark.png differ diff --git a/docs/design/app-screens/0.3.26/mine-first-minute-dark.png b/docs/design/app-screens/0.3.26/mine-first-minute-dark.png new file mode 100644 index 000000000..0a1af5445 Binary files /dev/null and b/docs/design/app-screens/0.3.26/mine-first-minute-dark.png differ diff --git a/docs/design/app-screens/0.3.26/mine-light.png b/docs/design/app-screens/0.3.26/mine-light.png new file mode 100644 index 000000000..b84b51466 Binary files /dev/null and b/docs/design/app-screens/0.3.26/mine-light.png differ diff --git a/docs/design/app-screens/0.3.26/mine-syncing-dark.png b/docs/design/app-screens/0.3.26/mine-syncing-dark.png new file mode 100644 index 000000000..6cf6f25d8 Binary files /dev/null and b/docs/design/app-screens/0.3.26/mine-syncing-dark.png differ diff --git a/docs/design/app-screens/0.3.26/settings-dark.png b/docs/design/app-screens/0.3.26/settings-dark.png new file mode 100644 index 000000000..924e4a352 Binary files /dev/null and b/docs/design/app-screens/0.3.26/settings-dark.png differ diff --git a/docs/design/app-screens/0.3.26/settings-light.png b/docs/design/app-screens/0.3.26/settings-light.png new file mode 100644 index 000000000..4c67ee4a6 Binary files /dev/null and b/docs/design/app-screens/0.3.26/settings-light.png differ diff --git a/docs/design/app-screens/0.3.26/tune-dark.png b/docs/design/app-screens/0.3.26/tune-dark.png new file mode 100644 index 000000000..d9a90946f Binary files /dev/null and b/docs/design/app-screens/0.3.26/tune-dark.png differ diff --git a/docs/design/app-screens/0.3.26/tune-first-minute-dark.png b/docs/design/app-screens/0.3.26/tune-first-minute-dark.png new file mode 100644 index 000000000..47d6c3cff Binary files /dev/null and b/docs/design/app-screens/0.3.26/tune-first-minute-dark.png differ diff --git a/docs/design/app-screens/0.3.26/tune-light.png b/docs/design/app-screens/0.3.26/tune-light.png new file mode 100644 index 000000000..c100aa9d5 Binary files /dev/null and b/docs/design/app-screens/0.3.26/tune-light.png differ diff --git a/docs/design/app-screens/0.3.26/tune-table-dark.png b/docs/design/app-screens/0.3.26/tune-table-dark.png new file mode 100644 index 000000000..7af80867b Binary files /dev/null and b/docs/design/app-screens/0.3.26/tune-table-dark.png differ