Skip to content

Add dedicated sign-in screen for returning users#4

Draft
Copilot wants to merge 12 commits intotrunkfrom
copilot/inland-leopard
Draft

Add dedicated sign-in screen for returning users#4
Copilot wants to merge 12 commits intotrunkfrom
copilot/inland-leopard

Conversation

Copy link
Contributor

Copilot AI commented Jan 19, 2026

Resolved TODO in welcome screen: both "Sign In" and "Create Account" buttons were routing to the same account creation screen, forcing returning users through the signup flow.

Changes

  • New screen: app/(auth)/sign-in.tsx - dedicated authentication interface with email/password inputs, validation, and loading states
  • Welcome screen: "Sign In" button now routes to /(auth)/sign-in instead of /account
  • Auth layout: registered sign-in screen in navigation stack
  • Cross-navigation: added bidirectional links between sign-in and account creation screens

Implementation

// app/(auth)/welcome.tsx
<Button
  label='Sign In'
  theme='secondary'
  onPress={() => {
    router.push('/(auth)/sign-in');  // Previously: router.push('/account')
  }}
/>

Sign-in screen integrates with existing AuthContext.signIn() method, supports both Supabase and demo auth modes, includes form validation and error handling. All changes use established theme system and component patterns.

User flow: Welcome → Sign In → Main App (returning users) | Welcome → Create Account → Main App (new users)

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • cdp.expo.dev
    • Triggering command: /usr/local/bin/node node /home/REDACTED/.npm/_npx/249ca9fcd30c476a/node_modules/.bin/expo start (dns block)
    • Triggering command: /usr/local/bin/node node /home/REDACTED/.npm/_npx/249ca9fcd30c476a/node_modules/.bin/expo start --web (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Work on TODO: Create dedicated sign in screen or use account screen (from app/(auth)/welcome.tsx)

Created from VS Code via the GitHub Pull Request extension.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Tea4Q added 3 commits August 25, 2025 16:43
see docs/README.md for details.;
Added guest user limits in utils/guestLimits.ts.
Added Android platform support including necessary Gradle files and AndroidManifest.xml.
Updated README.md and moved existing documentation files to docs/ directory for better organization.;
Added Android platform support and updated documentation
Co-authored-by: Tea4Q <81449033+Tea4Q@users.noreply.github.com>
Copilot AI changed the title [WIP] Add dedicated sign in screen for authentication Add dedicated sign-in screen for returning users Jan 19, 2026
Copilot AI requested a review from Tea4Q January 19, 2026 03:36
Tea4Q added 5 commits January 27, 2026 20:35
…hanced guest access handling. Added multiple database migration scripts to improve data integrity and streamline user experience. Implemented new scripts for testing and managing recipe ownership, along with updates to various components and services to align with these changes.
…dded password view toggle in welcome screen. Updated Android manifest and network security config for Google Play compliance. Included new documentation files for Google Play listing and ChatGPT description. Removed obsolete database migration scripts.
… Add new tab layout. Update eas.json for build configuration. Update Supabase client setup. Bump package versions. added new features and fixed bugs in various components. Prepare for release.
@gitguardian
Copy link

gitguardian bot commented Feb 1, 2026

⚠️ GitGuardian has uncovered 2 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
26683181 Triggered Generic Password c1579cc scripts/create-test-accounts.js View secret
26683182 Triggered Generic Password c1579cc scripts/create-test-accounts.js View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Tea4Q added 3 commits February 2, 2026 00:18
…enhance auth context; update changelog and feature docs; refine Supabase integration; optimize recipe list component such as recent, popular, and recommended recipes.
…isconfiguration and missing cooking time fields in recipe data model. Fix eas.json to remove incorrect production profile and update recipe components to use new cooking time fields. Remove old fields from forms and data extraction logic. Broke the favorites list component to clean up duplicate entries in storage.
…nclude a link to the forget password page. Also updated the gradle wrapper properties and removed the network security config file as it is no longer needed.
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