Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

Skill price loading state on agent detail page

nirholas8e63780bcfaf
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4bc408573..eb7d81ac6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -30,6 +30,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **Play loads reliably in private windows and embeds, and explains itself if 3D can't start** — Two ways Play could fail silently are fixed. First: if your browser couldn't start 3D graphics — hardware acceleration switched off, an older device, or some in-app browsers — Play used to sit on the loading screen forever with no explanation. It now shows a clear recovery card that tells you what happened and how to fix it, with a one-tap “Try again”. Second: opening Play in a private/incognito window, or where it's embedded inside another page, could stop it loading at all because the browser blocks saved settings there. Play now treats blocked storage gracefully — it falls back to a default name and avatar and loads normally instead of breaking. `[fix]`
- **Pole Club avatar swaps now actually stick** — On the Pole Club stage, tapping “Change avatar” and picking a new look sometimes did nothing — the dancer quietly snapped back to the default. Two fixes: a pick made right after the room loads is no longer overwritten by the room's own startup, and any avatar whose rig can't be animated is now clearly flagged “can’t dance” and skipped — the dancer keeps her current look and a message says why, instead of silently failing. Picks that work apply instantly and stay put. (`/club`) `[fix]`
- **See every skill you've bought and sold in one Transactions tab** — The dashboard now has a Transactions page that lays out your full payment history in one place: every skill you've purchased from other agents and every sale your own agents have made, newest first. Each row shows the date, whether it was a purchase or a sale, the skill and agent involved, the USDC amount (sellers see their take-home net of the platform fee), and a link straight to the transaction on Solscan or Basescan. Filter by purchases or sales, and download the whole thing as a CSV for your records or taxes. (`/dashboard/transactions`) `[feature]`
+- **Skill prices fade in smoothly on agent pages** — Opening an agent from the marketplace now shows its page instantly, and any skill that charges per call displays a gently pulsing placeholder while we confirm the exact price — instead of briefly flashing "Free" and then snapping to a dollar amount. The real price, Purchase button, and any free-trial or time-pass options slot in the moment they load. Agents with no paid skills still render their prices immediately with no flicker. (`/marketplace`) `[improvement]`
- **Steadier token prices and 3D generation when a provider is busy** — Live bonding-curve prices, market caps, and trade quotes now stay accurate even when a Solana data provider hits its rate limit: the platform transparently rotates to a healthy provider and parks the busy one, instead of repeatedly retrying a maxed-out endpoint and showing stale numbers. The free text-to-3D forge also rides out a cold or briefly-unavailable generation node by retrying once before falling back, so a momentary upstream hiccup no longer turns into a failed generation. `[fix, infra]`
- **Subscribe to an agent in one click — pay once, unlock every paid skill** — Agent pages now show the creator's subscription tiers right under skills & pricing, each with a Subscribe button. Pick a tier, confirm the price and billing cycle in the checkout, and approve a single USDC payment in your wallet — the platform covers the network fee, so you don't need any SOL. Once the payment confirms on-chain your subscription goes live instantly and unlocks all of that agent's paid skills for the period; the page marks tiers you're already on so you never pay twice. Built on the same verified on-chain settlement as one-off skill purchases. (`/marketplace`) `[feature]`
- **The $THREE page now shows a live price chart** — $THREE graduated long ago, so the token page no longer has a bonding curve to climb — but the page still showed a “No active bonding curve” placeholder where the chart should be. That dead space is now a real, live price chart: an area chart with a volume panel underneath, pulling actual trade history (Birdeye with a GeckoTerminal fallback) and refreshing every 30 seconds. Switch between 5m, 15m, 1H, 4H, and 1D timeframes, and read the price and percentage move over the window you're viewing — green when it's up, red when it's down. Buy $THREE and the live trade tape sit right alongside it, unchanged. (`/three-token`) `[improvement]`
diff --git a/data/changelog.json b/data/changelog.json
index ea30494d6..ebdf3ea43 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -1,6 +1,15 @@
{
"$comment": "Curated changelog entries for three.ws \u2014 the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security. `link` is optional and must be a live three.ws path.",
"entries": [
+ {
+ "date": "2026-06-18",
+ "title": "Skill prices fade in smoothly on agent pages",
+ "summary": "Opening an agent from the marketplace now shows its page instantly, and any skill that charges per call displays a gently pulsing placeholder while we confirm the exact price — instead of briefly flashing \"Free\" and then snapping to a dollar amount. The real price, Purchase button, and any free-trial or time-pass options slot in the moment they load. Agents with no paid skills still render their prices immediately with no flicker.",
+ "tags": [
+ "improvement"
+ ],
+ "link": "/marketplace"
+ },
{
"date": "2026-06-18",
"title": "Gift a skill to anyone — pay once, they get the access",
diff --git a/public/changelog.json b/public/changelog.json
index 6eb125fa7..618a51bea 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-18T08:58:12.479Z",
+ "generated_at": "2026-06-18T09:08:58.430Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
@@ -257,6 +257,16 @@
"feature"
]
},
+ {
+ "date": "2026-06-18",
+ "type": "update",
+ "title": "Skill prices fade in smoothly on agent pages",
+ "summary": "Opening an agent from the marketplace now shows its page instantly, and any skill that charges per call displays a gently pulsing placeholder while we confirm the exact price — instead of briefly flashing \"Free\" and then snapping to a dollar amount. The real price, Purchase button, and any free-trial or time-pass options slot in the moment they load. Agents with no paid skills still render their prices immediately with no flicker.",
+ "link": "/marketplace",
+ "tags": [
+ "improvement"
+ ]
+ },
{
"date": "2026-06-18",
"type": "update",
diff --git a/public/changelog.xml b/public/changelog.xml
index db6704e27..56d61ca09 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -198,6 +198,14 @@
<category>feature</category>
<description>The dashboard now has a Transactions page that lays out your full payment history in one place: every skill you've purchased from other agents and every sale your own agents have made, newest first. Each row shows the date, whether it was a purchase or a sale, the skill and agent involved, the USDC amount (sellers see their take-home net of the platform fee), and a link straight to the transaction on Solscan or Basescan. Filter by purchases or sales, and download the whole thing as a CSV for your records or taxes.</description>
</item>
+ <item>
+ <title>Skill prices fade in smoothly on agent pages</title>
+ <link>https://three.ws/marketplace</link>
+ <guid isPermaLink="false">2026-06-18:Skill prices fade in smoothly on agent pages</guid>
+ <pubDate>Thu, 18 Jun 2026 12:00:00 GMT</pubDate>
+ <category>improvement</category>
+ <description>Opening an agent from the marketplace now shows its page instantly, and any skill that charges per call displays a gently pulsing placeholder while we confirm the exact price — instead of briefly flashing &quot;Free&quot; and then snapping to a dollar amount. The real price, Purchase button, and any free-trial or time-pass options slot in the moment they load. Agents with no paid skills still render their prices immediately with no flicker.</description>
+ </item>
<item>
<title>Steadier token prices and 3D generation when a provider is busy</title>
<link>https://three.ws/changelog</link>
diff --git a/tasks/monetization-feature/05-frontend-handle-price-loading-states.md b/tasks/monetization-feature/05-frontend-handle-price-loading-states.md
deleted file mode 100644
index 6d6c90263..000000000
--- a/tasks/monetization-feature/05-frontend-handle-price-loading-states.md
+++ /dev/null
@@ -1,93 +0,0 @@
----
-status: not-started
----
-
-# Prompt 5: Frontend - Handle Price Loading States
-
-## Objective
-Improve the user experience on the agent detail page by showing a loading state while skill prices are being fetched.
-
-## Explanation
-The skill prices are fetched from the database and may not be available at the exact moment the agent details are first rendered. To prevent a jarring UI update where prices suddenly appear, we should display a placeholder or loading indicator. This provides a smoother experience and gives users feedback that content is being loaded.
-
-## Instructions
-1. **Modify the API Response:**
- * Ensure the `/api/marketplace/agents/:id` endpoint returns the agent data immediately, even if the `skill_prices` query is still running. The `skill_prices` field can be initially `null` or an empty object.
-
-2. **Update the Frontend Rendering Logic:**
- * In `src/marketplace.js` within the `renderDetail` function, add a check for the `skill_prices` field.
- * If `skill_prices` is not yet present, render a loading state for the skill badges.
- * Once the full agent data with prices is fetched, re-render the skill list with the correct prices. This can be achieved by calling `renderDetail` again or by having a dedicated function to update just the skill badges.
-
-## Code Example (UI Loading State in `src/marketplace.js`)
-
-```javascript
-// A simple loading badge component/function
-function LoadingBadge() {
- return `<span class="price-badge price-loading">...</span>`;
-}
-
-function renderSkills(skillsArr, skillPrices) {
- const skillsEl = $('d-skills');
- if (!skillsEl) return;
-
- // Check for null to indicate loading, vs. {} for an agent with no priced skills
- const isLoading = skillPrices === null;
-
- skillsEl.innerHTML = skillsArr.length
- ? skillsArr.map((s) => {
- const name = typeof s === 'string' ? s : (s.name || '');
- const price = isLoading ? null : (skillPrices || {})[name];
- const badge = isLoading ? LoadingBadge() : PriceBadge(price);
- return `<span class="skill-entry">${escapeHtml(name)}${badge}</span>`;
- }).join(' ')
- : '<div>This Agent has no skills defined.</div>';
-}
-
-// In the main part of renderDetail
-async function renderDetail(id) {
- // ...
- // Initial render with loading state
- renderSkills(agent.skills, null);
-
- // Fetch full data
- const agentWithPrices = await fetchAgentWithPrices(id); // Your data fetching logic
- // Re-render with prices
- renderSkills(agentWithPrices.skills, agentWithPrices.skill_prices);
-}
-```
-
-### CSS for Loading State
-
-Add to `/public/marketplace.css`:
-
-```css
-.price-loading {
- color: #9ca3af;
- background-color: #374151;
- animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
-}
-
-@keyframes pulse {
- 0%, 100% {
- opacity: 1;
- }
- 50% {
- opacity: .5;
- }
-}
-```
-
-<!-- AUTO:self-delete-on-complete -->
-
----
-
-## ✅ On completion — delete this file
-
-This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
-
-```bash
-git rm "tasks/monetization-feature/05-frontend-handle-price-loading-states.md"
-```
-
-Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.