Skip to content

B-Extra: Camera tab orientation, phantom lenses off, focal length along its bar - #446

Merged
bubulux merged 1 commit into
mainfrom
feat/426-device-camera
Nov 25, 2026
Merged

bubulux merged 1 commit into
mainfrom
feat/426-device-camera

Conversation

@bubulux

@bubulux bubulux commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

Part of #426 (B-Extra), round 3, step 6: device and camera (R11, R13.1, R16).

  • R11, orientation of the Camera tab (Setup › Camera, per device): As held, Landscape or Portrait. While the Camera tab is open the app holds it there (expo-screen-orientation lockAsync, already a dependency); other tabs turn freely again. The first app had an app-wide lock; this one covers the Camera tab only.
  • R13.1, phantom lenses (Setup › This device): each reported lens has a switch. A switched-off lens disappears from the camera on this device. The device file marks it off (an optional field, checked by the model), so the Studio's layout preview leaves it out and Devices shows "switched off". The main lens always stays on.
  • R16, focal length along its bar: a zoom preset's control is horizontal in a top or bottom bar and vertical in a side bar, with + at the top. − and + are camera buttons (black, sized per device) with more room around them; the track can be dragged; nothing is clipped.

Checked: make check green. Not tested on a device: all three are phone-side (JS only; a reload of the dev client picks them up).

🤖 Generated with Claude Code

…, focal length along its bar (#426)

- Setup › Camera: the Camera tab's orientation per device (as held, landscape, portrait); the app keeps
  it while the tab is open (expo-screen-orientation) and turns freely on the other tabs.
- Setup › This device: a lens a driver reports but the device does not have is switched off; no app
  offers it, the device file marks it off, and the Studio's layout preview leaves it out. The main lens
  stays.
- The zoom preset's focal length control follows its bar: horizontal in a top or bottom bar, vertical
  in a side bar (+ at the top); − and + step a millimetre with room around them; never clipped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bubulux
bubulux merged commit 899e1d9 into main Nov 25, 2026
5 checks passed
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