+ (objectstack#27058), so the bar draws no view dropdown. No
+ margin of its own: the pill's padding already parts the two,
+ and the width goes to the label (objectstack#34596). */}
+
{lastSegmentLabel}
>
@@ -1036,10 +1038,12 @@ export function AppHeader({
With the search centered, the search group here holds only the icon
button and leaves at 960 px; the three `min-[960px]:` rules keyed on
`data-topbar-search` keep the group after it from drawing a divider
- next to nothing. */}
+ next to nothing. Below `sm` the groups draw no divider and no gap
+ beyond the cluster's own: the phone bar's 44 px controls sit side by
+ side and the room goes to the page title (objectstack#34596). */}
*+*[data-topbar-group]]:ml-1 [&>[data-topbar-group]+[data-topbar-group]]:border-l [&>[data-topbar-group]+[data-topbar-group]]:border-border/60 [&>[data-topbar-group]+[data-topbar-group]]:pl-1 sm:[&>[data-topbar-group]+[data-topbar-group]]:pl-2 sm:[&>[data-topbar-group]+[data-topbar-group]]:ml-2',
+ 'flex items-center gap-0.5 sm:gap-1 shrink-0 sm:[&>*+*[data-topbar-group]]:ml-1 sm:[&>[data-topbar-group]+[data-topbar-group]]:border-l sm:[&>[data-topbar-group]+[data-topbar-group]]:border-border/60 sm:[&>[data-topbar-group]+[data-topbar-group]]:pl-2 sm:[&>[data-topbar-group]+[data-topbar-group]]:ml-2',
centersSearch &&
'min-[960px]:flex-1 min-[960px]:min-w-max min-[960px]:justify-end min-[960px]:[&>[data-topbar-search]+[data-topbar-group]]:ml-1 min-[960px]:[&>[data-topbar-search]+[data-topbar-group]]:border-l-0 min-[960px]:[&>[data-topbar-search]+[data-topbar-group]]:pl-0',
)}
diff --git a/ui/packages/app-shell/src/layout/InboxPopover.tsx b/ui/packages/app-shell/src/layout/InboxPopover.tsx
index f9b18dfe6dd..39653ee0526 100644
--- a/ui/packages/app-shell/src/layout/InboxPopover.tsx
+++ b/ui/packages/app-shell/src/layout/InboxPopover.tsx
@@ -507,7 +507,10 @@ export function InboxPopover({
{totalBadge > 9 ? '9+' : totalBadge}
diff --git a/ui/packages/app-shell/src/layout/__tests__/AppHeader.centeredSearch-12472.test.tsx b/ui/packages/app-shell/src/layout/__tests__/AppHeader.centeredSearch-12472.test.tsx
index 701d37ae5ca..72b05e1d3bc 100644
--- a/ui/packages/app-shell/src/layout/__tests__/AppHeader.centeredSearch-12472.test.tsx
+++ b/ui/packages/app-shell/src/layout/__tests__/AppHeader.centeredSearch-12472.test.tsx
@@ -348,3 +348,33 @@ describe('CONTROLS (objectui#12472)', () => {
expect(document.querySelector('[data-topbar-zone]')).toBeNull();
});
});
+
+describe('the phone bar spends no room on group dividers (objectstack#34596)', () => {
+ it('below sm the cluster draws no divider and no gap between its groups; from sm each group after the first draws one', () => {
+ mount();
+ const classes = classesOf(clusterOf());
+ // Every divider rule is `sm:`-scoped, so the phone bar's 44 px controls sit
+ // side by side and the page title keeps the width.
+ const dividerRules = classes.filter((c) => /topbar-group\]\]?:(border-l|border-border|pl-|ml-)/.test(c));
+ expect(dividerRules.length).toBeGreaterThan(0);
+ for (const c of dividerRules) {
+ expect(c.startsWith('sm:') || c.startsWith('min-[960px]:'), `${c} is phone-scoped`).toBe(true);
+ }
+ expect(classes).toEqual(
+ expect.arrayContaining([
+ 'sm:[&>[data-topbar-group]+[data-topbar-group]]:border-l',
+ 'sm:[&>[data-topbar-group]+[data-topbar-group]]:pl-2',
+ 'sm:[&>[data-topbar-group]+[data-topbar-group]]:ml-2',
+ ]),
+ );
+ });
+
+ it('the phone title takes no margin of its own beside the pill, and truncates only past the room left', () => {
+ mount();
+ const title = screen.getByTestId('app-bar-phone-title');
+ const classes = classesOf(title);
+ expect(classes).toEqual(expect.arrayContaining(['sm:hidden', 'truncate', 'min-w-0']));
+ expect(classes.filter((c) => /^m[lrx]?-/.test(c))).toEqual([]);
+ expect(leftOf()).toContainElement(title);
+ });
+});
diff --git a/ui/packages/app-shell/src/layout/__tests__/InboxPopover.phoneWidth-29076.test.tsx b/ui/packages/app-shell/src/layout/__tests__/InboxPopover.phoneWidth-29076.test.tsx
index b9bfaf1e924..10fca7732b4 100644
--- a/ui/packages/app-shell/src/layout/__tests__/InboxPopover.phoneWidth-29076.test.tsx
+++ b/ui/packages/app-shell/src/layout/__tests__/InboxPopover.phoneWidth-29076.test.tsx
@@ -121,3 +121,17 @@ describe('InboxPopover at phone width (objectstack#29076)', () => {
expect(within(dialog).getByRole('button', { name: 'View all activity' }).className).toContain(PHONE_TAP);
});
});
+
+describe('the bell badge stays inside the phone bar (objectstack#34596)', () => {
+ it('below md the badge sits inside the 44 px trigger, at its corner; from md it keeps its desktop offset', () => {
+ render(bell(9));
+ const badge = screen.getByTestId('inbox-bell-badge');
+ // Two unread topics and nine approvals: past nine, the clamped label.
+ expect(badge.textContent).toBe('9+');
+ const classes = badge.className.split(/\s+/);
+ expect(classes).toEqual(expect.arrayContaining(['max-md:top-1', 'max-md:right-1', '-top-0.5', '-right-0.5']));
+ const trigger = screen.getByRole('button', { name: /^Notifications(,|$)/ });
+ expect(trigger).toContainElement(badge);
+ expect(trigger.className.split(/\s+/)).toEqual(expect.arrayContaining(['relative', 'max-md:size-11']));
+ });
+});
diff --git a/ui/packages/i18n/src/locales/ar.ts b/ui/packages/i18n/src/locales/ar.ts
index 14e8264378e..470a903bd6e 100644
--- a/ui/packages/i18n/src/locales/ar.ts
+++ b/ui/packages/i18n/src/locales/ar.ts
@@ -2576,6 +2576,7 @@ const ar = {
view: "عرض",
confirm: "تأكيد",
cancel: "إلغاء",
+ continue: "متابعة",
prefilled: "القيم التي لم تُعيَّن بعد مقترحة من متصفحك. لن يُحفظ شيء حتى تؤكد.",
organizationName: {
title: "سمِّ مؤسستك",
diff --git a/ui/packages/i18n/src/locales/de.ts b/ui/packages/i18n/src/locales/de.ts
index f604a8fac6b..fd1be053525 100644
--- a/ui/packages/i18n/src/locales/de.ts
+++ b/ui/packages/i18n/src/locales/de.ts
@@ -2321,6 +2321,7 @@ const de = {
view: "Anzeigen",
confirm: "Bestätigen",
cancel: "Abbrechen",
+ continue: "Fortsetzen",
prefilled: "Noch nicht festgelegte Werte sind aus Ihrem Browser vorgeschlagen. Gespeichert wird erst, wenn Sie bestätigen.",
organizationName: {
title: "Organisation benennen",
diff --git a/ui/packages/i18n/src/locales/en.ts b/ui/packages/i18n/src/locales/en.ts
index 25e05c549c3..6801cd0d2e7 100644
--- a/ui/packages/i18n/src/locales/en.ts
+++ b/ui/packages/i18n/src/locales/en.ts
@@ -2499,6 +2499,8 @@ const en = {
view: 'View',
confirm: 'Confirm',
cancel: 'Cancel',
+ // The folded card's way back in, on a phone (objectstack#34596).
+ continue: 'Continue',
prefilled: 'Values not set yet are suggested from your browser. Nothing is saved until you confirm.',
organizationName: {
title: 'Name your organization',
diff --git a/ui/packages/i18n/src/locales/es.ts b/ui/packages/i18n/src/locales/es.ts
index fa44edef6ef..d0080c13fea 100644
--- a/ui/packages/i18n/src/locales/es.ts
+++ b/ui/packages/i18n/src/locales/es.ts
@@ -2387,6 +2387,7 @@ const es = {
view: "Ver",
confirm: "Confirmar",
cancel: "Cancelar",
+ continue: "Continuar",
prefilled: "Los valores aún sin configurar se sugieren a partir de su navegador. No se guarda nada hasta que confirme.",
organizationName: {
title: "Asigne un nombre a su organización",
diff --git a/ui/packages/i18n/src/locales/fr.ts b/ui/packages/i18n/src/locales/fr.ts
index 22e19d2fb38..7cd1a254ddb 100644
--- a/ui/packages/i18n/src/locales/fr.ts
+++ b/ui/packages/i18n/src/locales/fr.ts
@@ -2383,6 +2383,7 @@ const fr = {
view: "Voir",
confirm: "Confirmer",
cancel: "Annuler",
+ continue: "Continuer",
prefilled: "Les valeurs non encore définies sont suggérées d’après votre navigateur. Rien n’est enregistré avant votre confirmation.",
organizationName: {
title: "Nommez votre organisation",
diff --git a/ui/packages/i18n/src/locales/ja.ts b/ui/packages/i18n/src/locales/ja.ts
index 2026abe91c1..4a13615af61 100644
--- a/ui/packages/i18n/src/locales/ja.ts
+++ b/ui/packages/i18n/src/locales/ja.ts
@@ -2323,6 +2323,7 @@ const ja = {
view: "表示",
confirm: "確定",
cancel: "キャンセル",
+ continue: "続ける",
prefilled: "未設定の項目にはブラウザーから推測した値が入っています。確定するまで何も保存されません。",
organizationName: {
title: "組織に名前を付ける",
diff --git a/ui/packages/i18n/src/locales/ko.ts b/ui/packages/i18n/src/locales/ko.ts
index c758663835d..873c95f25bf 100644
--- a/ui/packages/i18n/src/locales/ko.ts
+++ b/ui/packages/i18n/src/locales/ko.ts
@@ -2321,6 +2321,7 @@ const ko = {
view: "보기",
confirm: "확인",
cancel: "취소",
+ continue: "계속",
prefilled: "아직 설정되지 않은 값은 브라우저를 기준으로 제안되었습니다. 확인하기 전에는 아무것도 저장되지 않습니다.",
organizationName: {
title: "조직 이름 정하기",
diff --git a/ui/packages/i18n/src/locales/pt-BR.ts b/ui/packages/i18n/src/locales/pt-BR.ts
index eafacbd05da..06487b53c28 100644
--- a/ui/packages/i18n/src/locales/pt-BR.ts
+++ b/ui/packages/i18n/src/locales/pt-BR.ts
@@ -2382,6 +2382,7 @@ const pt = {
view: "Ver",
confirm: "Confirmar",
cancel: "Cancelar",
+ continue: "Continuar",
prefilled: "Os valores ainda não definidos foram sugeridos com base no seu navegador. Nada é salvo até você confirmar.",
organizationName: {
title: "Dê um nome à sua organização",
diff --git a/ui/packages/i18n/src/locales/ru.ts b/ui/packages/i18n/src/locales/ru.ts
index 1ccda1f28c8..38f51e5f9d4 100644
--- a/ui/packages/i18n/src/locales/ru.ts
+++ b/ui/packages/i18n/src/locales/ru.ts
@@ -2455,6 +2455,7 @@ const ru = {
view: "Открыть",
confirm: "Подтвердить",
cancel: "Отмена",
+ continue: "Продолжить",
prefilled: "Для ещё не заданных значений предложены значения из вашего браузера. Ничего не сохраняется, пока вы не подтвердите.",
organizationName: {
title: "Назовите организацию",
diff --git a/ui/packages/i18n/src/locales/zh-Hans.ts b/ui/packages/i18n/src/locales/zh-Hans.ts
index 17b0587c397..1235a5d9cb4 100644
--- a/ui/packages/i18n/src/locales/zh-Hans.ts
+++ b/ui/packages/i18n/src/locales/zh-Hans.ts
@@ -2071,6 +2071,7 @@ const zh = {
view: '查看',
confirm: '确认',
cancel: '取消',
+ continue: '继续',
prefilled: '尚未设置的项已按你的浏览器给出建议。确认之前不会保存任何内容。',
organizationName: {
title: '为组织命名',
diff --git a/ui/packages/i18n/src/locales/zh-Hant.ts b/ui/packages/i18n/src/locales/zh-Hant.ts
index cad3eb9f6cc..742c5dfa4d6 100644
--- a/ui/packages/i18n/src/locales/zh-Hant.ts
+++ b/ui/packages/i18n/src/locales/zh-Hant.ts
@@ -2071,6 +2071,7 @@ const zhHant = {
view: '檢視',
confirm: '確認',
cancel: '取消',
+ continue: '繼續',
prefilled: '尚未設定的項已按你的瀏覽器給出建議。確認之前不會儲存任何內容。',
organizationName: {
title: '為組織命名',