Skip to content

refactor: match the Your First App docs - #112

Open
brandyscarney wants to merge 1 commit into
chore/add-test-coveragefrom
chore/match-docs
Open

brandyscarney wants to merge 1 commit into
chore/add-test-coveragefrom
chore/match-docs

Conversation

@brandyscarney

@brandyscarney brandyscarney commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

What This Does

Makes the app's code match what a reader ends up with after following the "Your First App" docs, so the repo can be used to check your work against the tutorial.

New Behavior

None. The app works the same; only comments and one unused starter property change.

Changes

  • photo.service.ts: comments now match the docs. The old /* Use the device camera ... */ block (with dead capacitor.ionicframework.com links) and other comments the docs don't have are removed; the inline comments on the Camera.getPhoto options stay, since the docs now have them too, and the deletePhoto comments use the docs' wording.
  • tabs.page.ts: matches the starter plus the docs' change (registering the images icon), including the starter's environmentInjector.
  • main.ts: removes a comment that is a // CHANGE: marker in the docs, not code.

Notes

@brandyscarney
brandyscarney requested a review from a team as a code owner October 26, 2026 14:55
@brandyscarney
brandyscarney requested review from ShaneK and removed request for a team October 26, 2026 14:55
@vercel

vercel Bot commented Oct 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
tutorial-photo-gallery-angular Ready Ready Preview Oct 26, 2026 2:55pm UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — cf669688 Deployed Oct 26, 2026 by vercel[bot]
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