+ ) : null}
{({ payload }) =>
payload ? (
@@ -704,7 +989,7 @@ export function UsageLimitsPooled({
handle={segmentPopover}
actions={segmentPopoverActions}
payload={payload}
- pools={pools}
+ windows={shownPools.flatMap(({ shownWindows }) => shownWindows)}
now={now}
/>
) : null
diff --git a/apps/web/src/components/usage/usageLimitLayout.test.ts b/apps/web/src/components/usage/usageLimitLayout.test.ts
new file mode 100644
index 0000000000000..25019502284fa
--- /dev/null
+++ b/apps/web/src/components/usage/usageLimitLayout.test.ts
@@ -0,0 +1,59 @@
+import { describe, expect, it } from "vite-plus/test";
+import * as Schema from "effect/Schema";
+
+import {
+ limitWindowKey,
+ moveLimitItem,
+ orderLimitItems,
+ UsageLimitLayoutSchema,
+} from "./usageLimitLayout";
+
+const decodeLayout = Schema.decodeUnknownSync(UsageLimitLayoutSchema);
+const encodeLayout = Schema.encodeSync(UsageLimitLayoutSchema);
+
+describe("usage limit layout", () => {
+ it("preserves saved ordering and hidden windows when provider preferences are added", () => {
+ const saved = {
+ providerOrder: ["claudeAgent"],
+ windowOrder: ["weekly"],
+ hiddenWindows: ["session"],
+ };
+ const decoded = decodeLayout(saved);
+ expect(decoded).toEqual({ ...saved, hiddenProviders: [], collapsedProviders: [] });
+ const updated = {
+ ...decoded,
+ hiddenProviders: ["cursor"],
+ collapsedProviders: ["claudeAgent"],
+ };
+ expect(decodeLayout(encodeLayout(updated))).toEqual(updated);
+ });
+
+ it("orders saved cards first and appends new cards in their default order", () => {
+ expect(
+ orderLimitItems(["new", "weekly", "session", "other"], ["session", "weekly"], (id) => id),
+ ).toEqual(["session", "weekly", "new", "other"]);
+ expect(limitWindowKey("claude", { kind: "weekly", id: "shared" })).not.toBe(
+ limitWindowKey("antigravity", { kind: "weekly", id: "shared" }),
+ );
+ });
+
+ it("moves available cards without forgetting temporarily unavailable preferences", () => {
+ const saved = ["offline", "weekly", "session"];
+ const moved = moveLimitItem(saved, ["weekly", "session", "new"], "session", "weekly");
+ expect(moved).toEqual(["session", "weekly", "new", "offline"]);
+ expect(orderLimitItems(["offline", "new", "weekly", "session"], moved, (id) => id)).toEqual([
+ "session",
+ "weekly",
+ "new",
+ "offline",
+ ]);
+ expect(moveLimitItem(saved, ["weekly", "session", "new"], "new", "weekly")).toEqual([
+ "new",
+ "weekly",
+ "session",
+ "offline",
+ ]);
+ expect(moveLimitItem(saved, ["weekly", "session"], "weekly", "weekly")).toBe(saved);
+ expect(moveLimitItem(saved, ["weekly", "session"], "session", "missing")).toBe(saved);
+ });
+});
diff --git a/apps/web/src/components/usage/usageLimitLayout.ts b/apps/web/src/components/usage/usageLimitLayout.ts
new file mode 100644
index 0000000000000..02edc45a9955e
--- /dev/null
+++ b/apps/web/src/components/usage/usageLimitLayout.ts
@@ -0,0 +1,53 @@
+import type { LimitPoolWindow } from "@t3tools/shared/usageLimits";
+import * as Effect from "effect/Effect";
+import * as Schema from "effect/Schema";
+
+export const USAGE_LIMIT_LAYOUT_KEY = "t3code:usage-limit-layout:v1";
+export const UsageLimitLayoutSchema = Schema.Struct({
+ providerOrder: Schema.Array(Schema.String),
+ windowOrder: Schema.Array(Schema.String),
+ hiddenWindows: Schema.Array(Schema.String),
+ hiddenProviders: Schema.Array(Schema.String).pipe(Schema.withDecodingDefault(Effect.succeed([]))),
+ collapsedProviders: Schema.Array(Schema.String).pipe(
+ Schema.withDecodingDefault(Effect.succeed([])),
+ ),
+});
+export type UsageLimitLayout = typeof UsageLimitLayoutSchema.Type;
+export const DEFAULT_LIMIT_LAYOUT: UsageLimitLayout = {
+ providerOrder: [],
+ windowOrder: [],
+ hiddenWindows: [],
+ hiddenProviders: [],
+ collapsedProviders: [],
+};
+
+export function limitWindowKey(driver: string, window: Pick) {
+ return JSON.stringify([driver, window.kind, window.id]);
+}
+
+export function orderLimitItems(
+ items: readonly T[],
+ order: readonly string[],
+ key: (item: T) => string,
+): T[] {
+ const ranks = new Map(order.map((id, index) => [id, index]));
+ return [...items].sort(
+ (left, right) => (ranks.get(key(left)) ?? Infinity) - (ranks.get(key(right)) ?? Infinity),
+ );
+}
+
+export function moveLimitItem(
+ savedOrder: readonly string[],
+ currentKeys: readonly string[],
+ key: string,
+ over: string,
+) {
+ const keys = [...currentKeys];
+ const index = keys.indexOf(key);
+ const destination = keys.indexOf(over);
+ if (index < 0 || destination < 0 || index === destination) return savedOrder;
+ keys.splice(index, 1);
+ keys.splice(destination, 0, key);
+ const available = new Set(keys);
+ return [...keys, ...savedOrder.filter((id) => !available.has(id))];
+}
diff --git a/apps/web/src/i18n/translations/de.json b/apps/web/src/i18n/translations/de.json
index 648fd58859dbe..48668379b9832 100644
--- a/apps/web/src/i18n/translations/de.json
+++ b/apps/web/src/i18n/translations/de.json
@@ -11779,6 +11779,15 @@
"c6cf1b06e0433ca3": "Einrichtungsfortschritt",
"e0167c02ca493094": "{step}, Schritt {number}, {summary}",
"6389dee75a7cb536": "{step}, Schritt {number}",
+ "d90b1bcc2e6ed84c": "Drücke die Leertaste zum Aufnehmen. Verschiebe das Element mit den Pfeiltasten, lege es mit der Leertaste ab oder brich mit Esc ab.",
+ "c4924077166151fb": "Element an Position {position} aufgenommen.",
+ "b6a0057de45c3292": "An Position {position} verschoben.",
+ "23d24474135a1c3d": "An Position {position} abgelegt.",
+ "95f441c73cd33df6": "Neuanordnung abgebrochen.",
+ "6435447ce7656f13": "{label} anzeigen",
+ "68e588f6255f796f": "{label} ausblenden",
+ "37effca97ff3fc3a": "{label} neu anordnen",
+ "9e8b7675aab946c3": "Anzeigen",
"5434b97f68b55d8f": "Über dem Tempo: Verbrauch schneller als das Zeitfenster vergeht",
"4e518c48e00f45a9": "Im Tempo des Zeitfensters",
"53e1b6487b5ddd6a": "Unter dem Tempo: Spielraum für den Rest des Zeitfensters",
@@ -11811,11 +11820,14 @@
"09c0e00d7fb55402": "Reset-Guthaben wird verwendet…",
"4df3ff1be768a7ab": "{name}: {remaining} % übrig",
"1b16346722b65812": "{timeLeft} % des Zeitfensters übrig",
- "7aaaff1c6484f25c": "Segment",
"8bcab2ef61de6518": "0-$-Limit",
+ "3589a07b846a7db3": "{count, plural, one {{count} Element ausgeblendet} other {{count} Elemente ausgeblendet}}",
+ "21fecf6720b1e0b8": "Limits für {label} ausklappen",
+ "54414fea4a2d867a": "Limits für {label} einklappen",
"a16b48709357a5a7": "Nutzung verwalten",
"a00e74aaa421c524": "übrig",
"8bd6f07136317c8f": "Kein Anbieter in den ausgewählten Umgebungen meldet Abo-Limits.",
+ "f37445c93f099886": "Layout zurücksetzen",
"87f5d0c61b335f38": "Nutzung in ChatGPT mit deinem verbundenen Konto ansehen.",
"5b4c71b36b979e80": "Kosten",
"fce17caaa0d1a45b": "Ohne Preis",
diff --git a/apps/web/src/i18n/translations/en.json b/apps/web/src/i18n/translations/en.json
index 599944358b5bb..1731be9f6bb6c 100644
--- a/apps/web/src/i18n/translations/en.json
+++ b/apps/web/src/i18n/translations/en.json
@@ -11787,6 +11787,15 @@
"c6cf1b06e0433ca3": "Setup progress",
"e0167c02ca493094": "{step}, step {number}, {summary}",
"6389dee75a7cb536": "{step}, step {number}",
+ "d90b1bcc2e6ed84c": "Press Space to pick up. Use the arrow keys to move, Space to drop, and Escape to cancel.",
+ "c4924077166151fb": "Picked up item at position {position}.",
+ "b6a0057de45c3292": "Moved to position {position}.",
+ "23d24474135a1c3d": "Dropped at position {position}.",
+ "95f441c73cd33df6": "Reorder canceled.",
+ "6435447ce7656f13": "Show {label}",
+ "68e588f6255f796f": "Hide {label}",
+ "37effca97ff3fc3a": "Reorder {label}",
+ "9e8b7675aab946c3": "Show",
"5434b97f68b55d8f": "Ahead of pace: spending faster than the window elapses",
"4e518c48e00f45a9": "On pace with the window",
"53e1b6487b5ddd6a": "Under pace: headroom left for the rest of the window",
@@ -11819,11 +11828,14 @@
"09c0e00d7fb55402": "Using reset credit…",
"4df3ff1be768a7ab": "{name}: {remaining}% left",
"1b16346722b65812": "{timeLeft}% of the window left",
- "7aaaff1c6484f25c": "Segment",
"8bcab2ef61de6518": "$0 cap",
+ "3589a07b846a7db3": "{count, plural, one {{count} item hidden} other {{count} items hidden}}",
+ "21fecf6720b1e0b8": "Expand {label} limits",
+ "54414fea4a2d867a": "Collapse {label} limits",
"a16b48709357a5a7": "Manage usage",
"a00e74aaa421c524": "left",
"8bd6f07136317c8f": "No provider on the selected environments reports subscription limits.",
+ "f37445c93f099886": "Reset layout",
"87f5d0c61b335f38": "View usage in ChatGPT with your connected account.",
"5b4c71b36b979e80": "Cost",
"fce17caaa0d1a45b": "Unpriced",
diff --git a/apps/web/src/i18n/translations/es.json b/apps/web/src/i18n/translations/es.json
index 956f4e17a9617..991fcbbc00a58 100644
--- a/apps/web/src/i18n/translations/es.json
+++ b/apps/web/src/i18n/translations/es.json
@@ -11772,6 +11772,15 @@
"c6cf1b06e0433ca3": "Progreso de la configuración",
"e0167c02ca493094": "{step}, paso {number}, {summary}",
"6389dee75a7cb536": "{step}, paso {number}",
+ "d90b1bcc2e6ed84c": "Pulsa Espacio para seleccionar. Usa las flechas para mover, Espacio para soltar y Esc para cancelar.",
+ "c4924077166151fb": "Elemento seleccionado en la posición {position}.",
+ "b6a0057de45c3292": "Movido a la posición {position}.",
+ "23d24474135a1c3d": "Soltado en la posición {position}.",
+ "95f441c73cd33df6": "Reordenación cancelada.",
+ "6435447ce7656f13": "Mostrar {label}",
+ "68e588f6255f796f": "Ocultar {label}",
+ "37effca97ff3fc3a": "Reordenar {label}",
+ "9e8b7675aab946c3": "Mostrar",
"5434b97f68b55d8f": "Por encima del ritmo: gastas más rápido de lo que avanza la ventana",
"4e518c48e00f45a9": "Al ritmo de la ventana",
"53e1b6487b5ddd6a": "Por debajo del ritmo: queda margen para el resto de la ventana",
@@ -11804,11 +11813,14 @@
"09c0e00d7fb55402": "Usando el crédito de restablecimiento…",
"4df3ff1be768a7ab": "{name}: queda un {remaining}%",
"1b16346722b65812": "Queda un {timeLeft}% de la ventana",
- "7aaaff1c6484f25c": "Segmento",
"8bcab2ef61de6518": "Límite de 0 $",
+ "3589a07b846a7db3": "{count, plural, one {{count} elemento oculto} other {{count} elementos ocultos}}",
+ "21fecf6720b1e0b8": "Expandir los límites de {label}",
+ "54414fea4a2d867a": "Contraer los límites de {label}",
"a16b48709357a5a7": "Gestionar uso",
"a00e74aaa421c524": "restante",
"8bd6f07136317c8f": "Ningún proveedor de los entornos seleccionados informa de límites de suscripción.",
+ "f37445c93f099886": "Restablecer el diseño",
"87f5d0c61b335f38": "Consulta el uso en ChatGPT con tu cuenta conectada.",
"5b4c71b36b979e80": "Coste",
"fce17caaa0d1a45b": "Sin precio",
diff --git a/apps/web/src/i18n/translations/fr.json b/apps/web/src/i18n/translations/fr.json
index 1c982cc6d6f58..049b7b71f3fb8 100644
--- a/apps/web/src/i18n/translations/fr.json
+++ b/apps/web/src/i18n/translations/fr.json
@@ -11777,6 +11777,15 @@
"c6cf1b06e0433ca3": "Progression de la configuration",
"e0167c02ca493094": "{step}, étape {number}, {summary}",
"6389dee75a7cb536": "{step}, étape {number}",
+ "d90b1bcc2e6ed84c": "Appuyez sur Espace pour saisir l’élément. Utilisez les flèches pour le déplacer, Espace pour le déposer et Échap pour annuler.",
+ "c4924077166151fb": "Élément saisi à la position {position}.",
+ "b6a0057de45c3292": "Déplacé à la position {position}.",
+ "23d24474135a1c3d": "Déposé à la position {position}.",
+ "95f441c73cd33df6": "Réorganisation annulée.",
+ "6435447ce7656f13": "Afficher {label}",
+ "68e588f6255f796f": "Masquer {label}",
+ "37effca97ff3fc3a": "Réorganiser {label}",
+ "9e8b7675aab946c3": "Afficher",
"5434b97f68b55d8f": "En avance : consommation plus rapide que l’écoulement de la fenêtre",
"4e518c48e00f45a9": "Au rythme de la fenêtre",
"53e1b6487b5ddd6a": "En dessous du rythme : de la marge pour le reste de la fenêtre",
@@ -11809,11 +11818,14 @@
"09c0e00d7fb55402": "Utilisation du crédit de réinitialisation…",
"4df3ff1be768a7ab": "{name} : {remaining} % restant",
"1b16346722b65812": "{timeLeft} % de la fenêtre restant",
- "7aaaff1c6484f25c": "Segment",
"8bcab2ef61de6518": "Plafond de 0 $",
+ "3589a07b846a7db3": "{count, plural, one {{count} élément masqué} other {{count} éléments masqués}}",
+ "21fecf6720b1e0b8": "Développer les limites de {label}",
+ "54414fea4a2d867a": "Réduire les limites de {label}",
"a16b48709357a5a7": "Gérer l’utilisation",
"a00e74aaa421c524": "restant",
"8bd6f07136317c8f": "Aucun fournisseur des environnements sélectionnés ne signale de limites d’abonnement.",
+ "f37445c93f099886": "Réinitialiser la disposition",
"87f5d0c61b335f38": "Consultez l’utilisation dans ChatGPT avec votre compte connecté.",
"5b4c71b36b979e80": "Coût",
"fce17caaa0d1a45b": "Sans prix",
diff --git a/apps/web/src/i18n/translations/ja.json b/apps/web/src/i18n/translations/ja.json
index 879531a396d2a..8c2a7db54ef0a 100644
--- a/apps/web/src/i18n/translations/ja.json
+++ b/apps/web/src/i18n/translations/ja.json
@@ -11727,6 +11727,15 @@
"c6cf1b06e0433ca3": "セットアップの進行状況",
"e0167c02ca493094": "{step}、ステップ {number}、{summary}",
"6389dee75a7cb536": "{step}、ステップ {number}",
+ "d90b1bcc2e6ed84c": "スペースキーで項目をつかみ、矢印キーで移動します。スペースキーで配置し、Esc キーでキャンセルします。",
+ "c4924077166151fb": "位置 {position} の項目をつかみました。",
+ "b6a0057de45c3292": "位置 {position} に移動しました。",
+ "23d24474135a1c3d": "位置 {position} に配置しました。",
+ "95f441c73cd33df6": "並べ替えをキャンセルしました。",
+ "6435447ce7656f13": "{label}を表示",
+ "68e588f6255f796f": "{label}を非表示",
+ "37effca97ff3fc3a": "{label}を並べ替え",
+ "9e8b7675aab946c3": "表示",
"5434b97f68b55d8f": "ペース超過: 期間の経過より速く消費しています",
"4e518c48e00f45a9": "期間に対して適正なペース",
"53e1b6487b5ddd6a": "ペース以下: 期間の残りに余裕があります",
@@ -11759,11 +11768,14 @@
"09c0e00d7fb55402": "リセットクレジットを使用しています…",
"4df3ff1be768a7ab": "{name}: 残り {remaining}%",
"1b16346722b65812": "期間の残り {timeLeft}%",
- "7aaaff1c6484f25c": "セグメント",
"8bcab2ef61de6518": "上限 $0",
+ "3589a07b846a7db3": "{count} 件を非表示",
+ "21fecf6720b1e0b8": "{label}の制限を展開",
+ "54414fea4a2d867a": "{label}の制限を折りたたむ",
"a16b48709357a5a7": "使用量を管理",
"a00e74aaa421c524": "残り",
"8bd6f07136317c8f": "選択した環境には、サブスクリプションの上限を報告するプロバイダーがありません。",
+ "f37445c93f099886": "レイアウトをリセット",
"87f5d0c61b335f38": "接続したアカウントで ChatGPT の使用量を表示します。",
"5b4c71b36b979e80": "コスト",
"fce17caaa0d1a45b": "価格不明",
diff --git a/apps/web/src/i18n/translations/ko.json b/apps/web/src/i18n/translations/ko.json
index fae8ce2ec6fc4..f47b3d649059f 100644
--- a/apps/web/src/i18n/translations/ko.json
+++ b/apps/web/src/i18n/translations/ko.json
@@ -11724,6 +11724,15 @@
"c6cf1b06e0433ca3": "설정 진행률",
"e0167c02ca493094": "{step}, {number}단계, {summary}",
"6389dee75a7cb536": "{step}, {number}단계",
+ "d90b1bcc2e6ed84c": "스페이스 키로 항목을 선택하세요. 방향키로 이동하고, 스페이스 키로 놓거나 Esc 키로 취소하세요.",
+ "c4924077166151fb": "{position}번 위치의 항목을 선택했습니다.",
+ "b6a0057de45c3292": "{position}번 위치로 이동했습니다.",
+ "23d24474135a1c3d": "{position}번 위치에 놓았습니다.",
+ "95f441c73cd33df6": "순서 변경을 취소했습니다.",
+ "6435447ce7656f13": "{label} 표시",
+ "68e588f6255f796f": "{label} 숨기기",
+ "37effca97ff3fc3a": "{label} 순서 변경",
+ "9e8b7675aab946c3": "표시",
"5434b97f68b55d8f": "속도 초과: 기간이 지나는 것보다 빠르게 사용 중",
"4e518c48e00f45a9": "기간에 맞는 속도",
"53e1b6487b5ddd6a": "속도 여유: 남은 기간 동안 여유가 있음",
@@ -11756,11 +11765,14 @@
"09c0e00d7fb55402": "초기화 크레딧 사용 중…",
"4df3ff1be768a7ab": "{name}: {remaining}% 남음",
"1b16346722b65812": "기간 {timeLeft}% 남음",
- "7aaaff1c6484f25c": "구간",
"8bcab2ef61de6518": "$0 한도",
+ "3589a07b846a7db3": "숨긴 항목 {count}개",
+ "21fecf6720b1e0b8": "{label} 한도 펼치기",
+ "54414fea4a2d867a": "{label} 한도 접기",
"a16b48709357a5a7": "사용량 관리",
"a00e74aaa421c524": "남음",
"8bd6f07136317c8f": "선택한 환경에 구독 한도를 보고하는 제공자가 없습니다.",
+ "f37445c93f099886": "레이아웃 초기화",
"87f5d0c61b335f38": "연결된 계정으로 ChatGPT에서 사용량을 확인하세요.",
"5b4c71b36b979e80": "비용",
"fce17caaa0d1a45b": "가격 없음",
diff --git a/apps/web/src/i18n/translations/pt-BR.json b/apps/web/src/i18n/translations/pt-BR.json
index 7010bef288b16..5ac34a3f059c9 100644
--- a/apps/web/src/i18n/translations/pt-BR.json
+++ b/apps/web/src/i18n/translations/pt-BR.json
@@ -11776,6 +11776,15 @@
"c6cf1b06e0433ca3": "Progresso da configuração",
"e0167c02ca493094": "{step}, etapa {number}, {summary}",
"6389dee75a7cb536": "{step}, etapa {number}",
+ "d90b1bcc2e6ed84c": "Pressione Espaço para selecionar o item. Use as setas para mover, Espaço para soltar e Esc para cancelar.",
+ "c4924077166151fb": "Item selecionado na posição {position}.",
+ "b6a0057de45c3292": "Movido para a posição {position}.",
+ "23d24474135a1c3d": "Solto na posição {position}.",
+ "95f441c73cd33df6": "Reordenação cancelada.",
+ "6435447ce7656f13": "Mostrar {label}",
+ "68e588f6255f796f": "Ocultar {label}",
+ "37effca97ff3fc3a": "Reordenar {label}",
+ "9e8b7675aab946c3": "Mostrar",
"5434b97f68b55d8f": "Acima do ritmo: consumindo mais rápido do que a janela passa",
"4e518c48e00f45a9": "No ritmo da janela",
"53e1b6487b5ddd6a": "Abaixo do ritmo: sobra margem para o resto da janela",
@@ -11808,11 +11817,14 @@
"09c0e00d7fb55402": "Usando crédito de redefinição…",
"4df3ff1be768a7ab": "{name}: {remaining}% restante",
"1b16346722b65812": "{timeLeft}% da janela restante",
- "7aaaff1c6484f25c": "Segmento",
"8bcab2ef61de6518": "Limite de $0",
+ "3589a07b846a7db3": "{count, plural, one {{count} item oculto} other {{count} itens ocultos}}",
+ "21fecf6720b1e0b8": "Expandir os limites de {label}",
+ "54414fea4a2d867a": "Recolher os limites de {label}",
"a16b48709357a5a7": "Gerenciar uso",
"a00e74aaa421c524": "restante",
"8bd6f07136317c8f": "Nenhum provedor nos ambientes selecionados informa limites de assinatura.",
+ "f37445c93f099886": "Redefinir layout",
"87f5d0c61b335f38": "Veja o uso no ChatGPT com sua conta conectada.",
"5b4c71b36b979e80": "Custo",
"fce17caaa0d1a45b": "Sem preço",
diff --git a/apps/web/src/i18n/translations/ru.json b/apps/web/src/i18n/translations/ru.json
index 0766d953dd02d..774b262e8ce78 100644
--- a/apps/web/src/i18n/translations/ru.json
+++ b/apps/web/src/i18n/translations/ru.json
@@ -11777,6 +11777,15 @@
"c6cf1b06e0433ca3": "Прогресс настройки",
"e0167c02ca493094": "{step}, шаг {number}, {summary}",
"6389dee75a7cb536": "{step}, шаг {number}",
+ "d90b1bcc2e6ed84c": "Нажмите пробел, чтобы взять элемент. Перемещайте его стрелками, нажмите пробел, чтобы отпустить, или Esc, чтобы отменить.",
+ "c4924077166151fb": "Взят элемент на позиции {position}.",
+ "b6a0057de45c3292": "Перемещено на позицию {position}.",
+ "23d24474135a1c3d": "Отпущено на позиции {position}.",
+ "95f441c73cd33df6": "Изменение порядка отменено.",
+ "6435447ce7656f13": "Показать {label}",
+ "68e588f6255f796f": "Скрыть {label}",
+ "37effca97ff3fc3a": "Изменить порядок: {label}",
+ "9e8b7675aab946c3": "Показать",
"5434b97f68b55d8f": "Опережение: расход быстрее, чем идёт окно",
"4e518c48e00f45a9": "В темпе окна",
"53e1b6487b5ddd6a": "Ниже темпа: остаётся запас на оставшуюся часть окна",
@@ -11809,11 +11818,14 @@
"09c0e00d7fb55402": "Использование кредита на сброс…",
"4df3ff1be768a7ab": "{name}: осталось {remaining}%",
"1b16346722b65812": "От окна осталось {timeLeft}%",
- "7aaaff1c6484f25c": "Сегмент",
"8bcab2ef61de6518": "Лимит $0",
+ "3589a07b846a7db3": "{count, plural, one {Скрыт {count} элемент} few {Скрыто {count} элемента} many {Скрыто {count} элементов} other {Скрыто {count} элемента}}",
+ "21fecf6720b1e0b8": "Развернуть лимиты {label}",
+ "54414fea4a2d867a": "Свернуть лимиты {label}",
"a16b48709357a5a7": "Управление использованием",
"a00e74aaa421c524": "осталось",
"8bd6f07136317c8f": "Ни один провайдер в выбранных окружениях не сообщает лимиты подписки.",
+ "f37445c93f099886": "Сбросить расположение",
"87f5d0c61b335f38": "Смотрите использование в ChatGPT через подключённый аккаунт.",
"5b4c71b36b979e80": "Стоимость",
"fce17caaa0d1a45b": "Без цены",
diff --git a/apps/web/src/i18n/translations/sv.json b/apps/web/src/i18n/translations/sv.json
index 5e6d1607edf31..1d484f9efa9ad 100644
--- a/apps/web/src/i18n/translations/sv.json
+++ b/apps/web/src/i18n/translations/sv.json
@@ -11785,6 +11785,15 @@
"c6cf1b06e0433ca3": "Konfigurationsförlopp",
"e0167c02ca493094": "{step}, steg {number}, {summary}",
"6389dee75a7cb536": "{step}, steg {number}",
+ "d90b1bcc2e6ed84c": "Tryck på mellanslag för att plocka upp objektet. Använd piltangenterna för att flytta, mellanslag för att släppa och Esc för att avbryta.",
+ "c4924077166151fb": "Plockade upp objektet på position {position}.",
+ "b6a0057de45c3292": "Flyttade till position {position}.",
+ "23d24474135a1c3d": "Släppte på position {position}.",
+ "95f441c73cd33df6": "Omordningen avbröts.",
+ "6435447ce7656f13": "Visa {label}",
+ "68e588f6255f796f": "Dölj {label}",
+ "37effca97ff3fc3a": "Ändra ordning för {label}",
+ "9e8b7675aab946c3": "Visa",
"5434b97f68b55d8f": "Före takten: förbrukar snabbare än fönstret löper",
"4e518c48e00f45a9": "I takt med fönstret",
"53e1b6487b5ddd6a": "Under takten: utrymme kvar för resten av fönstret",
@@ -11817,11 +11826,14 @@
"09c0e00d7fb55402": "Använder återställningskredit…",
"4df3ff1be768a7ab": "{name}: {remaining} % kvar",
"1b16346722b65812": "{timeLeft} % av fönstret kvar",
- "7aaaff1c6484f25c": "Segment",
"8bcab2ef61de6518": "Tak på 0 $",
+ "3589a07b846a7db3": "{count, plural, one {{count} dolt objekt} other {{count} dolda objekt}}",
+ "21fecf6720b1e0b8": "Fäll ut gränser för {label}",
+ "54414fea4a2d867a": "Fäll ihop gränser för {label}",
"a16b48709357a5a7": "Hantera användning",
"a00e74aaa421c524": "kvar",
"8bd6f07136317c8f": "Ingen leverantör i de valda miljöerna rapporterar abonnemangsgränser.",
+ "f37445c93f099886": "Återställ layout",
"87f5d0c61b335f38": "Visa användning i ChatGPT med ditt anslutna konto.",
"5b4c71b36b979e80": "Kostnad",
"fce17caaa0d1a45b": "Utan pris",
diff --git a/apps/web/src/i18n/translations/zh.json b/apps/web/src/i18n/translations/zh.json
index c86b9e6c55e41..c3e0f8651cfb1 100644
--- a/apps/web/src/i18n/translations/zh.json
+++ b/apps/web/src/i18n/translations/zh.json
@@ -11802,6 +11802,15 @@
"c6cf1b06e0433ca3": "设置进度",
"e0167c02ca493094": "{step},第 {number} 步,{summary}",
"6389dee75a7cb536": "{step},第 {number} 步",
+ "d90b1bcc2e6ed84c": "按空格键选中项目,使用方向键移动,再按空格键放下,或按 Esc 键取消。",
+ "c4924077166151fb": "已选中第 {position} 个位置的项目。",
+ "b6a0057de45c3292": "已移至第 {position} 个位置。",
+ "23d24474135a1c3d": "已放在第 {position} 个位置。",
+ "95f441c73cd33df6": "已取消排序。",
+ "6435447ce7656f13": "显示 {label}",
+ "68e588f6255f796f": "隐藏 {label}",
+ "37effca97ff3fc3a": "调整 {label} 的顺序",
+ "9e8b7675aab946c3": "显示",
"5434b97f68b55d8f": "消耗偏快:用量消耗进度超过本周期的时间进度",
"4e518c48e00f45a9": "与时间进度一致",
"53e1b6487b5ddd6a": "消耗偏慢:本周期剩余时间内还有充足余量",
@@ -11834,11 +11843,14 @@
"09c0e00d7fb55402": "正在使用重置额度…",
"4df3ff1be768a7ab": "{name}:剩余 {remaining}%",
"1b16346722b65812": "窗口剩余 {timeLeft}%",
- "7aaaff1c6484f25c": "分段",
"8bcab2ef61de6518": "上限 $0",
+ "3589a07b846a7db3": "已隐藏 {count} 项",
+ "21fecf6720b1e0b8": "展开 {label} 用量限额",
+ "54414fea4a2d867a": "折叠 {label} 用量限额",
"a16b48709357a5a7": "管理用量",
"a00e74aaa421c524": "剩余",
"8bd6f07136317c8f": "选中的环境上没有提供方报告订阅限制。",
+ "f37445c93f099886": "重置布局",
"87f5d0c61b335f38": "用已连接的账户在 ChatGPT 中查看用量。",
"5b4c71b36b979e80": "费用",
"fce17caaa0d1a45b": "未定价",
diff --git a/docs/user/usage.md b/docs/user/usage.md
index 5160becc21567..5c764623bfd9a 100644
--- a/docs/user/usage.md
+++ b/docs/user/usage.md
@@ -125,15 +125,21 @@ first. For an account with no weekly quota left, this is when its session become
The first available window is used when no account reports a 5-hour limit. A gap means the
account does not report that window. When the provider reports reset times, the card also says
when the next reset lands and how much it hands back. The hatched
-part of a segment is what that reset restores. Tap a segment or account row for the account's plan,
+part of a segment is what that reset restores. Tap a segment for the account's plan,
where it is signed in, and its reset time. On web, you can hover too. Codex and Claude accounts
with banked reset credits show a ticket count and the **Use reset** action in the account details.
Claude resets are not available when the server runs on macOS, where Claude keeps its login in the
-Keychain. On narrow screens, numbered rows below
-the bar show each account's quota, countdown, and credits. Tap a row to open its details.
+Keychain. Account details remain inside the bar at narrow widths too.
The same account signed in on more than one environment, or reported by a hub as well, counts once.
Filter with the environment dropdown to see what a single machine has.
+On web and desktop, hover over a provider or window, or focus it with the keyboard, to reveal
+controls to collapse, hide, and reorder it. A provider with a single limit only has
+provider-level controls. Drag the handle to reorder providers or windows. With the handle
+focused, press Space to pick it up, use the arrow keys to move, and press Space to drop or
+Escape to cancel. Touch devices always show these controls. Hidden items are counted at the
+top of their provider, and hidden providers at the top of the list; choose the count to show
+them again. **Reset layout** restores defaults. These preferences are saved on this device.
When a Claude or Codex account has no overall weekly quota left, its pooled session contribution
shows 0% left. The next refill depends on both reset times: an exhausted session must also reset,