Skip to content

Commit fc8efef

Browse files
authored
fix(mobile): place the briefing time zone hint under its field (#9486)
fix(mobile): place the brief time zone hint under its field The IANA time zone hint renders under the three time fields, far from the input it explains. Move it into the time zone block, directly under the input, and leave the "Use device time zone" action below it. The schedule note shared the same key. Split it into its own key and render it above Save, where it names when a saved schedule takes effect. Every catalog keeps its existing wording; the value is only split at its sentence break.
1 parent 4665417 commit fc8efef

88 files changed

Lines changed: 176 additions & 88 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎apps/mobile/src/components/agent-briefing/briefing-schedule-settings.tsx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ export function ScheduleSettings({
105105
setTimezoneInvalid(false);
106106
}}
107107
/>
108+
<Text className="text-xs text-muted-foreground">{t('agentBriefing.timezoneHint')}</Text>
108109
<Button
109110
variant="ghost"
110111
disabled={offline || update.isPending}
@@ -179,8 +180,8 @@ export function ScheduleSettings({
179180
message={timesInvalid ? t('agentBriefing.invalidSchedule') : null}
180181
className="text-sm"
181182
/>
182-
<Text className="text-xs text-muted-foreground">{t('agentBriefing.timezoneHint')}</Text>
183183
<Text className="text-xs text-muted-foreground">{t('agentBriefing.timeHint')}</Text>
184+
<Text className="text-xs text-muted-foreground">{t('agentBriefing.scheduleHint')}</Text>
184185
<Button disabled={offline} loading={update.isPending} onPress={save}>
185186
<Text>{t('common.save')}</Text>
186187
</Button>

‎apps/mobile/src/i18n/locales/af.json‎

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎apps/mobile/src/i18n/locales/am.json‎

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎apps/mobile/src/i18n/locales/ar.json‎

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎apps/mobile/src/i18n/locales/az.json‎

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎apps/mobile/src/i18n/locales/be.json‎

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎apps/mobile/src/i18n/locales/bg.json‎

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎apps/mobile/src/i18n/locales/bn.json‎

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎apps/mobile/src/i18n/locales/bs.json‎

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎apps/mobile/src/i18n/locales/ca.json‎

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)