trypost/resources/js/components/ui
Paulo Castellano 1af705f3fd
Localize calendar date pickers to the active UI locale (#234)
* Localize calendar date pickers to the active UI locale.

Pass the Inertia locale into Reka calendars, translate a11y labels, and use dayjs LL/LLL for DatePicker display text.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Localize remaining dayjs date displays across the UI.

Route list/calendar/preview timestamps through localized LL/LLL helpers so formats follow the active UI locale instead of English or Portuguese-locked patterns.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Use scheduled-or-now timestamps in platform previews.

Drive preview labels from the post schedule when set, localize Discord without dayjs calendar(), and expose a single formatPreviewPostedAt helper.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix preview schedule wiring and Discord/Facebook timestamp labels.

Restore hasPickedTime from any saved scheduled_at, keep time on non-today Discord labels, and use a localized just-now fallback for unschedled Facebook previews.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix API key expiry day shift and tighten calendar range titles.

Format date-only expiry in UTC calendar days, and use compact dayjs titles for calendar day/week headers.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Replace frontend date source greps with Inertia API key assertions.

Drop the Vue/TS file scanner and assert expiry calendar days through ApiKeyController props instead.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Localize calendar week titles with day-first dayjs formats.

Avoid English month-day order in week headers and chart axis labels so locales like pt-BR keep natural day-first dates.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Split preview timestamp formatting into named platform helpers.

Replace the style-switch formatPreviewPostedAt with clear per-platform helpers so call sites read as formatDiscordPreview / formatXPreview / etc.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 21:02:34 -03:00
..
alert chore: first commit 2026-01-14 22:13:44 -03:00
alert-dialog fix(ui): third-pass mobile fixes 2026-07-17 19:41:52 -03:00
aspect-ratio feat: Implement user onboarding, subscription management, and refactor social integrations with new UI components and mail templates. 2026-01-17 12:36:49 -03:00
avatar fix: active state for sidebar/settings nav, reactive photo updates, workspace logo upload 2026-03-29 23:01:08 -03:00
badge refactor: standardize UI components, modernize localization structure, and remove legacy appearance management middleware. 2026-05-06 14:26:18 -03:00
breadcrumb refactor: localize analytics metrics and overhaul UI components and dashboard layouts 2026-05-06 15:39:10 -03:00
button feat: implement workspace management and update localization strings across multiple languages 2026-05-06 16:41:27 -03:00
button-group feat: Implement user onboarding, subscription management, and refactor social integrations with new UI components and mail templates. 2026-01-17 12:36:49 -03:00
calendar refactor: standardize UI components, modernize localization structure, and remove legacy appearance management middleware. 2026-05-06 14:26:18 -03:00
card refactor: standardize UI components, modernize localization structure, and remove legacy appearance management middleware. 2026-05-06 14:26:18 -03:00
carousel feat: improvements on ui 2026-01-21 18:42:37 -03:00
chart feat: Implement user onboarding, subscription management, and refactor social integrations with new UI components and mail templates. 2026-01-17 12:36:49 -03:00
checkbox feat: improvements on ui 2026-01-21 18:42:37 -03:00
collapsible chore: first commit 2026-01-14 22:13:44 -03:00
combobox refactor: standardize UI components, modernize localization structure, and remove legacy appearance management middleware. 2026-05-06 14:26:18 -03:00
command refactor: standardize UI components, modernize localization structure, and remove legacy appearance management middleware. 2026-05-06 14:26:18 -03:00
context-menu feat: improvements on ui 2026-01-21 18:42:37 -03:00
date-range-picker Localize calendar date pickers to the active UI locale (#234) 2026-08-05 21:02:34 -03:00
dialog fix(mobile): polish automations, dialogs, workspaces and post views 2026-07-18 10:58:07 -03:00
drawer feat: Implement user onboarding, subscription management, and refactor social integrations with new UI components and mail templates. 2026-01-17 12:36:49 -03:00
dropdown-menu refactor: standardize UI components, modernize localization structure, and remove legacy appearance management middleware. 2026-05-06 14:26:18 -03:00
empty feat: Implement user onboarding, subscription management, and refactor social integrations with new UI components and mail templates. 2026-01-17 12:36:49 -03:00
field Structure brand voice and make generated copy platform-aware 2026-06-12 17:09:39 -03:00
hover-card feat: Implement user onboarding, subscription management, and refactor social integrations with new UI components and mail templates. 2026-01-17 12:36:49 -03:00
input feat: implement workspace management and update localization strings across multiple languages 2026-05-06 16:41:27 -03:00
input-group feat: Implement user onboarding, subscription management, and refactor social integrations with new UI components and mail templates. 2026-01-17 12:36:49 -03:00
input-otp feat: improvements on ui 2026-01-21 18:42:37 -03:00
kbd feat: Implement user onboarding, subscription management, and refactor social integrations with new UI components and mail templates. 2026-01-17 12:36:49 -03:00
label Structure brand voice and make generated copy platform-aware 2026-06-12 17:09:39 -03:00
native-select refactor: standardize UI components, modernize localization structure, and remove legacy appearance management middleware. 2026-05-06 14:26:18 -03:00
navigation-menu feat: improvements on ui 2026-01-21 18:42:37 -03:00
popover refactor: standardize UI components, modernize localization structure, and remove legacy appearance management middleware. 2026-05-06 14:26:18 -03:00
progress feat: Implement user onboarding, subscription management, and refactor social integrations with new UI components and mail templates. 2026-01-17 12:36:49 -03:00
radio-group feat: improvements on ui 2026-01-21 18:42:37 -03:00
range-calendar refactor: localize analytics metrics and overhaul UI components and dashboard layouts 2026-05-06 15:39:10 -03:00
resizable feat: improvements on ui 2026-01-21 18:42:37 -03:00
scroll-area feat: Implement user onboarding, subscription management, and refactor social integrations with new UI components and mail templates. 2026-01-17 12:36:49 -03:00
select feat: implement workspace management and update localization strings across multiple languages 2026-05-06 16:41:27 -03:00
separator chore: first commit 2026-01-14 22:13:44 -03:00
sheet feat: improvements on ui 2026-01-21 18:42:37 -03:00
sidebar fix(mobile): polish automations, dialogs, workspaces and post views 2026-07-18 10:58:07 -03:00
skeleton chore: first commit 2026-01-14 22:13:44 -03:00
sonner refactor: standardize UI components, modernize localization structure, and remove legacy appearance management middleware. 2026-05-06 14:26:18 -03:00
spinner feat: improvements on ui 2026-01-21 18:42:37 -03:00
switch refactor: standardize UI components, modernize localization structure, and remove legacy appearance management middleware. 2026-05-06 14:26:18 -03:00
table refactor: standardize UI components, modernize localization structure, and remove legacy appearance management middleware. 2026-05-06 14:26:18 -03:00
tabs fix(ui): stop the scrollable tabs list from clipping button borders 2026-07-17 20:58:53 -03:00
tags-input feat: improvements on ui 2026-01-21 18:42:37 -03:00
textarea refactor: standardize UI components, modernize localization structure, and remove legacy appearance management middleware. 2026-05-06 14:26:18 -03:00
tooltip chore: first commit 2026-01-14 22:13:44 -03:00