[GH-ISSUE #2867] [Issue]: Swipe counter always visible on single-swipe messages (regression in 2.0.5) #1454

Closed
opened 2026-10-21 05:35:29 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Romuromylus on GitHub (Jun 25, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2867

Originally assigned to: @Romuromylus on GitHub.

Summary

As of 2.0.5 the per-message swipe counter (the "current / total" indicator and swipe arrows) is always displayed, even when a message has only a single swipe. In previous versions it only appeared when a message had multiple swipes.

Expected behavior

The swipe counter and navigation arrows should only be visible when a message has more than one swipe, as in all versions before 2.0.5.

Actual behavior

The swipe counter shows on every message, including single-swipe messages that display a constant "1 / 1".

Steps to reproduce

  1. Open any chat on 2.0.5.
  2. Generate or view a message that has only one swipe.
  3. Observe the swipe counter (and arrows) are displayed even though there are no other swipes to navigate to.

Environment

  • Marinara Engine version: 2.0.5
  • Install type: any
  • OS + version: any
  • Browser or app shell: any

Logs, screenshots, or video

Reported in the community Discord. Purely a visual regression.

Additional context

Regression in packages/client/src/components/chat/SwipeJumpControl.tsx: the visibility guard was changed to if (swipeCount <= 1 && !onCreateNextSwipe) return null;. Since the message layouts now always pass onCreateNextSwipe when regeneration is available, the guard no longer suppresses the control for single-swipe messages.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @Romuromylus on GitHub (Jun 25, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2867 Originally assigned to: @Romuromylus on GitHub. ## Summary As of 2.0.5 the per-message swipe counter (the "current / total" indicator and swipe arrows) is always displayed, even when a message has only a single swipe. In previous versions it only appeared when a message had multiple swipes. ## Expected behavior The swipe counter and navigation arrows should only be visible when a message has more than one swipe, as in all versions before 2.0.5. ## Actual behavior The swipe counter shows on every message, including single-swipe messages that display a constant "1 / 1". ## Steps to reproduce 1. Open any chat on 2.0.5. 2. Generate or view a message that has only one swipe. 3. Observe the swipe counter (and arrows) are displayed even though there are no other swipes to navigate to. ## Environment - Marinara Engine version: 2.0.5 - Install type: any - OS + version: any - Browser or app shell: any ## Logs, screenshots, or video Reported in the community Discord. Purely a visual regression. ## Additional context Regression in `packages/client/src/components/chat/SwipeJumpControl.tsx`: the visibility guard was changed to `if (swipeCount <= 1 && !onCreateNextSwipe) return null;`. Since the message layouts now always pass `onCreateNextSwipe` when regeneration is available, the guard no longer suppresses the control for single-swipe messages. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:35:29 +07:00
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#1454
No description provided.