Merge branch 'dev'

This commit is contained in:
Jeff Emmett 2026-03-12 18:48:30 -07:00
commit 746e4a8b59
6 changed files with 7 additions and 7 deletions

View File

@ -946,7 +946,7 @@ class FolkCartShop extends HTMLElement {
if (this.space === 'demo') {
const demoId = `demo-gb-${Date.now()}`;
const host = window.location.host;
const shareUrl = `https://${host}/demo/rcart/buy/${demoId}`;
const shareUrl = `https://${host}/rcart/buy/${demoId}`;
try { await navigator.clipboard.writeText(shareUrl); } catch {}
alert(`Group buy created! Link copied.\nView all group buys in the Group Buys tab.`);
this._history.push(this.view);

View File

@ -118,7 +118,7 @@ export function renderLanding(): string {
<li><strong>Print-ready</strong> &mdash; download and fold, or send straight to rPubs for binding</li>
</ul>
<div style="display:flex;flex-wrap:wrap;gap:0.5rem;margin-top:1.25rem">
<a href="/demo/rpubs/zine" style="display:inline-flex;align-items:center;gap:0.4rem;padding:0.5rem 1rem;border-radius:0.5rem;background:linear-gradient(135deg,#f59e0b,#ef4444);color:white;font-size:0.75rem;font-weight:500;text-decoration:none">
<a href="https://demo.rspace.online/rpubs/zine" style="display:inline-flex;align-items:center;gap:0.4rem;padding:0.5rem 1rem;border-radius:0.5rem;background:linear-gradient(135deg,#f59e0b,#ef4444);color:white;font-size:0.75rem;font-weight:500;text-decoration:none">
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2v20M2 12h20"/></svg>
Generate a Zine
</a>

View File

@ -26,7 +26,7 @@ export function renderLanding(): string {
</a>
<a href="#" class="rl-cta-primary" id="ml-automations"
style="background:linear-gradient(to right,#8b5cf6,#6366f1);color:#fff"
onclick="document.querySelector('.rl-hero').closest('[data-space]')?.getAttribute('data-space') ? window.location.href='/' + document.querySelector('.rl-hero').closest('[data-space]').getAttribute('data-space') + '/rschedule/reminders' : window.location.href='/demo/rschedule/reminders'; return false;">
onclick="document.querySelector('.rl-hero').closest('[data-space]')?.getAttribute('data-space') ? window.location.href='/' + document.querySelector('.rl-hero').closest('[data-space]').getAttribute('data-space') + '/rschedule/reminders' : window.location.href='https://demo.rspace.online/rschedule/reminders'; return false;">
Automation Canvas
</a>
<a href="#features" class="rl-cta-secondary">Learn More</a>

View File

@ -434,7 +434,7 @@ async function executeBacklogBriefing(
<tbody>${taskRows}</tbody>
</table>
<p style="color:#475569;font-size:11px;margin:24px 0 0;text-align:center">
Sent by rSchedule &bull; <a href="https://rspace.online/demo/rschedule" style="color:#f59e0b">Manage Schedules</a>
Sent by rSchedule &bull; <a href="https://demo.rspace.online/rschedule" style="color:#f59e0b">Manage Schedules</a>
</p>
</div>
`;

View File

@ -289,7 +289,7 @@ class FolkSwagDesigner extends HTMLElement {
},
pricing: { creator_share: "35%", community_share: "15%", provider_share: "50%" },
next_actions: [
{ action: "ingest_to_rcart", label: "Send to rCart", url: "/demo/rcart?tab=catalog" },
{ action: "ingest_to_rcart", label: "Send to rCart", url: "/rcart?tab=catalog" },
{ action: "edit_design", label: "Edit Design" },
{ action: "save_to_rfiles", label: "Save to rFiles" },
],
@ -537,7 +537,7 @@ class FolkSwagDesigner extends HTMLElement {
<div class="pipe-node done"><div class="pipe-icon"><svg viewBox="0 0 20 20" width="24" height="24"><rect x="3" y="5" width="14" height="10" rx="2" fill="none" stroke="#818cf8" stroke-width="1.5"/><path d="M3,8 L10,12 L17,8" fill="none" stroke="#818cf8" stroke-width="1.5"/></svg></div><div class="pipe-label">Local Print</div><span class="pipe-check">&#10003;</span></div>
</div>
<div class="pipeline-actions">
<a class="btn btn-primary" href="/demo/rcart?tab=catalog">Send to rCart</a>
<a class="btn btn-primary" href="/rcart?tab=catalog">Send to rCart</a>
<button class="btn btn-secondary json-toggle-btn">View Artifact JSON</button>
</div>
<pre class="json-pre">${this.esc(JSON.stringify(this.artifact, null, 2))}</pre>

View File

@ -703,7 +703,7 @@ export class RStackSpaceSwitcher extends HTMLElement {
overlay.remove();
// Redirect to demo space
window.location.href = "/demo/canvas";
window.location.href = rspaceNavUrl("demo", "rspace");
} catch (err: any) {
statusEl.textContent = err.message || "Failed to delete";
statusEl.className = "status error";