Skip to content

Commit edf0cae

Browse files
committed
Fix recent issue regressions
1 parent 2caf7ef commit edf0cae

17 files changed

Lines changed: 228 additions & 29 deletions

docs/releases/unreleased.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ Example:
4040

4141
## Fixed
4242

43+
- (#1778) Fixed MCP initialize requests using newer protocol versions such as `2025-11-25` failing instead of negotiating down to TaskNotes' supported MCP version.
44+
- Thanks to @SakulaPor for reporting.
45+
- (#1781) Fixed duplicate metadata properties on Bases task cards when bare and `note.`-prefixed property IDs map to the same TaskNotes field.
46+
- Thanks to @loukandr for reporting and tracing the issue.
47+
- (#1787) Removed the "(click to change)" helper text from recurrence tooltips on task cards.
48+
- Thanks to @kazerniel for reporting.
4349
- (#1828) Fixed subtask creation from a task card dropping the parent task project when natural-language input also adds projects.
4450
- Thanks to @prepare4robots for reporting.
4551
- (#1786) Fixed TaskNotes task cards and relationships/subtasks widgets appearing inside embedded task-note heading or block sections.
@@ -63,7 +69,8 @@ Example:
6369
- Thanks to @martin-forge for reporting and the PR.
6470
- (#1764) Fixed Google Calendar sync using stale task metadata after rapid task updates, and fixed late recurring completions/skips recording the completion day instead of the scheduled occurrence date.
6571
- Thanks to @martin-forge for the PR and to @jpmoo for reporting the recurring completion issues.
66-
- Fixed CI test runs resolving the NLP parser package from a local sibling checkout instead of the published dependency.
72+
- (#1782) Fixed CI test runs resolving the NLP parser package from a local sibling checkout instead of the published dependency.
73+
- Thanks to @martin-forge for reporting.
6774
- Published [`mdbase-tasknotes`](https://github.com/callumalpass/mdbase-tasknotes) 0.1.3 with compatibility fixes for TaskNotes-generated mdbase schemas.
6875
- Includes clearer create-path diagnostics, natural-language `mtn list --due` filters, timer log datetime filters, home-directory path expansion, project wikilink preservation, and correct `mtn --version` reporting.
6976
- Thanks to @tparsons9, @anomatomato, @npondel, @plashal, and @waspeer for the reports and PR.

src/bases/PropertyMappingService.ts

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,23 @@ export class PropertyMappingService {
213213
* Simply maps each property - no filtering.
214214
* If a property is in the Bases config, it will be shown.
215215
*
216-
* @param basesPropertyIds - Property IDs from Bases config
217-
* @returns TaskCard property IDs for rendering
218-
*/
219-
mapVisibleProperties(basesPropertyIds: string[]): TaskCardPropertyId[] {
220-
return basesPropertyIds.map((id) => this.basesToTaskCardProperty(id));
221-
}
222-
}
216+
* @param basesPropertyIds - Property IDs from Bases config
217+
* @returns TaskCard property IDs for rendering
218+
*/
219+
mapVisibleProperties(basesPropertyIds: string[]): TaskCardPropertyId[] {
220+
const seen = new Set<TaskCardPropertyId>();
221+
const visibleProperties: TaskCardPropertyId[] = [];
222+
223+
for (const id of basesPropertyIds) {
224+
const mappedId = this.basesToTaskCardProperty(id);
225+
if (seen.has(mappedId)) {
226+
continue;
227+
}
228+
229+
seen.add(mappedId);
230+
visibleProperties.push(mappedId);
231+
}
232+
233+
return visibleProperties;
234+
}
235+
}

src/i18n/resources/de.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2940,7 +2940,7 @@ export const de: TranslationTree = {
29402940
blockingToggle: "Blockiert {count} Aufgaben",
29412941
priorityAriaLabel: "Priorität: {label}",
29422942
taskOptions: "Aufgabenoptionen",
2943-
recurrenceTooltip: "{label}: {value} (zum Ändern klicken)",
2943+
recurrenceTooltip: "{label}: {value}",
29442944
reminderTooltipOne: "1 Erinnerung gesetzt (zum Verwalten klicken)",
29452945
reminderTooltipMany: "{count} Erinnerungen gesetzt (zum Verwalten klicken)",
29462946
projectTooltip: "Diese Aufgabe wird als Projekt verwendet (zum Filtern von Unteraufgaben klicken)",

src/i18n/resources/en.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3013,7 +3013,7 @@ export const en: TranslationTree = {
30133013
blockingToggle: "Blocking {count} tasks",
30143014
priorityAriaLabel: "Priority: {label}",
30153015
taskOptions: "Task options",
3016-
recurrenceTooltip: "{label}: {value} (click to change)",
3016+
recurrenceTooltip: "{label}: {value}",
30173017
reminderTooltipOne: "1 reminder set (click to manage)",
30183018
reminderTooltipMany: "{count} reminders set (click to manage)",
30193019
projectTooltip: "This task is used as a project (click to filter subtasks)",

src/i18n/resources/es.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2940,7 +2940,7 @@ export const es: TranslationTree = {
29402940
blockingToggle: "Bloqueando {count} tareas",
29412941
priorityAriaLabel: "Prioridad: {label}",
29422942
taskOptions: "Opciones de tarea",
2943-
recurrenceTooltip: "{label}: {value} (clic para cambiar)",
2943+
recurrenceTooltip: "{label}: {value}",
29442944
reminderTooltipOne: "1 recordatorio configurado (clic para gestionar)",
29452945
reminderTooltipMany: "{count} recordatorios configurados (clic para gestionar)",
29462946
projectTooltip: "Esta tarea se usa como proyecto (clic para filtrar subtareas)",

src/i18n/resources/fr.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2940,7 +2940,7 @@ export const fr: TranslationTree = {
29402940
blockingToggle: "Bloque {count} tâches",
29412941
priorityAriaLabel: "Priorité : {label}",
29422942
taskOptions: "Options de tâche",
2943-
recurrenceTooltip: "{label}: {value} (cliquer pour modifier)",
2943+
recurrenceTooltip: "{label}: {value}",
29442944
reminderTooltipOne: "1 rappel défini (cliquer pour gérer)",
29452945
reminderTooltipMany: "{count} rappels définis (cliquer pour gérer)",
29462946
projectTooltip: "Cette tâche est utilisée comme projet (cliquer pour filtrer les sous-tâches)",

src/i18n/resources/ja.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2940,7 +2940,7 @@ export const ja: TranslationTree = {
29402940
blockingToggle: "{count} 件のタスクをブロック",
29412941
priorityAriaLabel: "優先度: {label}",
29422942
taskOptions: "タスクオプション",
2943-
recurrenceTooltip: "{label}: {value} (クリックして変更)",
2943+
recurrenceTooltip: "{label}: {value}",
29442944
reminderTooltipOne: "リマインダーが1件設定されています (クリックして管理)",
29452945
reminderTooltipMany: "{count}件のリマインダーが設定されています (クリックして管理)",
29462946
projectTooltip: "このタスクはプロジェクトとして使用されています(サブタスクをフィルタするにはクリック)",

src/i18n/resources/ko.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2894,7 +2894,7 @@ export const ko: TranslationTree = {
28942894
blockingToggle: "{count}개의 작업을 차단 중",
28952895
priorityAriaLabel: "우선순위: {label}",
28962896
taskOptions: "작업 옵션",
2897-
recurrenceTooltip: "{label}: {value} (변경하려면 클릭)",
2897+
recurrenceTooltip: "{label}: {value}",
28982898
reminderTooltipOne: "알림 1개 설정됨 (관리하려면 클릭)",
28992899
reminderTooltipMany: "{count}개 알림 설정됨 (관리하려면 클릭)",
29002900
projectTooltip: "이 작업은 프로젝트로 사용됩니다 (하위 작업을 필터링하려면 클릭)",

src/i18n/resources/pt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2954,7 +2954,7 @@ export const pt: TranslationTree = {
29542954
blockingToggle: "Bloqueando {count} tarefas",
29552955
priorityAriaLabel: "Prioridade: {label}",
29562956
taskOptions: "Opções da tarefa",
2957-
recurrenceTooltip: "{label}: {value} (clique para alterar)",
2957+
recurrenceTooltip: "{label}: {value}",
29582958
reminderTooltipOne: "1 lembrete definido (clique para gerenciar)",
29592959
reminderTooltipMany: "{count} lembretes definidos (clique para gerenciar)",
29602960
projectTooltip: "Esta tarefa é usada como projeto (clique para filtrar subtarefas)",

src/i18n/resources/ru.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2940,7 +2940,7 @@ export const ru: TranslationTree = {
29402940
blockingToggle: "Блокирует {count} задач",
29412941
priorityAriaLabel: "Приоритет: {label}",
29422942
taskOptions: "Параметры задачи",
2943-
recurrenceTooltip: "{label}: {value} (нажмите, чтобы изменить)",
2943+
recurrenceTooltip: "{label}: {value}",
29442944
reminderTooltipOne: "1 напоминание установлено (нажмите, чтобы управлять)",
29452945
reminderTooltipMany: "{count} напоминаний установлено (нажмите, чтобы управлять)",
29462946
projectTooltip: "Эта задача используется как проект (нажмите, чтобы отфильтровать подзадачи)",

0 commit comments

Comments
 (0)