[GH-ISSUE #7426] Applying a settings profile changes 'Hide summarised messages' without hiding or showing the messages #4137

Closed
opened 2026-10-21 06:11:30 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @SpicyMarinara on GitHub (Oct 11, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7426

Originally assigned to: @SpicyMarinara on GitHub.

What happens

Applying a settings profile by hand can switch a chat's Hide summarised messages setting, but the chat's summarised messages are not hidden or shown to match.

  • Profile on, chat off: after applying, the toggle shows on, but the summarised messages are still sent to the AI next to their summary.
  • Profile off, chat on: after applying, the toggle shows off, but the messages stay hidden from the AI.

This is how staging behaves today.

Why

PATCH /api/chats/:id/metadata (chats.routes.ts) hides or shows the summarised messages and updates summaryEntries[].hiddenMessageIds when hideSummarisedMessages changes. applyToChat in chat-presets.storage.ts writes the whole metadata object and skips that step.

Notes

PR #7422 (updating other chats when a profile is saved) avoids this for those chats: they keep their own setting. A fix here would move the hide/show step into a helper that both the PATCH route and applyToChat call, inside the chat's metadata queue.

Originally created by @SpicyMarinara on GitHub (Oct 11, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7426 Originally assigned to: @SpicyMarinara on GitHub. ## What happens Applying a settings profile by hand can switch a chat's **Hide summarised messages** setting, but the chat's summarised messages are not hidden or shown to match. - Profile on, chat off: after applying, the toggle shows on, but the summarised messages are still sent to the AI next to their summary. - Profile off, chat on: after applying, the toggle shows off, but the messages stay hidden from the AI. This is how staging behaves today. ## Why `PATCH /api/chats/:id/metadata` (`chats.routes.ts`) hides or shows the summarised messages and updates `summaryEntries[].hiddenMessageIds` when `hideSummarisedMessages` changes. `applyToChat` in `chat-presets.storage.ts` writes the whole metadata object and skips that step. ## Notes PR #7422 (updating other chats when a profile is saved) avoids this for those chats: they keep their own setting. A fix here would move the hide/show step into a helper that both the PATCH route and `applyToChat` call, inside the chat's metadata queue.
bsakaguchi 2026-10-21 06:11:30 +07:00
  • closed this issue
  • added the
    in-pr
    label
Author
Owner

@SpicyMarinara commented on GitHub (Oct 11, 2026):

Working on this in branch fix/profile-apply-hide-summarised (Claude Code agent for @SpicyMarinara).

<!-- gh-comment-id:6111086849 --> @SpicyMarinara commented on GitHub (Oct 11, 2026): Working on this in branch fix/profile-apply-hide-summarised (Claude Code agent for @SpicyMarinara).
Author
Owner

@SpicyMarinara commented on GitHub (Oct 11, 2026):

Fixed on staging by #7442. Applying a settings profile now hides or shows the summarised messages whenever it changes Hide summarised messages, the same way the toggle does.

<!-- gh-comment-id:6111477465 --> @SpicyMarinara commented on GitHub (Oct 11, 2026): Fixed on staging by #7442. Applying a settings profile now hides or shows the summarised messages whenever it changes **Hide summarised messages**, the same way the toggle does.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#4137
No description provided.