Skip to content

Commit 55b2efb

Browse files
Publish demo v0.0.0.2.10 (promote 2-demo): live wallet (instant incoming + block-confirmation counters), per-asset Mint/Burn toggle, editable Exchange receive, minimalistic MAX + right-aligned inputs; homepage Download button -> v0.0.0.2.10
1 parent 182b796 commit 55b2efb

10 files changed

Lines changed: 1026 additions & 176 deletions

File tree

assets/site-download-version.js

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// Single source of truth for the public "Download" button on the website.
2+
//
3+
// PUBLISHED_DEMO_VERSION is the latest demo MiniDapp package that actually exists
4+
// in /dapp/latest-version/. Bump this ONE value when a new .mds.zip is published and
5+
// every element marked with data-demo-download updates its label and link automatically.
6+
//
7+
// Note: this tracks the DOWNLOADABLE (published) package, not the dev line in
8+
// dapp/2-demo/ (which may be ahead). Only bump after the new zip is in latest-version/.
9+
(function () {
10+
var PUBLISHED_DEMO_VERSION = '0.0.0.2.10';
11+
var ZIP_PATH = '/dapp/latest-version/Stables_v' + PUBLISHED_DEMO_VERSION + '.mds.zip';
12+
13+
function apply() {
14+
var nodes = document.querySelectorAll('[data-demo-download]');
15+
for (var i = 0; i < nodes.length; i++) {
16+
nodes[i].setAttribute('href', ZIP_PATH);
17+
nodes[i].textContent = 'Download v' + PUBLISHED_DEMO_VERSION;
18+
}
19+
}
20+
21+
if (document.readyState === 'loading') {
22+
document.addEventListener('DOMContentLoaded', apply);
23+
} else {
24+
apply();
25+
}
26+
})();

dapp/2-demo/CHANGELOG.md

Lines changed: 46 additions & 3 deletions
Large diffs are not rendered by default.

dapp/2-demo/assets/config/runtime-config.js

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,23 @@ window.STABLES_CONFIG = {
1212
/** Council channel for this package: drives top bar pill (Showcase / Demo / Test / Prod). */
1313
APP_STAGE: 'demo',
1414
/** Shipped build (keep in sync with dapp.conf "version" when you release). */
15-
APP_BUILD_VERSION: '0.0.0.1.0',
15+
APP_BUILD_VERSION: '0.0.0.2.0',
16+
/**
17+
* Dev build iteration for the current version line. Bump on EVERY change during testing so
18+
* each build is uniquely identifiable in the top-bar pill (e.g. v0.0.0.2.01, .02, …) and the
19+
* packaged zip name (Stables_v0.0.0.2.02.mds.zip). Reset to 1 when APP_BUILD_VERSION changes / published.
20+
*/
21+
APP_BUILD_ITERATION: 10,
1622
/** Date this build was published to GitHub (ISO YYYY-MM-DD). */
17-
APP_BUILD_DATE: '2026-06-01',
23+
APP_BUILD_DATE: '2026-06-09',
1824
/**
1925
* Council-side view of the newest MiniDapp. If latestPublishedVersion sorts above APP_BUILD_VERSION,
2026
* the Council communications page shows criticality + what changed + zip link.
2127
* To preview the update banner locally, temporarily set APP_BUILD_VERSION lower than latestPublishedVersion.
2228
* Use the same segment count as APP_BUILD_VERSION so semver-like compare is meaningful.
2329
*/
2430
APP_UPDATE_POLICY: {
25-
latestPublishedVersion: '0.0.0.1.0',
31+
latestPublishedVersion: '0.0.0.2.10',
2632
whenUpdateNeeded: {
2733
criticality: 'high',
2834
whatChanged:
@@ -58,7 +64,7 @@ window.STABLES_CONFIG = {
5864
FAUCET_WINIWA_COOLDOWN_MS: 3600000,
5965
FAUCET_WINIWA_LAST_CLAIM_STORAGE_KEY: 'stables_faucet_winiwa_last_claim_ts_v1',
6066
/** Public demo: direct MiniDapp package download. */
61-
MDS_ZIP_URL: 'https://raw.githubusercontent.com/StablesCouncil/stablescouncil.github.io/main/dapp/latest-version/Stables_v0.0.0.1.0.mds.zip',
67+
MDS_ZIP_URL: 'https://raw.githubusercontent.com/StablesCouncil/stablescouncil.github.io/main/dapp/latest-version/Stables_v0.0.0.2.10.mds.zip',
6268
/**
6369
* Stables Charter on GitHub (Markdown). Governing text for how the Council and community run the protocol.
6470
* Leave empty until the charter is actually published — an empty value shows the "coming soon" modal.

dapp/2-demo/assets/routes/activity-contacts.js

Lines changed: 362 additions & 5 deletions
Large diffs are not rendered by default.

dapp/2-demo/assets/routes/feedback.js

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,13 @@
4949
if (!primary) primary = 'https://agent.stablescouncil.org/api/feedback';
5050
var h = (window.location && window.location.hostname) || '';
5151
var isLocalHost = h === 'localhost' || h === '127.0.0.1' || h === '::1';
52-
if (isLocalHost && !c.FEEDBACK_SKIP_LOCAL_SUBMIT) {
52+
// When a Minima node is connected, the POST is sent via MDS.net.POST, which runs ON the
53+
// node — so a 127.0.0.1 URL would hit the node's own loopback (nothing listening there →
54+
// "Connection refused: getsockopt"). Only use the local ledger test server for genuine
55+
// local BROWSER dev with no node session.
56+
var mdsActive = typeof MDS !== 'undefined' && MDS && MDS.net &&
57+
typeof MDS.mainhost === 'string' && MDS.mainhost.length > 0;
58+
if (isLocalHost && !c.FEEDBACK_SKIP_LOCAL_SUBMIT && !mdsActive) {
5359
return 'http://127.0.0.1:8788/api/feedback';
5460
}
5561
return primary;
@@ -175,10 +181,10 @@
175181
'<img src="agent.png" alt="StablesAgent">' +
176182
'</button></div>' +
177183
'<div class="card app-section-card" style="padding:14px 16px;margin-bottom:14px">' +
178-
'<div style="font-size:12px;font-weight:900;color:var(--c);margin-bottom:8px;text-transform:uppercase;letter-spacing:.06em">Demo v1 of many</div>' +
179-
'<p class="sec-body" style="margin:0 0 12px;line-height:1.55;font-weight:800;color:var(--t)">This build is for coherence review: channel truth, native MINIMA wallet basics, Winiwa / Wables demo flows, merchant-first ramps, Coverage fund copy, links, and feedback routing.</p>' +
184+
'<div style="font-size:12px;font-weight:900;color:var(--c);margin-bottom:8px;text-transform:uppercase;letter-spacing:.06em">Demo v' + getAppBuild() + '</div>' +
185+
'<p class="sec-body" style="margin:0 0 12px;line-height:1.55;font-weight:800;color:var(--t)">This build adds a live native MINIMA wallet on a connected node: real send and receive, QR, instant incoming detection, auto-updating transaction history with a refresh control, and address tools (new receive address and "is this address mine"). Review that alongside channel truth, Winiwa / Wables demo flows, merchant-first ramps, Coverage fund copy, links, and feedback routing.</p>' +
180186
'<div style="display:grid;gap:8px">' +
181-
'<div class="fbet" style="padding:8px 10px;border-radius:10px"><span class="xs mu"><strong style="color:var(--t)">Now review</strong></span><span style="font-weight:800;color:var(--t)">Wallet, Mint, Coverage fund, On/Off Ramp, Settings</span></div>' +
187+
'<div class="fbet" style="padding:8px 10px;border-radius:10px"><span class="xs mu"><strong style="color:var(--t)">Now review</strong></span><span style="font-weight:800;color:var(--t)">Live MINIMA wallet, currencies and ranking, Mint, Coverage fund, On/Off Ramp, Settings</span></div>' +
182188
'<div class="fbet" style="padding:8px 10px;border-radius:10px"><span class="xs mu"><strong style="color:var(--am)">Coming soon</strong></span><span style="font-weight:800;color:var(--t)">App feedback topic, bug reports, roadmap votes</span></div>' +
183189
'<div class="fbet" style="padding:8px 10px;border-radius:10px"><span class="xs mu"><strong style="color:var(--t)">Next modules</strong></span><span style="font-weight:800;color:var(--t)">Personal themes, merchant validation, academy lessons, release notes</span></div>' +
184190
'</div>' +

dapp/2-demo/dapp.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "Stables",
3-
"version": "0.0.0.1.0",
3+
"version": "0.0.0.2.10",
44
"stage": "demo",
55
"headline": "By Stables on Minima",
6-
"description": "Demo channel: Minima for product plumbing; in-app balances remain local test UI while Winiwa, xWiniwa, and Wables move toward test assets.",
6+
"description": "Demo channel v0.0.0.2.10: Minima for product plumbing; in-app balances remain local test UI while Winiwa, xWiniwa, and Wables move toward test assets.",
77
"icon": "stables_icon.png",
88
"background": "#0b1020",
99
"category": "Finance",

0 commit comments

Comments
 (0)