gloomberb 0.20.3 → 0.20.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (154) hide show
  1. package/package.json +1 -1
  2. package/src/account/auth-dialog.tsx +17 -0
  3. package/src/api-client/data.ts +6 -0
  4. package/src/api-client/fx-interventions.ts +64 -0
  5. package/src/api-client/index.ts +1 -0
  6. package/src/api-client/release-summaries.ts +21 -0
  7. package/src/app/keybindings/actions.ts +2 -2
  8. package/src/app/pane-runtime/ticker-open-runtime.ts +245 -66
  9. package/src/cli/commands/market.ts +77 -1
  10. package/src/cli/commands/news-search.ts +1 -3
  11. package/src/cli/commands/plugins.ts +27 -5
  12. package/src/cli/commands/system.ts +19 -3
  13. package/src/cli/commands/ticker.ts +60 -19
  14. package/src/cli/index.ts +8 -8
  15. package/src/cli/pane-functions/function-help.ts +3 -3
  16. package/src/cli/report-tables.ts +18 -6
  17. package/src/cli/result.ts +15 -7
  18. package/src/cli/types.ts +2 -0
  19. package/src/components/chart/composite/axis-overlays.tsx +22 -0
  20. package/src/components/chart/composite/composite-chart.tsx +54 -13
  21. package/src/components/chart/composite/event-captions.ts +109 -0
  22. package/src/components/chart/composite/event-guides.ts +74 -0
  23. package/src/components/chart/composite/rasterizer.ts +2 -0
  24. package/src/components/chart/composite/text-renderer.ts +2 -0
  25. package/src/components/chart/composite/types.ts +31 -0
  26. package/src/components/command-bar/layout-items/focused-pane.ts +5 -5
  27. package/src/components/command-bar/routes/root/provider-search.ts +5 -4
  28. package/src/components/command-bar/routes/ticker-search/results.ts +51 -0
  29. package/src/components/command-bar/routes/ticker-search/route.ts +3 -2
  30. package/src/components/layout/detached-pane-shell.tsx +1 -1
  31. package/src/components/layout/floating-pane.tsx +5 -1
  32. package/src/components/layout/pane/footer/index.tsx +21 -14
  33. package/src/components/layout/pane/footer/model.ts +6 -0
  34. package/src/components/layout/shell/action-menu-overlay.tsx +10 -5
  35. package/src/components/layout/shell/active-drag.ts +149 -105
  36. package/src/components/layout/shell/drag/drop-zones.ts +162 -0
  37. package/src/components/layout/shell/drag/index.ts +47 -218
  38. package/src/components/layout/shell/drag/live.ts +10 -3
  39. package/src/components/layout/shell/drag/overlays.tsx +182 -5
  40. package/src/components/layout/shell/drag/runtime.ts +29 -6
  41. package/src/components/layout/shell/drag/shared-edges.ts +156 -0
  42. package/src/components/layout/shell/index.tsx +11 -6
  43. package/src/components/layout/shell/menu.ts +11 -2
  44. package/src/components/layout/shell/native/pointer-runtime.ts +25 -0
  45. package/src/components/layout/shell/native/window-state.ts +2 -2
  46. package/src/components/layout/shell/pane/layers.tsx +71 -7
  47. package/src/components/layout/shell/terminal-pointer-runtime.ts +18 -9
  48. package/src/components/layout/shell/window-mode/index.ts +8 -10
  49. package/src/components/layout/window-edit/mode.ts +39 -7
  50. package/src/components/layout/window-edit/presentation.ts +1 -1
  51. package/src/components/onboarding/onboarding-keyboard.ts +4 -0
  52. package/src/components/onboarding/onboarding-wizard.tsx +8 -3
  53. package/src/components/ui/button.tsx +2 -0
  54. package/src/components/ui/choice-dialog.tsx +1 -0
  55. package/src/components/ui/data-table/index.tsx +4 -3
  56. package/src/components/ui/list-view.tsx +7 -12
  57. package/src/components/ui/loading.tsx +10 -3
  58. package/src/components/ui/menu.tsx +6 -2
  59. package/src/components/ui/quote.ts +14 -1
  60. package/src/data/config/layout.ts +5 -2
  61. package/src/docs/snapshot.json +29 -5
  62. package/src/i18n/es.ts +9 -8
  63. package/src/i18n/ja.ts +9 -8
  64. package/src/i18n/ko.ts +9 -8
  65. package/src/i18n/zh-cn.ts +9 -8
  66. package/src/i18n/zh-tw.ts +9 -8
  67. package/src/layout/pane-manager/floating-actions.ts +17 -0
  68. package/src/layout/pane-manager/floating-stack.ts +187 -0
  69. package/src/layout/pane-manager/floating.ts +4 -2
  70. package/src/layout/pane-manager/gridlock.ts +5 -1
  71. package/src/layout/pane-manager/index.ts +11 -0
  72. package/src/layout/pane-manager/layout-state.ts +10 -3
  73. package/src/market-data/futures-board.ts +46 -1
  74. package/src/market-data/futures-contract.ts +12 -3
  75. package/src/market-data/fx-interventions.ts +270 -0
  76. package/src/news/news-model.ts +44 -2
  77. package/src/plugins/builtin/alerts/cli.ts +4 -4
  78. package/src/plugins/builtin/alerts/format.ts +1 -2
  79. package/src/plugins/builtin/alerts/headless.ts +1 -2
  80. package/src/plugins/builtin/alerts/move-checks.ts +12 -6
  81. package/src/plugins/builtin/alerts/move.ts +30 -9
  82. package/src/plugins/builtin/alerts/pane.tsx +0 -2
  83. package/src/plugins/builtin/alerts/storage.ts +4 -2
  84. package/src/plugins/builtin/alerts/types.ts +12 -0
  85. package/src/plugins/builtin/changelog/index.tsx +292 -101
  86. package/src/plugins/builtin/changelog/versions.ts +293 -0
  87. package/src/plugins/builtin/chart-composer/intervention-events.ts +105 -0
  88. package/src/plugins/builtin/chart-composer/pane.tsx +21 -7
  89. package/src/plugins/builtin/chat/message/render-state.ts +2 -5
  90. package/src/plugins/builtin/cloud/askg/attached-pane.tsx +10 -5
  91. package/src/plugins/builtin/cloud/askg/controller.ts +141 -5
  92. package/src/plugins/builtin/cloud/askg/executor.ts +113 -4
  93. package/src/plugins/builtin/cloud/askg/manifest.ts +28 -13
  94. package/src/plugins/builtin/cloud/askg/model.ts +14 -4
  95. package/src/plugins/builtin/cloud/askg/pane.tsx +70 -46
  96. package/src/plugins/builtin/cloud/askg/turn-parts.tsx +70 -0
  97. package/src/plugins/builtin/cloud/terminal-relay/engine.ts +50 -130
  98. package/src/plugins/builtin/cloud/terminal-relay/policy.ts +327 -7
  99. package/src/plugins/builtin/cloud/terminal-relay/prompts.tsx +2 -1
  100. package/src/plugins/builtin/cloud/terminal-relay/redact.ts +47 -6
  101. package/src/plugins/builtin/commodities-energy/index.tsx +1 -3
  102. package/src/plugins/builtin/commodities-energy/view-state.ts +3 -0
  103. package/src/plugins/builtin/cot/headless.ts +14 -2
  104. package/src/plugins/builtin/earnings/index.tsx +2 -2
  105. package/src/plugins/builtin/futures/index.tsx +25 -4
  106. package/src/plugins/builtin/futures/model.ts +28 -32
  107. package/src/plugins/builtin/futures/series.ts +4 -3
  108. package/src/plugins/builtin/futures/table.tsx +16 -9
  109. package/src/plugins/builtin/futures/use-board-terms.ts +3 -3
  110. package/src/plugins/builtin/help/index.tsx +3 -3
  111. package/src/plugins/builtin/help/keybindings-editor.tsx +18 -4
  112. package/src/plugins/builtin/layout-manager/index.tsx +8 -8
  113. package/src/plugins/builtin/news/headless.ts +2 -2
  114. package/src/plugins/builtin/news/index.tsx +3 -3
  115. package/src/plugins/builtin/perps/markets-section.tsx +5 -2
  116. package/src/plugins/builtin/plugin-marketplace/pane.tsx +11 -11
  117. package/src/plugins/builtin/portfolio-list/summary/index.tsx +3 -1
  118. package/src/plugins/builtin/research/event-model.ts +9 -1
  119. package/src/plugins/builtin/research/event-sources.ts +22 -0
  120. package/src/plugins/builtin/research/headless.ts +3 -3
  121. package/src/plugins/builtin/shared/cloud-upgrade.ts +27 -3
  122. package/src/plugins/builtin/ticker-detail/overview/components.tsx +54 -5
  123. package/src/plugins/builtin/ticker-detail/overview-tab.tsx +28 -13
  124. package/src/plugins/builtin/ticker-detail/pane.tsx +7 -2
  125. package/src/plugins/installer.ts +45 -0
  126. package/src/remote/resources.ts +12 -1
  127. package/src/remote/schema.ts +1 -0
  128. package/src/remote/semantic-helpers.ts +29 -1
  129. package/src/remote/semantic-tree.tsx +32 -15
  130. package/src/renderers/cloudflare/worker.ts +16 -1
  131. package/src/renderers/dom/styles.css +40 -6
  132. package/src/renderers/share/layout-view.tsx +1 -1
  133. package/src/sources/gloomberb-cloud/news.ts +35 -12
  134. package/src/state/opening-ticker-panes.ts +47 -0
  135. package/src/test-support/cli-context.ts +2 -0
  136. package/src/test-support/preload.ts +4 -1
  137. package/src/tickers/instrument-kind.ts +23 -3
  138. package/src/types/config.ts +5 -0
  139. package/src/types/context-menu.ts +2 -0
  140. package/src/types/plugin-commands.ts +140 -0
  141. package/src/types/plugin-context.ts +125 -0
  142. package/src/types/plugin-contributions.ts +55 -0
  143. package/src/types/plugin-definition.ts +234 -0
  144. package/src/types/plugin-notifications.ts +38 -0
  145. package/src/types/plugin-pane-settings.ts +114 -0
  146. package/src/types/plugin-pane-templates.ts +160 -0
  147. package/src/types/plugin-panes.ts +221 -0
  148. package/src/types/plugin-reports.ts +35 -0
  149. package/src/types/plugin-shared.ts +14 -0
  150. package/src/types/plugin-state.ts +71 -0
  151. package/src/types/plugin.ts +14 -1169
  152. package/src/ui/index.tsx +14 -3
  153. package/src/updater/github-releases.ts +23 -0
  154. package/src/utils/cli-output.ts +22 -9
@@ -1,11 +1,24 @@
1
+ import { blendHex, colors } from "../../theme/colors";
1
2
  import { CARD_ACCENT_RULE } from "./card";
2
3
 
4
+ /** How far a quote's band leans toward the colour it belongs to, in percent. */
5
+ const ACCENT_TINT_PERCENT = 7;
6
+
3
7
  /**
4
8
  * Desktop and web: the faint tint of the colour a quote or a band belongs to,
5
9
  * laid over whatever surface is under it.
6
10
  */
7
11
  export function accentTint(accent = "var(--gloom-accent)") {
8
- return `color-mix(in srgb, ${accent} 7%, transparent)`;
12
+ return `color-mix(in srgb, ${accent} ${ACCENT_TINT_PERCENT}%, transparent)`;
13
+ }
14
+
15
+ /**
16
+ * Terminal: the same tint over the background, as a cell colour. A band the
17
+ * terminal draws for a quote takes it, with the accent rule as a heavy line
18
+ * down its first column.
19
+ */
20
+ export function terminalAccentTint(palette: { bg: string; borderFocused: string } = colors, accent = palette.borderFocused) {
21
+ return blendHex(palette.bg, accent, ACCENT_TINT_PERCENT / 100);
9
22
  }
10
23
 
11
24
  /**
@@ -20,6 +20,7 @@ import {
20
20
  removeUnreachablePaneInstances,
21
21
  } from "../../types/config";
22
22
  import { compactFloatingZ } from "../../layout/pane-manager/floating";
23
+ import { alignFloatingStacks } from "../../layout/pane-manager/floating-stack";
23
24
  import {
24
25
  migrateChartPaneSettings,
25
26
  type LegacyChartMigrationContext,
@@ -257,8 +258,10 @@ function sanitizeFloatingEntries(value: unknown, validInstanceIds: Set<string>):
257
258
  height: Math.max(1, Math.round(entry.height)),
258
259
  zIndex: typeof entry.zIndex === "number" ? Math.round(entry.zIndex) : entry.zIndex,
259
260
  }));
260
- // A stack raised past the shell's menus and previews in an older session is renumbered in the same order.
261
- return compactFloatingZ(entries);
261
+ // A stack raised past the shell's menus and previews in an older session is
262
+ // renumbered in the same order. Windows stacked as tabs share the rect of
263
+ // the one they show, whatever a client that does not know stacks did.
264
+ return compactFloatingZ(alignFloatingStacks(entries));
262
265
  }
263
266
 
264
267
  function sanitizeDetachedEntries(value: unknown, validInstanceIds: Set<string>): LayoutConfig["detached"] {
@@ -2544,6 +2544,9 @@
2544
2544
  "tags": [
2545
2545
  "PF",
2546
2546
  "portfolio",
2547
+ "currency",
2548
+ "TRY",
2549
+ "cost FX",
2547
2550
  "target weights",
2548
2551
  "drift",
2549
2552
  "rebalance",
@@ -2577,6 +2580,23 @@
2577
2580
  "type": "code",
2578
2581
  "code": "gloom portfolio create Core\ngloom portfolio position set Core VTI 40 280\ngloom portfolio position set Core BND 60 72\ngloom portfolio cash set Core 2000 USD"
2579
2582
  },
2583
+ {
2584
+ "type": "heading",
2585
+ "level": 2,
2586
+ "text": "A portfolio in another currency"
2587
+ },
2588
+ {
2589
+ "type": "paragraph",
2590
+ "text": "A portfolio totals in your base currency unless you give it its own. Holdings in other currencies are converted into it:"
2591
+ },
2592
+ {
2593
+ "type": "code",
2594
+ "code": "gloom portfolio create Lira --currency TRY\ngloom portfolio position set Lira THYAO 100 280 # a BIST stock, cost in TRY\ngloom portfolio position set Lira BRK-B 10 20310 TRY # a US stock at what it cost in lira\ngloom portfolio position set Lira BRK-B 10 410 USD --date 2024-03-01 # or in dollars, converted at that day's FX close\ngloom portfolio position set Lira KO 40 62.50 USD --cost-fx 32.15 # or at the rate you paid, TRY per USD\ngloom portfolio show Lira --from 2025-11-06 # P&L since a date, with the currency's move on its own line"
2595
+ },
2596
+ {
2597
+ "type": "paragraph",
2598
+ "text": "A cost in the holding's own currency without `--date` or `--cost-fx` converts at today's rate, and `portfolio show` names the holdings it does that for. Use the date or the rate so P&L carries the currency's move since you bought. A name whose last word is a currency code in capitals (`Baht THB`) creates the portfolio in that currency too."
2599
+ },
2580
2600
  {
2581
2601
  "type": "heading",
2582
2602
  "level": 2,
@@ -5736,8 +5756,8 @@
5736
5756
  "Earnings dates; a currency into your base currency"
5737
5757
  ],
5738
5758
  [
5739
- "`econ [--country US|G7|EU|all] [--impact high|medium|low|all]`",
5740
- "Economic calendar"
5759
+ "`econ [--country all|US|G7|EU|<codes>] [--impact high|medium|low|all] [--search <words>] [--from <date>] [--tz <zone>]`",
5760
+ "Economic calendar; `--country` also takes countries by their two-letter codes, comma separated (`TR`, `MX,BR,ZA`), and `--from` an earlier day lists past events with their actuals"
5741
5761
  ],
5742
5762
  [
5743
5763
  "`fred <series>`, `yield-curve`",
@@ -5763,15 +5783,19 @@
5763
5783
  "rows": [
5764
5784
  [
5765
5785
  "`portfolio list|show|create|delete <name>`",
5766
- "Manual portfolios; `show` lists value, weight, a year of dividend income and its yield, target, drift and the trade to rebalance; `show --explain` adds what those terms mean, and `show --drip [--years 1-5] [--withholding <pct>]` projects reinvested dividends"
5786
+ "Manual portfolios; `show` lists value, weight, a year of dividend income and its yield, target, drift and the trade to rebalance; `show --explain` adds what those terms mean, `show --drip [--years 1-5] [--withholding <pct>]` projects reinvested dividends, and `show --from <date> [--to <date>]` gives the P&L between two closes with the FX move"
5787
+ ],
5788
+ [
5789
+ "`portfolio create <name> --currency <code>`",
5790
+ "A portfolio that totals in another currency than your base currency (`--currency TRY`); a name's last word in capitals (`Baht THB`) is read as one too"
5767
5791
  ],
5768
5792
  [
5769
5793
  "`portfolio add|remove <portfolio> <symbols...> [--file <csv|txt>]`",
5770
5794
  "Add or remove tickers: several at once (commas, spaces or lines), a CSV or text file, or piped input (`-`); one line per symbol and a summary of what was not found"
5771
5795
  ],
5772
5796
  [
5773
- "`portfolio position set <portfolio> <symbol> <shares> <avg-cost> [currency]`",
5774
- "Set a position"
5797
+ "`portfolio position set <portfolio> <symbol> <shares> <avg-cost> [currency] [--date <purchase date> | --cost-fx <rate>]`",
5798
+ "Set a position. The cost is in the currency named after it, else the listing's. A holding in another currency than the portfolio's can be entered at its cost in the portfolio's currency, or in its own with `--date` (that day's FX close) or `--cost-fx` (the rate paid, portfolio currency per unit of the holding's), so P&L carries the currency's move"
5775
5799
  ],
5776
5800
  [
5777
5801
  "`portfolio import <file> [--name <portfolio>] [--merge|--replace] [--dry-run]`",
package/src/i18n/es.ts CHANGED
@@ -242,7 +242,7 @@ export const es: Record<string, string> = {
242
242
  "Duplicate Pane": "Duplicar panel",
243
243
  "Remove Pane": "Quitar panel",
244
244
  "Float Pane": "Flotar panel",
245
- "Dock Pane": "Anclar panel",
245
+ "Return to Layout": "Volver al diseño",
246
246
  "Move to New Layout": "Mover a un diseño nuevo",
247
247
  "Move Back to {layout}": "Devolver a {layout}",
248
248
  "Settings": "Ajustes",
@@ -270,8 +270,8 @@ export const es: Record<string, string> = {
270
270
  "Create a new layout": "Crear un nuevo diseño",
271
271
  "Rename the current layout preset": "Renombrar el diseño predefinido actual",
272
272
  "Delete the current layout preset": "Eliminar el diseño predefinido actual",
273
- "Detach a docked pane into a floating window": "Separar un panel anclado a una ventana flotante",
274
- "Dock a floating pane back into the layout": "Anclar de nuevo un panel flotante al diseño",
273
+ "Take a pane out of the layout into a floating window": "Sacar un panel del diseño a una ventana flotante",
274
+ "Put a floating pane back into the layout": "Devolver un panel flotante al diseño",
275
275
  "Remove a pane from the layout": "Quitar un panel del diseño",
276
276
  "Swap two pane positions": "Intercambiar la posición de dos paneles",
277
277
  "Arrange all visible panes into a tiled grid": "Organizar los paneles visibles en una cuadrícula",
@@ -560,10 +560,10 @@ export const es: Record<string, string> = {
560
560
  "Copy the active terminal selection.": "Copiar la selección activa del terminal.",
561
561
  "Paste clipboard text into the active input.": "Pegar el portapapeles en la entrada activa.",
562
562
  "Restart into a downloaded app update, or retry one that failed.": "Reinicia con una actualización descargada o reintenta una fallida.",
563
- "Close the focused pane, docked or floating.": "Cerrar el panel activo, anclado o flotante.",
563
+ "Close the focused pane, in the layout or floating. Locked panes stay open.": "Cerrar el panel activo, en el diseño o flotante. Los paneles bloqueados siguen abiertos.",
564
564
  "Close all floating panes.": "Cerrar todos los paneles flotantes.",
565
565
  "Edit settings for the focused pane.": "Editar los ajustes del panel activo.",
566
- "Dock or float the focused pane.": "Anclar o hacer flotante el panel activo.",
566
+ "Float the focused pane, or return it to the layout.": "Hacer flotar el panel activo o devolverlo al diseño.",
567
567
  "Pop the focused pane out to a desktop window.": "Extraer el panel activo a una ventana de escritorio.",
568
568
  "Copy a screenshot of the focused pane.": "Copiar una captura del panel activo.",
569
569
  "Open layout actions.": "Abrir acciones de diseño.",
@@ -572,8 +572,8 @@ export const es: Record<string, string> = {
572
572
  "Cancel an active pane drag.": "Cancelar el arrastre de panel activo.",
573
573
  "Close the focused pane when nothing is being dragged.": "Cerrar el panel activo cuando no se arrastra nada.",
574
574
  "Switch between move and resize.": "Alternar entre mover y redimensionar.",
575
- "Dock or float the selected window.": "Anclar o hacer flotante la ventana seleccionada.",
576
- "Move, resize, or choose a dock target.": "Mover, redimensionar o elegir destino de anclaje.",
575
+ "Float the selected window, or return it to the layout.": "Hacer flotar la ventana seleccionada o devolverla al diseño.",
576
+ "Move, resize, or choose where it goes in the layout.": "Mover, redimensionar o elegir dónde va en el diseño.",
577
577
  "Use larger move and resize steps with direction keys.": "Usar pasos más grandes con las teclas de dirección.",
578
578
  "Cycle windows or resize handles.": "Alternar ventanas o controles de tamaño.",
579
579
  "Commit pending changes or exit window mode.": "Confirmar cambios pendientes o salir del modo ventana.",
@@ -612,7 +612,6 @@ export const es: Record<string, string> = {
612
612
  "Open ticker search": "Abrir búsqueda de tickers",
613
613
  "Switch between panels": "Cambiar entre paneles",
614
614
  "Close the focused pane": "Cerrar el panel activo",
615
- "Dock or float the focused pane": "Anclar o hacer flotante el panel activo",
616
615
  "Quit": "Salir",
617
616
  "Open security details": "Abrir detalles del valor",
618
617
  "Switch theme": "Cambiar tema",
@@ -1549,6 +1548,7 @@ export const es: Record<string, string> = {
1549
1548
  "Transcripts, summaries, guidance and scores.": "Transcripciones, resúmenes, guías y puntuaciones.",
1550
1549
  "YOUR WORKSPACE": "TU ESPACIO DE TRABAJO",
1551
1550
  "Your holdings as a heatmap, a watchlist, and {ticker} charted. Every pane moves; {shortcut} adds more.": "Tus posiciones como mapa de calor, una lista de seguimiento y el gráfico de {ticker}. Cada panel se mueve; {shortcut} añade más.",
1551
+ "A watchlist, the top news, and {ticker} charted. Every pane moves; {shortcut} adds more.": "Una lista de seguimiento, las noticias principales y el gráfico de {ticker}. Cada panel se mueve; {shortcut} añade más.",
1552
1552
  "b: sign in with the browser instead": "b: iniciar sesión con el navegador",
1553
1553
  "Esc, then b: sign in with the browser instead": "Esc y luego b: iniciar sesión con el navegador",
1554
1554
  "Sign in with the browser instead": "Iniciar sesión con el navegador",
@@ -1565,6 +1565,7 @@ export const es: Record<string, string> = {
1565
1565
  "FX & macro": "Divisas y macro",
1566
1566
  "Active trading": "Trading activo",
1567
1567
  "Your holdings as a heatmap, a watchlist, and {ticker} charted. Your desks are tabs at the bottom; {shortcut} adds more.": "Tus posiciones como mapa de calor, una lista de seguimiento y el gráfico de {ticker}. Tus mesas son pestañas abajo; {shortcut} añade más.",
1568
+ "A watchlist, the top news, and {ticker} charted. Your desks are tabs at the bottom; {shortcut} adds more.": "Una lista de seguimiento, las noticias principales y el gráfico de {ticker}. Tus mesas son pestañas abajo; {shortcut} añade más.",
1568
1569
  // ── Upgrade sheet ─────────────────────────────────────────
1569
1570
  "Start free trial": "Iniciar prueba gratis",
1570
1571
  "Your last payment didn't go through": "Tu último pago no se completó",
package/src/i18n/ja.ts CHANGED
@@ -243,7 +243,7 @@ export const ja: Record<string, string> = {
243
243
  "Duplicate Pane": "ペインを複製",
244
244
  "Remove Pane": "ペインを削除",
245
245
  "Float Pane": "ペインをフロート",
246
- "Dock Pane": "ペインをドッキング",
246
+ "Return to Layout": "レイアウトに戻す",
247
247
  "Move to New Layout": "新しいレイアウトへ移動",
248
248
  "Move Back to {layout}": "{layout} に戻す",
249
249
  "Settings": "設定",
@@ -271,8 +271,8 @@ export const ja: Record<string, string> = {
271
271
  "Create a new layout": "新しいレイアウトを作成する",
272
272
  "Rename the current layout preset": "現在のレイアウト プリセットの名前を変更します",
273
273
  "Delete the current layout preset": "現在のレイアウト プリセットを削除します",
274
- "Detach a docked pane into a floating window": "ドッキングされたペインをフローティング ウィンドウに切り離します",
275
- "Dock a floating pane back into the layout": "フローティング ペインをレイアウトにドッキングして戻す",
274
+ "Take a pane out of the layout into a floating window": "ペインをレイアウトから出してフローティング ウィンドウにします",
275
+ "Put a floating pane back into the layout": "フローティング ペインをレイアウトに戻す",
276
276
  "Remove a pane from the layout": "レイアウトからペインを削除します",
277
277
  "Swap two pane positions": "2 つのペインの位置を交換します",
278
278
  "Arrange all visible panes into a tiled grid": "表示されているすべてのペインをタイル状のグリッドに配置します",
@@ -561,10 +561,10 @@ export const ja: Record<string, string> = {
561
561
  "Copy the active terminal selection.": "アクティブな端末の選択をコピーします。",
562
562
  "Paste clipboard text into the active input.": "クリップボードのテキストをアクティブな入力に貼り付けます。",
563
563
  "Restart into a downloaded app update, or retry one that failed.": "ダウンロード済みのアップデートで再起動するか、失敗したアップデートを再試行します。",
564
- "Close the focused pane, docked or floating.": "フォーカスされたペインをドッキングまたはフローティング状態で閉じます。",
564
+ "Close the focused pane, in the layout or floating. Locked panes stay open.": "フォーカスされたペインを、レイアウト内でもフローティングでも閉じます。ロックされたペインは開いたままです。",
565
565
  "Close all floating panes.": "すべてのフローティング ペインを閉じます。",
566
566
  "Edit settings for the focused pane.": "フォーカスされたペインの設定を編集します。",
567
- "Dock or float the focused pane.": "フォーカスされたペインをドッキングまたはフローティングします。",
567
+ "Float the focused pane, or return it to the layout.": "フォーカスされたペインをフロートするか、レイアウトに戻します。",
568
568
  "Pop the focused pane out to a desktop window.": "フォーカスされたペインをデスクトップ ウィンドウにポップアウトします。",
569
569
  "Copy a screenshot of the focused pane.": "フォーカスされたペインのスクリーンショットをコピーします。",
570
570
  "Open layout actions.": "レイアウト アクションを開きます。",
@@ -573,8 +573,8 @@ export const ja: Record<string, string> = {
573
573
  "Cancel an active pane drag.": "アクティブなペインのドラッグをキャンセルします。",
574
574
  "Close the focused pane when nothing is being dragged.": "何もドラッグしていない場合は、フォーカスされたペインを閉じます。",
575
575
  "Switch between move and resize.": "移動とサイズ変更を切り替えます。",
576
- "Dock or float the selected window.": "選択したウィンドウをドッキングまたはフローティングにします。",
577
- "Move, resize, or choose a dock target.": "ドック ターゲットを移動、サイズ変更、または選択します。",
576
+ "Float the selected window, or return it to the layout.": "選択したウィンドウをフロートするか、レイアウトに戻します。",
577
+ "Move, resize, or choose where it goes in the layout.": "移動、サイズ変更、またはレイアウト内の置き場所を選択します。",
578
578
  "Use larger move and resize steps with direction keys.": "方向キーを使用して、より大きな移動とサイズ変更のステップを使用します。",
579
579
  "Cycle windows or resize handles.": "ウィンドウを循環させるか、ハンドルのサイズを変更します。",
580
580
  "Commit pending changes or exit window mode.": "保留中の変更をコミットするか、ウィンドウ モードを終了します。",
@@ -613,7 +613,6 @@ export const ja: Record<string, string> = {
613
613
  "Open ticker search": "銘柄検索を開く",
614
614
  "Switch between panels": "パネル間の切り替え",
615
615
  "Close the focused pane": "フォーカスされたペインを閉じる",
616
- "Dock or float the focused pane": "フォーカスされたペインをドッキングまたはフローティングします",
617
616
  "Quit": "終了",
618
617
  "Open security details": "銘柄詳細を開く",
619
618
  "Switch theme": "テーマの切り替え",
@@ -1546,6 +1545,7 @@ export const ja: Record<string, string> = {
1546
1545
  "Transcripts, summaries, guidance and scores.": "書き起こし、要約、ガイダンス、スコア。",
1547
1546
  "YOUR WORKSPACE": "あなたのワークスペース",
1548
1547
  "Your holdings as a heatmap, a watchlist, and {ticker} charted. Every pane moves; {shortcut} adds more.": "保有銘柄のヒートマップ、ウォッチリスト、{ticker} のチャート。ペインは自由に動かせ、{shortcut} で追加できます。",
1548
+ "A watchlist, the top news, and {ticker} charted. Every pane moves; {shortcut} adds more.": "ウォッチリスト、トップニュース、{ticker} のチャート。ペインは自由に動かせ、{shortcut} で追加できます。",
1549
1549
  "b: sign in with the browser instead": "b: ブラウザーでサインイン",
1550
1550
  "Esc, then b: sign in with the browser instead": "Esc のあと b: ブラウザーでサインイン",
1551
1551
  "Sign in with the browser instead": "ブラウザーでサインイン",
@@ -1562,6 +1562,7 @@ export const ja: Record<string, string> = {
1562
1562
  "FX & macro": "為替・マクロ",
1563
1563
  "Active trading": "アクティブトレード",
1564
1564
  "Your holdings as a heatmap, a watchlist, and {ticker} charted. Your desks are tabs at the bottom; {shortcut} adds more.": "保有銘柄のヒートマップ、ウォッチリスト、{ticker} のチャート。デスクは下部のタブにあり、{shortcut} で追加できます。",
1565
+ "A watchlist, the top news, and {ticker} charted. Your desks are tabs at the bottom; {shortcut} adds more.": "ウォッチリスト、トップニュース、{ticker} のチャート。デスクは下部のタブにあり、{shortcut} で追加できます。",
1565
1566
  // ── Upgrade sheet ─────────────────────────────────────────
1566
1567
  "Start free trial": "無料トライアルを開始",
1567
1568
  "Your last payment didn't go through": "前回のお支払いが完了しませんでした",
package/src/i18n/ko.ts CHANGED
@@ -241,7 +241,7 @@ export const ko: Record<string, string> = {
241
241
  "Duplicate Pane": "패널 복제",
242
242
  "Remove Pane": "패널 제거",
243
243
  "Float Pane": "패널 띄우기",
244
- "Dock Pane": "패널 도킹",
244
+ "Return to Layout": "레이아웃으로 되돌리기",
245
245
  "Move to New Layout": "새 레이아웃으로 이동",
246
246
  "Move Back to {layout}": "{layout}(으)로 되돌리기",
247
247
  "Settings": "설정",
@@ -269,8 +269,8 @@ export const ko: Record<string, string> = {
269
269
  "Create a new layout": "새 레이아웃 만들기",
270
270
  "Rename the current layout preset": "현재 레이아웃 사전 설정 이름 바꾸기",
271
271
  "Delete the current layout preset": "현재 레이아웃 사전 설정 삭제",
272
- "Detach a docked pane into a floating window": "도킹된 패널을 플로팅 창으로 분리",
273
- "Dock a floating pane back into the layout": "플로팅 패널을 레이아웃에 다시 도킹",
272
+ "Take a pane out of the layout into a floating window": "패널을 레이아웃에서 꺼내 플로팅 창으로 만들기",
273
+ "Put a floating pane back into the layout": "플로팅 패널을 레이아웃에 다시 넣기",
274
274
  "Remove a pane from the layout": "레이아웃에서 패널 제거",
275
275
  "Swap two pane positions": "두 패널 위치 교환",
276
276
  "Arrange all visible panes into a tiled grid": "표시된 모든 패널을 격자로 정렬",
@@ -559,10 +559,10 @@ export const ko: Record<string, string> = {
559
559
  "Copy the active terminal selection.": "활성 터미널 선택을 복사합니다.",
560
560
  "Paste clipboard text into the active input.": "클립보드 텍스트를 활성 입력에 붙여넣습니다.",
561
561
  "Restart into a downloaded app update, or retry one that failed.": "다운로드한 업데이트로 다시 시작하거나, 실패한 업데이트를 다시 시도합니다.",
562
- "Close the focused pane, docked or floating.": "도킹 또는 플로팅된 포커스 패널을 닫습니다.",
562
+ "Close the focused pane, in the layout or floating. Locked panes stay open.": "레이아웃 안이든 플로팅이든 포커스 패널을 닫습니다. 잠긴 패널은 열린 채로 둡니다.",
563
563
  "Close all floating panes.": "모든 플로팅 패널을 닫습니다.",
564
564
  "Edit settings for the focused pane.": "포커스 패널 설정을 편집합니다.",
565
- "Dock or float the focused pane.": "포커스 패널을 도킹하거나 띄웁니다.",
565
+ "Float the focused pane, or return it to the layout.": "포커스 패널을 띄우거나 레이아웃으로 되돌립니다.",
566
566
  "Pop the focused pane out to a desktop window.": "포커스 패널을 데스크톱 창으로 분리합니다.",
567
567
  "Copy a screenshot of the focused pane.": "포커스 패널의 스크린샷을 복사합니다.",
568
568
  "Open layout actions.": "레이아웃 작업을 엽니다.",
@@ -571,8 +571,8 @@ export const ko: Record<string, string> = {
571
571
  "Cancel an active pane drag.": "진행 중인 패널 드래그를 취소합니다.",
572
572
  "Close the focused pane when nothing is being dragged.": "드래그 중이 아닐 때 포커스 패널을 닫습니다.",
573
573
  "Switch between move and resize.": "이동과 크기 조정 사이를 전환합니다.",
574
- "Dock or float the selected window.": "선택한 창을 도킹하거나 띄웁니다.",
575
- "Move, resize, or choose a dock target.": "이동·크기 조절 또는 도킹 대상을 선택합니다.",
574
+ "Float the selected window, or return it to the layout.": "선택한 창을 띄우거나 레이아웃으로 되돌립니다.",
575
+ "Move, resize, or choose where it goes in the layout.": "이동, 크기 조절 또는 레이아웃에서 들어갈 위치를 선택합니다.",
576
576
  "Use larger move and resize steps with direction keys.": "방향키로 더 큰 단위로 이동하거나 크기를 조절합니다.",
577
577
  "Cycle windows or resize handles.": "창 또는 크기 조절점을 순환합니다.",
578
578
  "Commit pending changes or exit window mode.": "변경 사항을 적용하거나 창 모드를 종료합니다.",
@@ -611,7 +611,6 @@ export const ko: Record<string, string> = {
611
611
  "Open ticker search": "종목 검색 열기",
612
612
  "Switch between panels": "패널 간 전환",
613
613
  "Close the focused pane": "포커스 패널 닫기",
614
- "Dock or float the focused pane": "포커스 패널 도킹 또는 띄우기",
615
614
  "Quit": "종료",
616
615
  "Open security details": "종목 상세 정보 열기",
617
616
  "Switch theme": "테마 전환",
@@ -1544,6 +1543,7 @@ export const ko: Record<string, string> = {
1544
1543
  "Transcripts, summaries, guidance and scores.": "전문, 요약, 가이던스, 점수.",
1545
1544
  "YOUR WORKSPACE": "내 워크스페이스",
1546
1545
  "Your holdings as a heatmap, a watchlist, and {ticker} charted. Every pane moves; {shortcut} adds more.": "보유 종목 히트맵, 관심 목록, {ticker} 차트. 모든 패널을 옮길 수 있고 {shortcut}로 더 추가합니다.",
1546
+ "A watchlist, the top news, and {ticker} charted. Every pane moves; {shortcut} adds more.": "관심 목록, 주요 뉴스, {ticker} 차트. 모든 패널을 옮길 수 있고 {shortcut}로 더 추가합니다.",
1547
1547
  "b: sign in with the browser instead": "b: 브라우저로 로그인",
1548
1548
  "Esc, then b: sign in with the browser instead": "Esc 다음 b: 브라우저로 로그인",
1549
1549
  "Sign in with the browser instead": "브라우저로 로그인",
@@ -1560,6 +1560,7 @@ export const ko: Record<string, string> = {
1560
1560
  "FX & macro": "외환 및 매크로",
1561
1561
  "Active trading": "액티브 트레이딩",
1562
1562
  "Your holdings as a heatmap, a watchlist, and {ticker} charted. Your desks are tabs at the bottom; {shortcut} adds more.": "보유 종목 히트맵, 관심 목록, {ticker} 차트. 데스크는 하단 탭에 있고 {shortcut}로 더 추가합니다.",
1563
+ "A watchlist, the top news, and {ticker} charted. Your desks are tabs at the bottom; {shortcut} adds more.": "관심 목록, 주요 뉴스, {ticker} 차트. 데스크는 하단 탭에 있고 {shortcut}로 더 추가합니다.",
1563
1564
  // ── Upgrade sheet ─────────────────────────────────────────
1564
1565
  "Start free trial": "무료 체험 시작",
1565
1566
  "Your last payment didn't go through": "지난 결제가 처리되지 않았습니다",
package/src/i18n/zh-cn.ts CHANGED
@@ -243,7 +243,7 @@ export const zhCN: Record<string, string> = {
243
243
  "Duplicate Pane": "复制面板",
244
244
  "Remove Pane": "移除面板",
245
245
  "Float Pane": "浮动面板",
246
- "Dock Pane": "停靠面板",
246
+ "Return to Layout": "返回布局",
247
247
  "Move to New Layout": "移到新布局",
248
248
  "Move Back to {layout}": "移回 {layout}",
249
249
  "Settings": "设置",
@@ -271,8 +271,8 @@ export const zhCN: Record<string, string> = {
271
271
  "Create a new layout": "创建新布局",
272
272
  "Rename the current layout preset": "重命名当前布局预设",
273
273
  "Delete the current layout preset": "删除当前布局预设",
274
- "Detach a docked pane into a floating window": "把停靠面板拆分为浮动窗口",
275
- "Dock a floating pane back into the layout": "把浮动面板停靠回布局",
274
+ "Take a pane out of the layout into a floating window": "把面板从布局移到浮动窗口",
275
+ "Put a floating pane back into the layout": "把浮动面板放回布局",
276
276
  "Remove a pane from the layout": "从布局中移除面板",
277
277
  "Swap two pane positions": "交换两个面板的位置",
278
278
  "Arrange all visible panes into a tiled grid": "将所有可见面板平铺排列",
@@ -561,10 +561,10 @@ export const zhCN: Record<string, string> = {
561
561
  "Copy the active terminal selection.": "复制当前终端选中内容。",
562
562
  "Paste clipboard text into the active input.": "把剪贴板文本粘贴到当前输入框。",
563
563
  "Restart into a downloaded app update, or retry one that failed.": "使用已下载的更新重启,或重试失败的更新。",
564
- "Close the focused pane, docked or floating.": "关闭聚焦面板(停靠或浮动)。",
564
+ "Close the focused pane, in the layout or floating. Locked panes stay open.": "关闭聚焦面板(在布局中或浮动)。锁定的面板保持打开。",
565
565
  "Close all floating panes.": "关闭所有浮动面板。",
566
566
  "Edit settings for the focused pane.": "编辑聚焦面板的设置。",
567
- "Dock or float the focused pane.": "停靠或浮动聚焦面板。",
567
+ "Float the focused pane, or return it to the layout.": "浮动聚焦面板,或将其返回布局。",
568
568
  "Pop the focused pane out to a desktop window.": "把聚焦面板弹出为桌面窗口。",
569
569
  "Copy a screenshot of the focused pane.": "复制聚焦面板的截图。",
570
570
  "Open layout actions.": "打开布局操作。",
@@ -573,8 +573,8 @@ export const zhCN: Record<string, string> = {
573
573
  "Cancel an active pane drag.": "取消正在进行的面板拖动。",
574
574
  "Close the focused pane when nothing is being dragged.": "未拖动时关闭聚焦面板。",
575
575
  "Switch between move and resize.": "在移动与缩放之间切换。",
576
- "Dock or float the selected window.": "停靠或浮动所选窗口。",
577
- "Move, resize, or choose a dock target.": "移动、缩放或选择停靠目标。",
576
+ "Float the selected window, or return it to the layout.": "浮动所选窗口,或将其返回布局。",
577
+ "Move, resize, or choose where it goes in the layout.": "移动、缩放,或选择它在布局中的位置。",
578
578
  "Use larger move and resize steps with direction keys.": "配合方向键使用更大的移动/缩放步长。",
579
579
  "Cycle windows or resize handles.": "循环切换窗口或缩放控制点。",
580
580
  "Commit pending changes or exit window mode.": "提交更改或退出窗口模式。",
@@ -613,7 +613,6 @@ export const zhCN: Record<string, string> = {
613
613
  "Open ticker search": "打开股票搜索",
614
614
  "Switch between panels": "在面板间切换",
615
615
  "Close the focused pane": "关闭聚焦面板",
616
- "Dock or float the focused pane": "停靠或浮动聚焦面板",
617
616
  "Quit": "退出",
618
617
  "Open security details": "打开证券详情",
619
618
  "Switch theme": "切换主题",
@@ -1546,6 +1545,7 @@ export const zhCN: Record<string, string> = {
1546
1545
  "Transcripts, summaries, guidance and scores.": "逐字稿、摘要、业绩指引和评分。",
1547
1546
  "YOUR WORKSPACE": "你的工作区",
1548
1547
  "Your holdings as a heatmap, a watchlist, and {ticker} charted. Every pane moves; {shortcut} adds more.": "持仓热力图、自选列表和 {ticker} 的图表。每个面板都可移动;{shortcut} 可添加更多。",
1548
+ "A watchlist, the top news, and {ticker} charted. Every pane moves; {shortcut} adds more.": "自选列表、头条新闻和 {ticker} 的图表。每个面板都可移动;{shortcut} 可添加更多。",
1549
1549
  "b: sign in with the browser instead": "b:改用浏览器登录",
1550
1550
  "Esc, then b: sign in with the browser instead": "按 Esc 后按 b:改用浏览器登录",
1551
1551
  "Sign in with the browser instead": "改用浏览器登录",
@@ -1562,6 +1562,7 @@ export const zhCN: Record<string, string> = {
1562
1562
  "FX & macro": "外汇与宏观",
1563
1563
  "Active trading": "活跃交易",
1564
1564
  "Your holdings as a heatmap, a watchlist, and {ticker} charted. Your desks are tabs at the bottom; {shortcut} adds more.": "持仓热力图、自选列表和 {ticker} 的图表。你的交易台在底部标签页;{shortcut} 可添加更多。",
1565
+ "A watchlist, the top news, and {ticker} charted. Your desks are tabs at the bottom; {shortcut} adds more.": "自选列表、头条新闻和 {ticker} 的图表。你的交易台在底部标签页;{shortcut} 可添加更多。",
1565
1566
  // ── Upgrade sheet ─────────────────────────────────────────
1566
1567
  "Start free trial": "开始免费试用",
1567
1568
  "Your last payment didn't go through": "上次付款未成功",
package/src/i18n/zh-tw.ts CHANGED
@@ -243,7 +243,7 @@ export const zhTW: Record<string, string> = {
243
243
  "Duplicate Pane": "複製面板",
244
244
  "Remove Pane": "移除面板",
245
245
  "Float Pane": "浮動面板",
246
- "Dock Pane": "停靠面板",
246
+ "Return to Layout": "返回版面設定",
247
247
  "Move to New Layout": "移到新版面設定",
248
248
  "Move Back to {layout}": "移回 {layout}",
249
249
  "Settings": "設定",
@@ -271,8 +271,8 @@ export const zhTW: Record<string, string> = {
271
271
  "Create a new layout": "建立新版面設定",
272
272
  "Rename the current layout preset": "重新命名目前版面設定預設",
273
273
  "Delete the current layout preset": "刪除目前版面設定預設",
274
- "Detach a docked pane into a floating window": "把停靠面板拆分為浮動視窗",
275
- "Dock a floating pane back into the layout": "把浮動面板停靠回版面設定",
274
+ "Take a pane out of the layout into a floating window": "把面板從版面設定移到浮動視窗",
275
+ "Put a floating pane back into the layout": "把浮動面板放回版面設定",
276
276
  "Remove a pane from the layout": "從版面設定中移除面板",
277
277
  "Swap two pane positions": "交換兩個面板的位置",
278
278
  "Arrange all visible panes into a tiled grid": "將所有可見面板平鋪排列",
@@ -561,10 +561,10 @@ export const zhTW: Record<string, string> = {
561
561
  "Copy the active terminal selection.": "複製目前終端機選取內容。",
562
562
  "Paste clipboard text into the active input.": "將剪貼簿文字貼到目前的輸入欄位。",
563
563
  "Restart into a downloaded app update, or retry one that failed.": "使用已下載的更新重新啟動,或重試失敗的更新。",
564
- "Close the focused pane, docked or floating.": "關閉聚焦面板(停靠或浮動)。",
564
+ "Close the focused pane, in the layout or floating. Locked panes stay open.": "關閉聚焦面板(在版面設定中或浮動)。鎖定的面板保持開啟。",
565
565
  "Close all floating panes.": "關閉所有浮動面板。",
566
566
  "Edit settings for the focused pane.": "編輯聚焦面板的設定。",
567
- "Dock or float the focused pane.": "停靠或浮動聚焦面板。",
567
+ "Float the focused pane, or return it to the layout.": "浮動聚焦面板,或將其返回版面設定。",
568
568
  "Pop the focused pane out to a desktop window.": "把聚焦面板彈出為桌面視窗。",
569
569
  "Copy a screenshot of the focused pane.": "複製聚焦面板的截圖。",
570
570
  "Open layout actions.": "開啟版面設定操作。",
@@ -573,8 +573,8 @@ export const zhTW: Record<string, string> = {
573
573
  "Cancel an active pane drag.": "取消正在進行的面板拖曳。",
574
574
  "Close the focused pane when nothing is being dragged.": "未拖曳時關閉聚焦面板。",
575
575
  "Switch between move and resize.": "在移動與縮放之間切換。",
576
- "Dock or float the selected window.": "停靠或浮動所選視窗。",
577
- "Move, resize, or choose a dock target.": "移動、縮放或選擇停靠目標。",
576
+ "Float the selected window, or return it to the layout.": "浮動所選視窗,或將其返回版面設定。",
577
+ "Move, resize, or choose where it goes in the layout.": "移動、縮放,或選擇它在版面設定中的位置。",
578
578
  "Use larger move and resize steps with direction keys.": "配合方向鍵使用更大的移動/縮放步長。",
579
579
  "Cycle windows or resize handles.": "循環切換視窗或縮放控制點。",
580
580
  "Commit pending changes or exit window mode.": "確認待處理的變更或結束視窗模式。",
@@ -613,7 +613,6 @@ export const zhTW: Record<string, string> = {
613
613
  "Open ticker search": "開啟股票搜尋",
614
614
  "Switch between panels": "在面板間切換",
615
615
  "Close the focused pane": "關閉聚焦面板",
616
- "Dock or float the focused pane": "停靠或浮動聚焦面板",
617
616
  "Quit": "結束",
618
617
  "Open security details": "開啟證券詳情",
619
618
  "Switch theme": "切換主題",
@@ -1546,6 +1545,7 @@ export const zhTW: Record<string, string> = {
1546
1545
  "Transcripts, summaries, guidance and scores.": "逐字稿、摘要、財測和評分。",
1547
1546
  "YOUR WORKSPACE": "你的工作區",
1548
1547
  "Your holdings as a heatmap, a watchlist, and {ticker} charted. Every pane moves; {shortcut} adds more.": "持股熱力圖、觀察清單和 {ticker} 的圖表。每個面板都可移動;{shortcut} 可新增更多。",
1548
+ "A watchlist, the top news, and {ticker} charted. Every pane moves; {shortcut} adds more.": "觀察清單、頭條新聞和 {ticker} 的圖表。每個面板都可移動;{shortcut} 可新增更多。",
1549
1549
  "b: sign in with the browser instead": "b:改用瀏覽器登入",
1550
1550
  "Esc, then b: sign in with the browser instead": "按 Esc 後按 b:改用瀏覽器登入",
1551
1551
  "Sign in with the browser instead": "改用瀏覽器登入",
@@ -1562,6 +1562,7 @@ export const zhTW: Record<string, string> = {
1562
1562
  "FX & macro": "外匯與總經",
1563
1563
  "Active trading": "積極交易",
1564
1564
  "Your holdings as a heatmap, a watchlist, and {ticker} charted. Your desks are tabs at the bottom; {shortcut} adds more.": "持股熱力圖、觀察清單和 {ticker} 的圖表。你的交易台在底部分頁;{shortcut} 可新增更多。",
1565
+ "A watchlist, the top news, and {ticker} charted. Your desks are tabs at the bottom; {shortcut} adds more.": "觀察清單、頭條新聞和 {ticker} 的圖表。你的交易台在底部分頁;{shortcut} 可新增更多。",
1565
1566
  // ── Upgrade sheet ─────────────────────────────────────────
1566
1567
  "Start free trial": "開始免費試用",
1567
1568
  "Your last payment didn't go through": "上次付款未成功",
@@ -43,7 +43,24 @@ export function detachPaneToFrame(
43
43
  });
44
44
  }
45
45
 
46
+ /**
47
+ * `instanceId` floating at `rect`, in front unless `rect` says its z. A tab of
48
+ * a floating stack keeps its place in the list (the stack's tab order), and
49
+ * the other tabs move with it.
50
+ */
46
51
  export function floatAtRect(layout: LayoutConfig, instanceId: string, rect: FloatingRect): LayoutConfig {
52
+ const stack = layout.floating.find((entry) => entry.instanceId === instanceId)?.stack;
53
+ if (stack) {
54
+ const placed = { x: rect.x, y: rect.y, width: rect.width, height: rect.height };
55
+ const zIndex = rect.zIndex ?? maxFloatingZ(layout) + 1;
56
+ return finalizeLayout({
57
+ ...layout,
58
+ floating: compactFloatingZ(layout.floating.map((entry) => {
59
+ if (entry.instanceId === instanceId) return { ...entry, ...placed, zIndex };
60
+ return entry.stack === stack ? { ...entry, ...placed } : entry;
61
+ })),
62
+ });
63
+ }
47
64
  const base = detachPane(layout, instanceId);
48
65
  return finalizeLayout({
49
66
  ...base,