Add docs links#1762
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (6)
📝 WalkthroughWalkthroughThis PR adds Supabase as a supported database provider. Changes include host detection for Supabase endpoints, metadata additions to connection dialogs, refactored documentation link handling, and minor UI improvements to widget ordering and documentation references. ChangesSupabase Database Provider Integration
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Pull request overview
Adds/extends UI documentation links in the frontend so users can jump to provider/widget setup guides, and makes widget type selection ordering deterministic.
Changes:
- Added a docs URL for the
BinaryUI widget. - Sorted available widget types alphabetically in the widgets settings UI.
- Centralized “Setup guide” links in the IP access dialog and added Supabase provider support (name + docs link + provider detection).
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| frontend/src/app/components/dashboard/db-table-view/db-table-widgets/widget/widget.component.ts | Adds Binary widget docs URL entry. |
| frontend/src/app/components/dashboard/db-table-view/db-table-widgets/db-table-widgets.component.ts | Sorts widgetTypes for consistent ordering. |
| frontend/src/app/components/connect-db/db-connection-ip-access-dialog/db-connection-ip-access-dialog.component.ts | Introduces a provider→docs link map for the IP access dialog. |
| frontend/src/app/components/connect-db/db-connection-ip-access-dialog/db-connection-ip-access-dialog.component.html | Replaces multiple provider-specific anchors with a single dynamic docs link. |
| frontend/src/app/components/connect-db/db-connection-confirm-dialog/db-connection-confirm-dialog.component.ts | Adds Supabase provider name + docs link in the connection error dialog. |
| frontend/src/app/components/connect-db/connect-db.component.ts | Detects Supabase provider from host suffix. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| public provider: string = null; | ||
| public providerDocsLink = { | ||
| amazon: 'https://docs.rocketadmin.com/Create%20connections/Direct%20connection/create_aws_mysql', | ||
| azure: 'https://learn.microsoft.com/en-us/azure/mysql/flexible-server/how-to-manage-firewall-portal', | ||
| google: 'https://docs.rocketadmin.com/Create%20connections/Direct%20connection/create_google_cloud', | ||
| mongoatlas: 'https://docs.rocketadmin.com/Create%20connections/Direct%20connection/create_mongo_atlas', | ||
| digitalocean: 'https://docs.rocketadmin.com/Create%20connections/Direct%20connection/create_digitalocean_postgresql', | ||
| supabase: 'https://docs.rocketadmin.com/Create%20connections/Direct%20connection/create_supabase', | ||
| }; |
| </a> | ||
| <a *ngIf="data.provider === 'digitalocean'" mat-button target="_blank" | ||
| href="https://docs.rocketadmin.com/Create%20connections/Direct%20connection/create_digitalocean_postgresql"> | ||
| <a *ngIf="providerDocsLink[data.provider]" mat-button target="_blank" |
Summary by CodeRabbit
New Features
Improvements