Conversation
Added support for an immersive environment where the user can view the asset in full scale. Immersive environment can be entered by touching the buttons at the UI level or turning the digital crown (impossible on the simulator).
Code reviewBug: Re-entrant The "View Immersive" button is shown whenever museum/Museum/Views/AssetDetailView.swift Lines 39 to 43 in 2d38da1 Fix: gate the button condition on phase too: if hasLoadedModel && immersiveSpaceController.phase == .closed { |
|
@claude Apply the fix suggested on this review: #11 (comment) |
|
Claude finished @ripventura's task in 41s —— View job Fix applied: re-entrant
|
….closed Co-authored-by: Vitor Cesco <ripventura@users.noreply.github.com>
Code reviewBug: museum/Museum/Views/AssetDetailView.swift Lines 69 to 74 in c541d36 When Fix by treating case .error:
immersiveSpaceController.phase = .closed
@unknown default:
immersiveSpaceController.phase = .closed |
|
@claude Fix this issue #11 (comment) |
|
Claude finished @ripventura's task in 48s —— View job Fix applied:
|
…ce failure When openImmersiveSpace returns .error or an unknown result, the phase is now reset to .closed instead of .error. This allows the "View Immersive" button to reappear so the user can retry, avoiding a permanent spinner with no recovery. Co-authored-by: Vitor Cesco <ripventura@users.noreply.github.com>
Added support for an immersive environment where the user can view the asset in full scale. Immersive environment can be entered by touching the buttons at the UI level or turning the digital crown (impossible on the simulator).