Skip to content

Conversation

stevensJourney
Copy link
Contributor

Overview

This adds some minor improvements to the dev experience of the demo.

Improved signin

The demo currently navigates to the signin page on every app boot regardless if a session is present or not. The demo will now proceed to the main page automatically if a session is present. Avoiding the requirement to signin on every app boot.

Improved secrets

We currently require specifying "Secrets" in a Git committed _Secrets.swift file. Developers using this demo will have to edit this file (which is tracked by Git). It is possible to locally avoid tracking changes to this file after the fact, but this can be a pain to deal with if we ever make updates to the template.

This restructures the Secrets to use a default implementation which can be extended with actual values in a file which is not tracked by Git.

@stevensJourney stevensJourney marked this pull request as ready for review July 31, 2025 15:20
@stevensJourney stevensJourney requested a review from simolus3 July 31, 2025 15:20
Copy link
Contributor

@simolus3 simolus3 left a comment

Choose a reason for hiding this comment

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

I've had a fair share of near misses with the Secrets.swift file, so I like these changes 👍

@stevensJourney stevensJourney merged commit d6b3d4d into main Aug 5, 2025
3 checks passed
@stevensJourney stevensJourney deleted the demo-improvements branch August 5, 2025 12:25
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.

2 participants