Skip to content

feat: persist recorder camera preferences across launches - #17

Merged
morepriyam merged 1 commit into
mainfrom
feat/persist-recorder-prefs
Jun 14, 2026
Merged

morepriyam merged 1 commit into
mainfrom
feat/persist-recorder-prefs

Conversation

@morepriyam

Copy link
Copy Markdown
Collaborator

Facing, stabilization mode, and mic/mute now survive cold starts via the settings key/value table (getRecorderPrefs/setSetting). The recorder hydrates on mount and writes each pref on change, holding the camera render until prefs load so the first frame uses the saved facing (no back->front flash).

  • src/db/settings.ts: generic getSetting/setSetting + getRecorderPrefs
  • src/features/recorder/use-recorder.ts: hydrate + persist effects, prefsReady
  • src/app/recorder.tsx: gate camera render on prefsReady
  • tsconfig.json: exclude tmp/ reference clone from typecheck
  • docs/pulse-feature-gaps.md: mark A4 resolved

Facing, stabilization mode, and mic/mute now survive cold starts via the
settings key/value table (getRecorderPrefs/setSetting). The recorder hydrates
on mount and writes each pref on change, holding the camera render until prefs
load so the first frame uses the saved facing (no back->front flash).

- src/db/settings.ts: generic getSetting/setSetting + getRecorderPrefs
- src/features/recorder/use-recorder.ts: hydrate + persist effects, prefsReady
- src/app/recorder.tsx: gate camera render on prefsReady
- tsconfig.json: exclude tmp/ reference clone from typecheck
- docs/pulse-feature-gaps.md: mark A4 resolved
@morepriyam
morepriyam merged commit a8037d4 into main Jun 14, 2026
1 check passed
@morepriyam
morepriyam deleted the feat/persist-recorder-prefs branch June 14, 2026 22:55
morepriyam added a commit that referenced this pull request Aug 12, 2026
feat: persist recorder camera preferences across launches
morepriyam added a commit that referenced this pull request Aug 12, 2026
…advisories

Bumps transitive dependency resolutions already permitted by existing
semver ranges declared by Expo's own packages and devDependencies:

- js-yaml 3.15.0 -> 3.15.1 (babel-plugin-istanbul, dev-only)
- js-yaml 4.3.0 -> 4.3.1 (@expo/xcpretty, eslint's @eslint/eslintrc)
- brace-expansion 5.0.7 -> 5.0.9 (minimatch used by @expo/cli,
  @expo/config, @expo/config-plugins, @expo/fingerprint,
  @expo/metro-config)
- brace-expansion 1.1.16 -> 1.1.18 (eslint's minimatch@3)

No package.json ranges were changed and no Expo/framework versions
were bumped or overridden - these are patch-level fixes already
allowed by the existing dependency graph.

Closes dependabot alerts #14, #13, #11, #8.

Note: the following dependabot alerts remain open and are not
fixable via a lockfile refresh:
- #17, #16 (image-size DoS): no patched version exists upstream;
  image-size is archived and pulled in transitively via metro, even
  on the latest metro/expo releases. Needs an upstream fix in Metro.
- #2 (uuid missing bounds check): the xcode package (used by
  @expo/config-plugins) pins uuid@^7.0.3 and has not bumped it in
  its latest release. Not practically exploitable here since xcode
  only calls uuid.v4() with no output buffer (the affected code path
  is v3()/v5()/v6() with a caller-supplied buffer).
- #1 (esbuild dev server): comes from drizzle-kit's deprecated
  @esbuild-kit/esm-loader dependency, unrelated to Expo/Metro's dev
  server (already patched). Dev-only, low real-world risk since
  @esbuild-kit only uses esbuild's transform API, not serve().
@morepriyam morepriyam self-assigned this Aug 14, 2026
@github-project-automation github-project-automation Bot moved this from Ready to Done in Scrum Team Jerry Aug 14, 2026
morepriyam added a commit that referenced this pull request Oct 14, 2026
pulse-editor #17 (clipStartsMs in the preview's status) and #18 (iOS: the
reported time holds through an edit, and a seek during a swap waits for it)
are merged; the editor's pin moves from the #18 branch to main.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant