sirius/i18n
Local Dev 8ee9fc1a63 fix(studio): open the page the name actually serves, not an empty folder
Sirius Studio only looked in its own folder, bns/<name>/. Every site
published the conventional way lives at bns/<label>/ (the s3 record),
or inline in the h record, so the editor opened those names as "new
site" with a template picker instead of the current build.

The gateway's site read gains a read-only ?src=live view that follows
the on-chain record: list and fetch from whatever bucket s3 points at,
or serve the h HTML as index.html. Writes are unchanged and still
confined to bns/<name>/.

The editor now starts from the live page when there is no draft:
relative image and link URLs are resolved against the public site URL,
stylesheets are inlined (cross-origin ones such as font CDNs are kept
as links and re-emitted on export), scripts dropped. When a draft
exists but the name serves something else, or index.html on Sia is
newer than the draft, a notice says so with a one-click import. An
"Import live site" button is always available. Verified with
aloevera.test, which is hosted at bns/aloevera/.
2026-09-20 01:22:21 +02:00
..
de.json fix(studio): open the page the name actually serves, not an empty folder 2026-09-20 01:22:21 +02:00
el.json fix(studio): open the page the name actually serves, not an empty folder 2026-09-20 01:22:21 +02:00
es.json fix(studio): open the page the name actually serves, not an empty folder 2026-09-20 01:22:21 +02:00
fr.json fix(studio): open the page the name actually serves, not an empty folder 2026-09-20 01:22:21 +02:00
pt.json fix(studio): open the page the name actually serves, not an empty folder 2026-09-20 01:22:21 +02:00
ru.json fix(studio): open the page the name actually serves, not an empty folder 2026-09-20 01:22:21 +02:00