CubeAI

Your trading assistant

A
L
S
D
+2
General8 members
Cube AI
Welcome to Cube! I'm your AI engineer for building miniapps. I've scaffolded a project with Next.js, Tailwind CSS, and TypeScript -- ready for the Cube ecosystem. What would you like to build?
You
Build me a team standup tracker miniapp with a daily form and history view.
Cube AI
Done! I've created a `StandupForm` component with yesterday/today/blockers fields and a `StandupHistory` feed. The miniapp is ready for review.
components/standup-form.tsx
"use client"

import { useState } from "react"
import { Button } from "@/components/ui/button"

export function StandupForm() {
  const [form, setForm] = useState({
    yesterday: "",
    today: "",
    blockers: "",
  })

  return (
    <form className="flex flex-col gap-4 p-6
      rounded-xl border border-border">
      <h2 className="text-lg font-semibold">
        Daily Standup
      </h2>
      {["yesterday", "today", "blockers"].map(
        (field) => (
          <textarea
            key={field}
            placeholder={field}
            className="rounded-lg border p-3
              text-sm bg-card"
          />
        )
      )}
      <Button>Submit</Button>
    </form>
  )
}
DA
Data AIAI
I'd suggest adding a Supabase table for standups with columns: id, user_id, yesterday, today, blockers, created_at. I can design the schema and add indices for the history view query.
MT
Marcus T.Team
Looks solid! I'd add TypeScript types and a Zod schema for form validation. Also consider adding a date picker for viewing past standups.