Skip to content

MoveBuilder and Playground pages are unreachable from navigation and non-functional mockups #293

Description

@Kingvic300

Description

frontend/src/features/MoveBuilder.tsx and frontend/src/features/Playground.tsx are routed feature tabs (case 'move' / case 'playground' in frontend/src/app/workspace/page.tsx:62-65, and both are part of the FeatureId union in frontend/src/types/index.ts:29), but:

  1. Unreachable: grep -rn "openTab(" frontend/src shows no call anywhere passes 'move' or 'playground' as the tab type — not in the Sidebar, CommandPalette, Dashboard's Quick Launch tiles, or any marketing-page CTA. There is no way for a user to open these tabs through the UI.
  2. Non-functional even if opened: Both components are entirely hardcoded demo content with dead buttons.
    • MoveBuilder.tsx:78-82: "Save" and "Deploy to Devnet" buttons have no onClick; the "Contract Name" input is readOnly with a hardcoded value "AssetBridge"; the displayed contract (initialize_market, mint_collection_token) is static JSX, not derived from any real editor state.
    • Playground.tsx:53,56: "Execute Snippet" and refresh buttons have no onClick; the "Active Script" code block, TPS (297,102), and Gas Meter (0.00042) are hardcoded strings, not live data; the "Snippet Library" items have no click handlers to load them.

Verified

// MoveBuilder.tsx
<button className="flex items-center gap-2 px-4 py-1.5 rounded-lg bg-white/5 hover:bg-white/10 text-xs font-bold transition-all">
    <Save size={14} /> Save
</button>
<button className="... bg-electric-violet ...">
    <Play size={14} /> Deploy to Devnet
</button>
// Playground.tsx
<button className="flex items-center gap-2 px-6 py-1.5 rounded-xl bg-electric-violet text-white text-[10px] font-black uppercase tracking-widest shadow-lg shadow-electric-violet/20 hover:bg-soft-purple transition-all">
    <Play size={14} /> Execute Snippet
</button>

Suggested fix

Either finish and expose these features (add a nav entry point, wire Save/Deploy/Execute to real state and backend calls) or remove them from the FeatureId union and the workspace/page.tsx switch until ready, to avoid shipping dead code.

Timeframe

Claim window: 96 hours. If this issue is claimed/assigned, please submit a fix within 96 hours of assignment — after that window it may be released back up for grabs.

Community

Questions about this issue or the campaign? Join https://t.me/txioCommunity

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26Third CampaignCampaign: Third CampaignbugSomething isn't workingpriority:mediumNormal priority

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions