Skip to content

Conversation

@chizberg
Copy link
Owner

@chizberg chizberg commented Jan 7, 2026

No description provided.

@chizberg chizberg requested a review from Copilot January 7, 2026 19:42
@chizberg chizberg linked an issue Jan 7, 2026 that may be closed by this pull request
@chizberg chizberg changed the title Street view Google Street View comparison support Jan 7, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds Google Street View integration as a new comparison mode, allowing users to compare historical images with current Street View panoramas. It also updates the copyright year from 2025 to 2026 and introduces a configuration system for managing API keys.

Key Changes:

  • Introduces Street View as an alternative comparison mode alongside camera-based comparisons
  • Adds API key management through Xcode configuration files with validation
  • Refactors comparison state from camera-specific naming to more generic capture terminology

Reviewed changes

Copilot reviewed 20 out of 21 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
Rewind/Model/StreetViewFactory.swift Creates WKWebView instances for displaying Google Street View with embedded HTML/CSS
Rewind/Secrets.swift Manages Google Maps API key retrieval and validates configuration at launch
Rewind/Network/Request.swift Adds Street View availability check via Google Maps API
Rewind/Model/ComparisonModel.swift Refactors to support both camera and Street View capture modes
Rewind/Model/ImageDetailsModel.swift Adds Street View comparison button alongside existing camera comparison
Rewind/View/ImageDetailsView.swift Updates UI to display both comparison options with appropriate transitions
Rewind/View/ComparisonView.swift Renames cameraState to captureState for mode-agnostic terminology
Rewind/Localizable.xcstrings Adds translations for Street View features and updates year to 2026
Config/Secrets.xcconfig.example Provides template for API key configuration
README.md Documents setup instructions for Google Maps API key

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

}
},
"Google Street View Unavailable": {
"comment": "error alert tltle",
Copy link

Copilot AI Jan 7, 2026

Choose a reason for hiding this comment

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

The comment "tltle" contains a typo. It should be "title".

Suggested change
"comment": "error alert tltle",
"comment": "error alert title",

Copilot uses AI. Check for mistakes.
inset: 0;
width: 100%;
height: 100%;
min-width: 50px; // if size is 0x0, pov breaks
Copy link

Copilot AI Jan 7, 2026

Choose a reason for hiding this comment

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

CSS comments in inline styles should use /* */ syntax, not //. The line comment syntax is not valid in CSS and may cause rendering issues.

Suggested change
min-width: 50px; // if size is 0x0, pov breaks
min-width: 50px; /* if size is 0x0, pov breaks */

Copilot uses AI. Check for mistakes.
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@chizberg chizberg merged commit 810820b into main Jan 7, 2026
2 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.

Comparison with Google Street View

2 participants