Halopen output
“"Add CSV export for the customers table on the admin dashboard. Surface: a button labeled 'Export CSV' in the table toolbar, right of the existing search input. Behavior: when clicked, generates a CSV of every row currently visible after applying any active filters and search; downloads it to the user's machine with a filename pattern of customers-YYYY-MM-DD.csv. Columns: id, email, name, created_at, plan, status, lifetime_revenue, last_active_at. Use the existing useCustomers hook for data; don't hit the API directly. Use the date-fns format helper for the filename — don't add a new date library. Add a row-count guard: if more than 10,000 rows match the current filter, show a confirmation modal warning about download size before generating. Tests: add a unit test for the CSV-formatting helper; add a Playwright test that clicks the export button and asserts the download fires. Don't change anything outside admin slash customers slash."”
- · 230-word multi-aspect task brief dictated in a single ~80-second hold
- · Surface specification, behavior, columns, helper preferences, edge cases, and test coverage all captured verbatim
- · Negative constraints ("don't hit the API directly", "don't add a new date library") preserved exactly
- · Voice version: ~80 seconds; typed version would have been 4-5 minutes