Skip to content

Viktorija1#1

Open
Viktorija97 wants to merge 32 commits intomasterfrom
Viktorija1
Open

Viktorija1#1
Viktorija97 wants to merge 32 commits intomasterfrom
Viktorija1

Conversation

@Viktorija97
Copy link
Copy Markdown
Collaborator

No description provided.

Neno73 and others added 30 commits March 4, 2025 22:08
- Remove hardcoded Firebase API keys from firebase.ts
- Add .env.example as a template for configuration
- Update .gitignore to exclude sensitive files
- Move credentials to environment variables
- Update repository links
- Add Vercel deployment documentation
- Include step-by-step setup guide
- Update badge URL for Vercel deployment
The ignoreCommand setting was causing the build to be canceled. This commit removes
that setting to allow the deployment to proceed normally.
- Removed exposed API keys from documentation and test files
- Added placeholders instead of actual credentials
- Updated .gitignore to prevent credential leaks
- Added SECURITY-CHECKLIST.md for reference
- Added clean-credentials.js script for cleanup

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Implement material breakdown with weight and recyclability metrics
- Add sustainability metrics with recyclable percentage calculation
- Show total components and weight statistics
- Modify analytics fetching to include component data

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit adds a dedicated page to handle password reset links from Firebase auth emails. Previously, users were getting errors when clicking reset links because there was no page to process the action codes.

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit fixes the build error in the password reset page by properly wrapping the useSearchParams hook in a Suspense boundary. The changes include:

1. Restructuring the component to use a Suspense wrapper
2. Creating a separate content component that uses the hooks
3. Adding a loading component for the Suspense fallback

This fixes the error: "useSearchParams() should be wrapped in a suspense boundary"

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit makes two key changes to fix the password reset functionality:

1. Updates the resetPassword function to include actionCodeSettings with a custom redirect URL
   to ensure Firebase auth redirects to our app's reset page instead of the default Firebase page

2. Enhances the reset-password page to better handle action codes by:
   - Looking for the reset code in multiple possible URL parameter names
   - Adding more detailed logging for troubleshooting
   - Relaxing the mode check to handle variations in how Firebase sends the parameters

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit addresses the API key expired error by:

1. Reverting to the default Firebase password reset flow without custom redirect URLs
   to avoid issues with domain validation and API restrictions

2. Enhancing error handling in the login page's password reset function to:
   - Add more detailed error logging to help diagnose issues
   - Handle specific Firebase errors like invalid/expired API keys
   - Provide better user feedback for various error scenarios

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Updated CompanyPage to use React hooks for parameter handling and improved error logging.
- Enhanced product fetching logic in CompanyPage to include company-specific products.
- Added new components and improved UI for product creation and QR code management.
- Refined user profile and dashboard pages for better user experience.
- Implemented search functionality in user scan history and improved navigation components.
- Implemented user redirection based on authentication status in the landing page.
- Improved product creation page with validation for required fields and care instructions.
- Updated success page to provide better user feedback and navigation options after product creation.
- Refined scan page layout and integrated background images for improved aesthetics.
- Adjusted bottom navigation for user-specific context and streamlined component imports.
@vercel
Copy link
Copy Markdown

vercel bot commented Jun 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
transpass ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 20, 2025 8:11am

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.

3 participants