Audio attachments: pause and resume instead of stop #576

Open
opened 2026-11-14 21:47:30 +00:00 by charles · 0 comments
Owner

Follow-up from the review of PR #556 (Task 25, #513).

In Flaxative, pressing play on the attachment already playing does nothing, and Stop closes the player and loses the position (crates/fluxer-core/src/chat/media.rs, play / stop). The original's inline player toggles pause and keeps the position.

To do: add a paused state to Playing and AudioPlayerModel, send MediaCommand::Pause / Play on toggle, and have the audio card in fluxer-ui show play/pause. This touches fluxer-core and fluxer-ui, so it needs its own task.

Follow-up from the review of PR #556 (Task 25, #513). In Flaxative, pressing play on the attachment already playing does nothing, and Stop closes the player and loses the position (`crates/fluxer-core/src/chat/media.rs`, `play` / `stop`). The original's inline player toggles pause and keeps the position. To do: add a paused state to `Playing` and `AudioPlayerModel`, send `MediaCommand::Pause` / `Play` on toggle, and have the audio card in `fluxer-ui` show play/pause. This touches fluxer-core and fluxer-ui, so it needs its own task.
charles added this to the Daily use milestone 2026-11-14 21:47:30 +00: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
charles/fluxer-native#576
No description provided.