Skip to content

Conversation

@chuckcarpenter
Copy link
Member

No description provided.

- Add @supabase/supabase-js dependency
- Create Supabase service for auth and database operations
- Implement Supabase authenticator to replace Cognito
- Create Supabase data source to replace JSON:API remote
- Update login/register components to use Supabase auth
- Configure CSP for Supabase domains
- Add environment configuration for Supabase
- Preserve existing Orbit.js data flow and strategies

This migration maintains the existing data architecture while replacing
AWS Cognito + API Gateway with Supabase for simplified maintenance.
- Add recent changes section documenting Supabase migration
- Highlight key benefits of the migration
- Document preserved architecture and new capabilities
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 15, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/supabase-migration-gitmoji

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

- Remove ember-cognito dependency from package.json
- Convert Supabase authenticator from .js to .ts with proper types
- Remove unused Cognito service and authenticator files
- Remove backup file (remote.js.backup)
- Update CSP to remove AWS Cognito domains
- Clean up environment config removing legacy Cognito settings
- All builds passing successfully

This completes the cleanup phase of Supabase migration.
- Remove package-lock.json (npm lock file)
- Remove node_modules directory
- Prepare for proper pnpm setup
- Will resolve pnpm installation issues separately

Maintains clean state for package manager migration.
- Add complete Supabase database schema with RLS policies
- Add migration helper functions for AWS → Supabase data transfer
- Add sample data creation for new users
- Create detailed migration guide for users
- Fix SUPABASE_ANON_KEY typo in environment config
- Add palettes_with_colors view for efficient queries
- Include proper constraints, indexes, and triggers
- Support data transformation from Orbit.js format
- Add row-level security for user isolation

This provides all SQL and documentation needed for seamless user migration
from AWS Cognito + DynamoDB to Supabase.
- Resolved all merge conflicts between main and feature branch
- Kept Supabase migration infrastructure (authenticator, service, remote source)
- Preserved our environment configuration with SUPABASE_ANON_KEY fix
- Maintained comprehensive migration documentation and schema
- Accepted main branch improvements while protecting our changes

Ready for PR on original feature branch.
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