Skip to content

Conversation

HarshMN2345
Copy link
Member

@HarshMN2345 HarshMN2345 commented Sep 2, 2025

What does this PR do?

image image

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)

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

  • New Features
    • Introduced an in-app promo announcing Time helper queries with simpler before/after filters.
    • Updated promo visuals (dark/light images) and refreshed title and messaging.
    • Added a direct CTA to the new blog post.
    • Prioritized this promo to appear first in the console, ahead of other promotions.

Copy link

appwrite bot commented Sep 2, 2025

Console

Project ID: 688b7bf400350cbd60e9

Sites (2)
Site Status Logs Preview QR
 console-qa
688b7cf6003b1842c9dc
Ready Ready View Logs Preview URL QR Code
 console-cloud
688b7c18002b9b871a8f
Ready Ready View Logs Preview URL QR Code

Note

Appwrite has a Discord community with over 16 000 members.

Copy link

coderabbitai bot commented Sep 2, 2025

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (2)
  • src/lib/images/promos/time-helper-queries-dark.png is excluded by !**/*.png
  • src/lib/images/promos/time-helper-queries-light.png is excluded by !**/*.png

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

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

Walkthrough

  • In src/routes/(console)/bottomAlerts.ts, the promo “Timestamp Overrides” was replaced with “Time helper queries.”
  • Updated asset imports from timestamp-overrides-.png to time-helper-queries-.png.
  • Introduced timeHelperQueriesPromo (id: modal:time_helper_queries_announcement) and removed timestampOverridesPromo (id: modal:timestamp_overrides_announcement).
  • Updated promo title and message, and changed the CTA link to the new blog post path.
  • Updated src references to TimeHelperQueriesDark/TimeHelperQueriesLight.
  • Reordered promotions: timeHelperQueriesPromo is pushed before optInRelationPromo and tablesApiPromo.
  • No changes to other promotions or exported/public declarations.

Possibly related PRs

  • feat: notification for opt in loading #2274: Modifies promo definitions and ordering in src/routes/(console)/bottomAlerts.ts; introduces optInRelationPromo that this PR reorders alongside the new timeHelperQueriesPromo.

Suggested reviewers

  • ItzNotABug
✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat-SER-345-promo-notification-time-helper-queries

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore or @coderabbit ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@Meldiron Meldiron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR looks good, but visual seems to have bug

image

@HarshMN2345 HarshMN2345 requested a review from Meldiron September 3, 2025 16:15
@ItzNotABug ItzNotABug merged commit a278dd0 into main Sep 4, 2025
5 checks passed
@ItzNotABug ItzNotABug deleted the feat-SER-345-promo-notification-time-helper-queries branch September 4, 2025 03:52
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