trypost/resources/js
Paulo Castellano ac75a51f9d refactor: use Inertia useHttp for brand autofill request
The Brand.vue autofill was hitting the endpoint with a raw fetch()
call including manual CSRF header wiring, content-type boilerplate,
and error parsing. Inertia v3 ships useHttp() for standalone HTTP
requests that handles all of that natively — matching the convention
already used elsewhere in the app (YouTubeAnalytics, XAnalytics,
InstagramAnalytics).

Typed the payload and response shape so the composable gives us
type-safe access to the fields we care about. Error handling now
reads from the Inertia exception's response.data.message.
2026-04-16 11:34:21 -03:00
..
components feat: complete AI assistant with custom services and brand config 2026-04-16 09:25:08 -03:00
composables feat: add PostCommentCreated broadcast event 2026-04-15 20:11:36 -03:00
enums feat: introduce Account entity as billing owner and refactor architecture 2026-04-14 22:22:04 -03:00
layouts feat: add PostCommentCreated broadcast event 2026-04-15 20:11:36 -03:00
lib refactor: auth split layout, subscribe redesign, onboarding, i18n, cookie locale 2026-03-30 11:53:42 -03:00
pages refactor: use Inertia useHttp for brand autofill request 2026-04-16 11:34:21 -03:00
types feat: add PostCommentCreated broadcast event 2026-04-15 20:11:36 -03:00
utils feat: add PostCommentCreated broadcast event 2026-04-15 20:11:36 -03:00
app.ts fix: resolve all TypeScript errors 2026-03-31 09:34:39 -03:00
date.ts feat: improvements on invites 2026-01-20 16:53:54 -03:00
dayjs.ts refactor: auth split layout, subscribe redesign, onboarding, i18n, cookie locale 2026-03-30 11:53:42 -03:00
debounce.ts fix: resolve all TypeScript errors 2026-03-31 09:34:39 -03:00
posthog.ts chore: posthog, ui, features and more 2026-03-30 21:18:07 -03:00
ssr.ts chore: first commit 2026-01-14 22:13:44 -03:00