All case studies

Case study · Chromatics AILive

Bento Studio.

AI social media manager that writes, designs, schedules and replies in a brand's own voice.

Visit live site
Bento Studio landing page

01

Overview

Bento Studio is Chromatics AI's flagship product. Brands and agencies use it to create, schedule and publish social content with AI, answer comments and DMs from one inbox, and track results across Instagram, Facebook, LinkedIn, X, YouTube and more. I joined as a Junior front-end engineer and was promoted to Software Engineer while working on it.

merged pull requests
371
test files written
202
of Organizations feature files authored
~50%
video grids now load ~20 KB posters
MB → KB

02

My role

  • Front-end owner of the Organizations feature: architecture, UI, data layer and tests.
  • Building the Content Studio task and client-review workflow on the front end.
  • Integrating new back-end endpoints and agreeing API contracts with the back-end team.
  • Turning product and design specs into production components on shadcn/ui and Tailwind.
  • Shipping through ticketed sprints and PR review, with CI gating every release.

03

The challenge

Agencies run many brands with many people. Bento had to grow from a single-user tool into a team workspace, with roles, shared credit budgets and client sign-off, without breaking billing or leaking permissions.

04

What I built

Organizations & shared credit budgets

Owners bind brands, invite Managers and Contributors, assign brands to them and fund their work from a shared credit pool. I built the five-step setup wizard, the six management tabs (members, invites, brands, tasks, budgets, usage), the accept-invite flow and credit-usage reports, authoring 192 of the feature's 387 files.

Content Studio workflow & client review

Task creation, tracking and status changes from the task list, client share links with a public preview and review page, per-content comments and a reference picker that feeds the AI generator.

Engagement Center

A unified inbox for comments and direct messages across platforms, with conversation views and comment-detail tabs.

Across the product

Large parts of the Content Assistant, Create Composer, Research, Product Workbench, Billing and onboarding flows.

05

Deep dive: Fixing a bug that quietly moved customers' money

Problem

Saving a member's brand assignments called an endpoint that replaces the member's whole brand set and rewrites four approval-policy flags on every brand. The form built that payload from a cached list that was often out of date and did not include the policy flags at all. Each save could unassign brands it couldn't see, which refunded their credit earmarks, and reset every brand's publish and approval rules to defaults.

Approach

  1. 1Seed the form from the authoritative server set, not the cache, so the checkboxes show server truth.
  2. 2Request up to 100 brands, because the default page size of 10 silently dropped the rest, and every dropped brand became an unassignment.
  3. 3Abort when a read fails or comes back truncated, instead of guessing and spending real credit on the guess.
  4. 4Re-read the set at submit and refuse to save if another Manager changed it meanwhile. Merging would reopen the same bug in a smaller window, so the user sees the fresh set and decides again.
  5. 5Move the logic into one shared hook used by both screens that offer the action, so the two copies can't drift apart.

Result

Brand assignments no longer silently refund credits or wipe approval rules, and concurrent edits by two Managers are caught instead of overwritten.

06

Key decisions

Server state lives in TanStack Query
Caching and invalidation stay explicit. Stale screens in Content Studio and the scheduler were fixed by invalidating the right query keys after each mutation, not by adding manual refetches.
One shared hook for every write that moves credit
Two screens offer the same assignment action. Keeping one implementation means the money logic can't drift between them.
Let the CDN do the media work
Cloudinary transformations generate poster frames and lightweight previews on the server, so the browser never downloads full videos just to draw a grid.
Skeletons that match the real layout
Loading states shaped like the final content remove layout shift and make data-heavy pages feel faster.

07

Impact

Performance

  • Video grids render a ~20 KB Cloudinary poster frame instead of downloading a multi-MB MP4, and mount the video only on first hover.
  • Hover previews stream a width-capped, auto-codec rendition, so tiles play instantly instead of stalling.
  • Replaced pagination with incremental "show more" loading in the Product Workbench asset picker.
  • Fixed cache invalidation in Content Studio and the scheduler so edits appear immediately.
  • Content-shaped skeletons across dashboards, calendar, analytics and the inbox.

Outcome

  • In production, used by brands and agencies every day.
  • My 202 test files are part of the ~6,000-test Vitest suite that gates every release in CI.
  • Promoted from Junior to Software Engineer while building it.

Building right now

  • Content Studio task management: bounded task highlighting and moving tasks between states
  • Client share and review flow: share badges, status modals and client notes
  • A new reference picker modal with lightbox previews

08

Reflection

In billing-adjacent UI, refusing an ambiguous save beats guessing. A clear "this changed, review it again" is safer than a silent merge.
Read an endpoint's contract, not just its name: "set" meant "replace everything".
Perceived performance is a feature. Poster frames and matching skeletons made pages feel faster before any back-end change.