-
Notifications
You must be signed in to change notification settings - Fork 1
Google Street View comparison support #84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this 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.
Rewind/Localizable.xcstrings
Outdated
| } | ||
| }, | ||
| "Google Street View Unavailable": { | ||
| "comment": "error alert tltle", |
Copilot
AI
Jan 7, 2026
There was a problem hiding this comment.
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".
| "comment": "error alert tltle", | |
| "comment": "error alert title", |
Rewind/Model/StreetViewFactory.swift
Outdated
| inset: 0; | ||
| width: 100%; | ||
| height: 100%; | ||
| min-width: 50px; // if size is 0x0, pov breaks |
Copilot
AI
Jan 7, 2026
There was a problem hiding this comment.
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.
| min-width: 50px; // if size is 0x0, pov breaks | |
| min-width: 50px; /* if size is 0x0, pov breaks */ |
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
No description provided.