-
Notifications
You must be signed in to change notification settings - Fork 198
feat: new console notification for db operators #2551
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: new console notification for db operators #2551
Conversation
ConsoleProject ID: Sites (1)
Tip Cursor pagination performs better than offset pagination when loading further pages. |
WalkthroughThis pull request updates the promotional alert displayed in the console bottom alerts. When Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes
Pre-merge checks and finishing touches✅ Passed checks (2 passed)
✨ Finishing touches
🧪 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (4)
src/lib/images/promos/db-operators-dark.pngis excluded by!**/*.pngsrc/lib/images/promos/db-operators-light.pngis excluded by!**/*.pngsrc/lib/images/promos/transactions-api-dark.pngis excluded by!**/*.pngsrc/lib/images/promos/transactions-api-light.pngis excluded by!**/*.png
📒 Files selected for processing (1)
src/routes/(console)/bottomAlerts.ts(1 hunks)
🧰 Additional context used
🧬 Code graph analysis (1)
src/routes/(console)/bottomAlerts.ts (1)
src/lib/system.ts (1)
isCloud(26-26)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
- GitHub Check: build
- GitHub Check: e2e
🔇 Additional comments (2)
src/routes/(console)/bottomAlerts.ts (2)
10-29: LGTM! Clean implementation of the promotional content swap.The changes correctly replace the Transactions API promo with the DB operators promo. All references are consistently updated, including:
- Variable naming (
dbOperatorsPromo)- Promotional ID (
modal:db_operators_announcement)- Title, message, and CTA link
- Image asset references
The implementation maintains the same structure and logic flow, making this a straightforward content update.
4-5: Verification complete—image assets confirmed to exist and old promotional content fully removed.The new image imports at lines 4-5 reference existing files (
src/lib/images/promos/db-operators-dark.pnganddb-operators-light.png). The old transaction API promotional content has been completely removed from the codebase with no lingering references. The DB operators promo is properly scoped within theisCloudconditional and follows the expected structure.

What does this PR do?
(Provide a description of what this PR does.)
Test Plan
Related PRs and Issues
(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)
Have you read the Contributing Guidelines on issues?
(Write your answer here.)
Summary by CodeRabbit