Checklist

Check the JSON bricksui gives you before you use it.

Check the JSON bricksui gives you before you use it.

How you asked#

  • One widget per ask
  • One change at a time
  • Real field names and thresholds given, nothing guessed

Components#

  • The highest-level component that fits (pre-built first)
  • Every component name exists; icons use GenUIIcon
  • Every Select has Select.Item children
  • No bracket classes like text-[13px]; one-off values in style

Structure#

  • children inside props; @on at node level, not in props
  • $data on the root only (or inside @asidePanels)
  • Lists use #each; no JSONata children longer than about 500 characters
  • Empty lists show an empty state
  • Popups have #if; side panels fetch their data only when opened

Data#

  • Sorting, filtering and limits are in the query
  • Repeated counts saved once to $localState
  • dataSuccess sits on the data source, stays light, never refetches itself
  • Each API call declared once; buttons use refetch_data
  • Realtime for Supabase; polling only where needed, 1000 ms or more
  • No API keys or tokens anywhere; relative URLs

Result#

  • Loads with real data and no errors
  • Looks right in light and dark mode