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
- Open any chat on 2.0.5.
- Generate or view a message that has only one swipe.
- 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:
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
Environment
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 toif (swipeCount <= 1 && !onCreateNextSwipe) return null;. Since the message layouts now always passonCreateNextSwipewhen 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: