Skip to content

fix(web): make auto-play next, date format and sync-on-return settings work - #8

Merged
devin-ai-integration[bot] merged 5 commits into
mainfrom
devin/1795131066-wire-dead-settings
Nov 20, 2026
Merged

devin-ai-integration[bot] merged 5 commits into
mainfrom
devin/1795131066-wire-dead-settings

Conversation

@JeremyL691

@JeremyL691 JeremyL691 commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

Summary

Three settings were saved but never read by the web app:

  • Auto-play next (pages/library/library.tsx): on playback end, selects and plays the next recording in the current filtered/sorted library order (extends the visible page if needed); stops at the last item. Active while the library is open.
  • Date/time format (lib/format.ts formatRecordingDate): relative / absolute / ISO now applies to library rows, recording header/details and the player card.
  • Sync when returning to the app (shell/shell-data.tsx): visibilitychange → visible triggers a quiet sync, gated by the setting, Plaud enabled + connected, and the existing sync lock; throttled to once a minute.
  • spec/ui-app.md, spec/ui-library.md, spec/plaud.md, CHANGELOG.md updated.

How I tested it

  • npm run typecheck && npm run build pass (i18n 1245 keys × 4 locales).
  • Harness over the changed source: auto-play follows supplied order, stops at end/disabled, unsubscribes on cleanup; date formatter for each preference and invalid input; visibility sync honors hidden/throttle/setting/connection/lock gates.
  • Not verified in a real browser; Plaud sync path not exercised against a live account.

Checklist

  • Commit messages follow Conventional Commits.
  • Behavior changes update the matching file in spec/ and the tests that pin it.
  • Documentation in docs/ is updated for user-visible changes. (n/a)
  • The entry under Unreleased in CHANGELOG.md is updated for user-visible changes.
  • No secrets, personal data, recordings or generated files are included.

Anita opened this PR for Jeremy
Implemented in session Find and fix bugs in OpenAudioHub web app
Review with Devin · Open in Devin Desktop


Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@devin-ai-integration
devin-ai-integration Bot merged commit 6b6e541 into main Nov 20, 2026
11 checks passed
devin-ai-integration Bot pushed a commit that referenced this pull request Nov 20, 2026
…s work (#8)

* fix(web): apply playback, date format and visibility sync preferences

* fix(web): propagate saved preferences and mark local Plaud setup skipped
@devin-ai-integration
devin-ai-integration Bot deleted the devin/1795131066-wire-dead-settings branch November 20, 2026 04:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant