Let conversation view off mean off
The setting reached only as far as the query. It set `collapseThreads`, so the
list correctly showed individual messages -- and then everything downstream
carried on working in threads. Opening one message highlighted every row of its
thread and filled the reading pane with the whole conversation, which is the
grouping the setting was turned off to avoid. The empty pane went on offering
"62 conversations" either way.
Three places had to learn about it, and the two rules behind them now live
together in lib/openMessage.ts:
- the row highlight matched on threadId, so siblings lit up
- ThreadView rendered every message the thread held
- the empty state named conversations regardless
The thread id stays in the path and loading is unchanged; the opened message
rides in `m`. Keeping it in the URL rather than in memory is what makes a
reload or a shared link come back to the same message, and an id that names
nothing in the thread falls back to the conversation -- which is what a link
from somebody with the setting on looks like, and what a stale parameter looks
like after switching back. Better a conversation than an empty pane.
Nine catalogues gain "No message selected" and "Select a message to read it
here"; "{n} messages" was already there, plural forms and all.
This commit is contained in:
@@ -756,6 +756,7 @@ export const catalog: Catalog = {
|
||||
"Open the Mail view to see all shortcuts.": "Öffnen Sie die E-Mail-Ansicht, um alle Tastenkürzel zu sehen.",
|
||||
"Gmail-style shortcuts are always on. Press {key} anywhere to see this list.": "Tastenkürzel im Gmail-Stil sind immer aktiv. Drücken Sie überall {key}, um diese Liste zu sehen.",
|
||||
"Select a conversation to read it here · Press {key} for shortcuts": "Wählen Sie eine Konversation, um sie hier zu lesen · {key} für Tastenkürzel",
|
||||
"Select a message to read it here · Press {key} for shortcuts": "Wählen Sie eine Nachricht, um sie hier zu lesen · {key} für Tastenkürzel",
|
||||
"Tip: press {key} on a conversation to apply labels. Search with {operator}.": "Tipp: Drücken Sie {key} auf einer Konversation, um Labels zu vergeben. Suchen Sie mit {operator}.",
|
||||
"A fast, friendly, open-source webmail for {server}, built on JMAP.": "Eine schnelle, freundliche Open-Source-Webmail für {server}, auf JMAP aufgebaut.",
|
||||
"Defaults for the calendar views and new events.": "Vorgaben für die Kalenderansichten und neue Termine.",
|
||||
@@ -834,6 +835,7 @@ export const catalog: Catalog = {
|
||||
"Nothing": "Nichts",
|
||||
|
||||
"No conversation selected": "Keine Konversation ausgewählt",
|
||||
"No message selected": "Keine Nachricht ausgewählt",
|
||||
"Drop here for the top level": "Hierher ziehen für die oberste Ebene",
|
||||
|
||||
// ── Remaining prose ────────────────────────────────────────────────
|
||||
|
||||
@@ -811,6 +811,7 @@ export const catalog: Catalog = {
|
||||
"Rename folder": "Cambiar el nombre de la carpeta",
|
||||
"Search: {query}": "Búsqueda: {query}",
|
||||
"No conversation selected": "Ninguna conversación seleccionada",
|
||||
"No message selected": "Ningún mensaje seleccionado",
|
||||
"Drop here for the top level": "Suelte aquí para el nivel superior",
|
||||
|
||||
// ── Longer prose ───────────────────────────────────────────────────
|
||||
@@ -819,6 +820,7 @@ export const catalog: Catalog = {
|
||||
"Open the Mail view to see all shortcuts.": "Abra la vista de Correo para ver todos los atajos.",
|
||||
"Gmail-style shortcuts are always on. Press {key} anywhere to see this list.": "Los atajos al estilo de Gmail están siempre activos. Pulse {key} en cualquier momento para ver esta lista.",
|
||||
"Select a conversation to read it here · Press {key} for shortcuts": "Seleccione una conversación para leerla aquí · {key} para los atajos",
|
||||
"Select a message to read it here · Press {key} for shortcuts": "Seleccione un mensaje para leerlo aquí · {key} para los atajos",
|
||||
"Tip: press {key} on a conversation to apply labels. Search with {operator}.": "Consejo: pulse {key} sobre una conversación para aplicar etiquetas. Busque con {operator}.",
|
||||
"A fast, friendly, open-source webmail for {server}, built on JMAP.": "Un webmail libre, rápido y agradable para {server}, construido sobre JMAP.",
|
||||
"Defaults for the calendar views and new events.": "Valores predeterminados de las vistas del calendario y de los eventos nuevos.",
|
||||
|
||||
@@ -816,6 +816,7 @@ export const catalog: Catalog = {
|
||||
"Rename folder": "Renommer le dossier",
|
||||
"Search: {query}": "Recherche : {query}",
|
||||
"No conversation selected": "Aucune conversation sélectionnée",
|
||||
"No message selected": "Aucun message sélectionné",
|
||||
"Drop here for the top level": "Déposer ici pour le niveau supérieur",
|
||||
|
||||
// ── Longer prose ───────────────────────────────────────────────────
|
||||
@@ -824,6 +825,7 @@ export const catalog: Catalog = {
|
||||
"Open the Mail view to see all shortcuts.": "Ouvrez la vue E-mail pour voir tous les raccourcis.",
|
||||
"Gmail-style shortcuts are always on. Press {key} anywhere to see this list.": "Les raccourcis façon Gmail sont toujours actifs. Appuyez sur {key} n'importe où pour afficher cette liste.",
|
||||
"Select a conversation to read it here · Press {key} for shortcuts": "Sélectionnez une conversation pour la lire ici · {key} pour les raccourcis",
|
||||
"Select a message to read it here · Press {key} for shortcuts": "Sélectionnez un message pour le lire ici · {key} pour les raccourcis",
|
||||
"Tip: press {key} on a conversation to apply labels. Search with {operator}.": "Astuce : appuyez sur {key} sur une conversation pour appliquer des libellés. Recherchez avec {operator}.",
|
||||
"A fast, friendly, open-source webmail for {server}, built on JMAP.": "Un webmail libre, rapide et agréable pour {server}, bâti sur JMAP.",
|
||||
"Defaults for the calendar views and new events.": "Valeurs par défaut des vues d'agenda et des nouveaux événements.",
|
||||
|
||||
@@ -747,6 +747,7 @@ export const catalog: Catalog = {
|
||||
"Open the Mail view to see all shortcuts.": "すべてのショートカットはメール画面で確認できます。",
|
||||
"Gmail-style shortcuts are always on. Press {key} anywhere to see this list.": "Gmail 形式のショートカットは常に有効です。どこでも {key} を押すとこの一覧を表示します。",
|
||||
"Select a conversation to read it here · Press {key} for shortcuts": "スレッドを選ぶとここに表示されます · {key} でショートカット一覧",
|
||||
"Select a message to read it here · Press {key} for shortcuts": "メールを選ぶとここに表示されます · {key} でショートカット一覧",
|
||||
"Tip: press {key} on a conversation to apply labels. Search with {operator}.": "ヒント: スレッド上で {key} を押すとラベルを付けられます。検索には {operator} が使えます。",
|
||||
"A fast, friendly, open-source webmail for {server}, built on JMAP.": "{server} のための、軽快で使いやすいオープンソースのウェブメール。JMAP で動作します。",
|
||||
|
||||
@@ -843,6 +844,7 @@ export const catalog: Catalog = {
|
||||
"Not spam": "迷惑メールではない",
|
||||
"Nothing": "何もしない",
|
||||
"No conversation selected": "スレッドが選択されていません",
|
||||
"No message selected": "メールが選択されていません",
|
||||
"Drop here for the top level": "ここにドロップすると最上位へ移動します",
|
||||
"Later today": "今日のうちに",
|
||||
"Tomorrow morning": "明日の朝",
|
||||
|
||||
@@ -807,6 +807,7 @@ export const catalog: Catalog = {
|
||||
"Rename folder": "Map hernoemen",
|
||||
"Search: {query}": "Zoeken: {query}",
|
||||
"No conversation selected": "Geen gesprek geselecteerd",
|
||||
"No message selected": "Geen bericht geselecteerd",
|
||||
"Drop here for the top level": "Hier neerzetten voor het hoogste niveau",
|
||||
|
||||
// ── Longer prose ───────────────────────────────────────────────────
|
||||
@@ -815,6 +816,7 @@ export const catalog: Catalog = {
|
||||
"Open the Mail view to see all shortcuts.": "Open de E-mailweergave om alle sneltoetsen te zien.",
|
||||
"Gmail-style shortcuts are always on. Press {key} anywhere to see this list.": "Sneltoetsen in Gmail-stijl staan altijd aan. Druk overal op {key} om deze lijst te zien.",
|
||||
"Select a conversation to read it here · Press {key} for shortcuts": "Selecteer een gesprek om het hier te lezen · {key} voor sneltoetsen",
|
||||
"Select a message to read it here · Press {key} for shortcuts": "Selecteer een bericht om het hier te lezen · {key} voor sneltoetsen",
|
||||
"Tip: press {key} on a conversation to apply labels. Search with {operator}.": "Tip: druk op {key} bij een gesprek om labels toe te wijzen. Zoek met {operator}.",
|
||||
"A fast, friendly, open-source webmail for {server}, built on JMAP.": "Een snelle, prettige, opensource webmail voor {server}, gebouwd op JMAP.",
|
||||
"Defaults for the calendar views and new events.": "Standaardwaarden voor de agendaweergaven en nieuwe afspraken.",
|
||||
|
||||
@@ -814,6 +814,7 @@ export const catalog: Catalog = {
|
||||
"Rename folder": "Renomear a pasta",
|
||||
"Search: {query}": "Pesquisa: {query}",
|
||||
"No conversation selected": "Nenhuma conversa selecionada",
|
||||
"No message selected": "Nenhuma mensagem selecionada",
|
||||
"Drop here for the top level": "Solte aqui para o nível superior",
|
||||
|
||||
// ── Longer prose ───────────────────────────────────────────────────
|
||||
@@ -822,6 +823,7 @@ export const catalog: Catalog = {
|
||||
"Open the Mail view to see all shortcuts.": "Abra a visualização de E-mail para ver todos os atalhos.",
|
||||
"Gmail-style shortcuts are always on. Press {key} anywhere to see this list.": "Os atalhos no estilo do Gmail estão sempre ativos. Pressione {key} em qualquer lugar para ver esta lista.",
|
||||
"Select a conversation to read it here · Press {key} for shortcuts": "Selecione uma conversa para lê-la aqui · {key} para os atalhos",
|
||||
"Select a message to read it here · Press {key} for shortcuts": "Selecione uma mensagem para lê-la aqui · {key} para os atalhos",
|
||||
"Tip: press {key} on a conversation to apply labels. Search with {operator}.": "Dica: pressione {key} em uma conversa para aplicar marcadores. Pesquise com {operator}.",
|
||||
"A fast, friendly, open-source webmail for {server}, built on JMAP.": "Um webmail livre, rápido e agradável para {server}, feito sobre JMAP.",
|
||||
"Defaults for the calendar views and new events.": "Padrões das visualizações da agenda e dos eventos novos.",
|
||||
|
||||
@@ -813,6 +813,7 @@ export const catalog: Catalog = {
|
||||
"Rename folder": "Переименовать папку",
|
||||
"Search: {query}": "Поиск: {query}",
|
||||
"No conversation selected": "Цепочка не выбрана",
|
||||
"No message selected": "Письмо не выбрано",
|
||||
"Drop here for the top level": "Перетащите сюда, чтобы вынести на верхний уровень",
|
||||
|
||||
// ── Longer prose ───────────────────────────────────────────────────
|
||||
@@ -821,6 +822,7 @@ export const catalog: Catalog = {
|
||||
"Open the Mail view to see all shortcuts.": "Откройте раздел «Почта», чтобы увидеть все сочетания клавиш.",
|
||||
"Gmail-style shortcuts are always on. Press {key} anywhere to see this list.": "Сочетания клавиш в стиле Gmail всегда включены. Нажмите {key} в любом месте, чтобы увидеть этот список.",
|
||||
"Select a conversation to read it here · Press {key} for shortcuts": "Выберите цепочку, чтобы прочитать её здесь · {key} — сочетания клавиш",
|
||||
"Select a message to read it here · Press {key} for shortcuts": "Выберите письмо, чтобы прочитать его здесь · {key} — сочетания клавиш",
|
||||
"Tip: press {key} on a conversation to apply labels. Search with {operator}.": "Совет: нажмите {key} на цепочке, чтобы присвоить ярлыки. Ищите через {operator}.",
|
||||
"A fast, friendly, open-source webmail for {server}, built on JMAP.": "Быстрая и удобная веб-почта с открытым кодом для {server}, построенная на JMAP.",
|
||||
"Defaults for the calendar views and new events.": "Значения по умолчанию для видов календаря и новых событий.",
|
||||
|
||||
@@ -807,6 +807,7 @@ export const catalog: Catalog = {
|
||||
"Rename folder": "Перейменувати теку",
|
||||
"Search: {query}": "Пошук: {query}",
|
||||
"No conversation selected": "Листування не вибрано",
|
||||
"No message selected": "Лист не вибрано",
|
||||
"Drop here for the top level": "Перетягніть сюди, щоб винести на верхній рівень",
|
||||
|
||||
// ── Longer prose ───────────────────────────────────────────────────
|
||||
@@ -815,6 +816,7 @@ export const catalog: Catalog = {
|
||||
"Open the Mail view to see all shortcuts.": "Відкрийте розділ «Пошта», щоб побачити всі сполучення клавіш.",
|
||||
"Gmail-style shortcuts are always on. Press {key} anywhere to see this list.": "Сполучення клавіш у стилі Gmail завжди увімкнено. Натисніть {key} будь-де, щоб побачити цей список.",
|
||||
"Select a conversation to read it here · Press {key} for shortcuts": "Виберіть листування, щоб прочитати його тут · {key} — сполучення клавіш",
|
||||
"Select a message to read it here · Press {key} for shortcuts": "Виберіть лист, щоб прочитати його тут · {key} — сполучення клавіш",
|
||||
"Tip: press {key} on a conversation to apply labels. Search with {operator}.": "Порада: натисніть {key} на листуванні, щоб додати мітки. Шукайте через {operator}.",
|
||||
"A fast, friendly, open-source webmail for {server}, built on JMAP.": "Швидка та зручна вебпошта з відкритим кодом для {server}, побудована на JMAP.",
|
||||
"Defaults for the calendar views and new events.": "Значення за замовчуванням для виглядів календаря та нових подій.",
|
||||
|
||||
@@ -746,6 +746,7 @@ export const catalog: Catalog = {
|
||||
"Open the Mail view to see all shortcuts.": "打开邮件视图以查看全部快捷键。",
|
||||
"Gmail-style shortcuts are always on. Press {key} anywhere to see this list.": "Gmail 风格的快捷键始终启用。在任意位置按 {key} 即可查看此列表。",
|
||||
"Select a conversation to read it here · Press {key} for shortcuts": "选择一个会话即可在此阅读 · 按 {key} 查看快捷键",
|
||||
"Select a message to read it here · Press {key} for shortcuts": "选择一封邮件即可在此阅读 · 按 {key} 查看快捷键",
|
||||
"Tip: press {key} on a conversation to apply labels. Search with {operator}.": "提示:在会话上按 {key} 可添加标签。使用 {operator} 搜索。",
|
||||
"A fast, friendly, open-source webmail for {server}, built on JMAP.": "一款面向 {server} 的快速、友好的开源网页邮箱,基于 JMAP 构建。",
|
||||
|
||||
@@ -842,6 +843,7 @@ export const catalog: Catalog = {
|
||||
"Not spam": "不是垃圾邮件",
|
||||
"Nothing": "不执行任何操作",
|
||||
"No conversation selected": "未选择会话",
|
||||
"No message selected": "未选择邮件",
|
||||
"Drop here for the top level": "拖放到此处可移至顶层",
|
||||
"Later today": "今天晚些时候",
|
||||
"Tomorrow morning": "明天上午",
|
||||
|
||||
Reference in New Issue
Block a user