Skip to content

Conversation

vermakhushboo
Copy link
Member

@vermakhushboo vermakhushboo commented Sep 1, 2025

What does this PR do?

(Provide a description of what this PR does.)

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

  • Documentation
    • Clarified DNS propagation guidance to specify changes may take up to 48 hours.
    • Updated messaging in the Nameservers table to reflect the 48-hour propagation window.
    • Revised propagation note in Domains > Records cards across organization and project views.
    • Updated the Retry verification modal to communicate the 48-hour DNS propagation timeframe.
    • No functional behavior changes; copy updates only.

Copy link

appwrite bot commented Sep 1, 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

You can use Avatars API to generate QR code for any text or URLs.

Copy link
Contributor

coderabbitai bot commented Sep 1, 2025

Walkthrough

This change updates user-facing text related to DNS propagation across several Svelte components. In nameserverTable.svelte and two recordsCard.svelte files, the note now specifies that changes may take up to 48 hours to propagate fully, replacing a generic propagation time message. The retryDomainModal.svelte guidance text was similarly updated to mention the 48-hour window. No logic, data flow, APIs, or layout were modified; only static copy within UI components was changed.

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat-update-DNS-copy

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

@coderabbitai coderabbitai bot left a 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

🧹 Nitpick comments (3)
src/routes/(console)/organization-[organization]/domains/recordsCard.svelte (1)

87-89: Minor copy polish for clarity

Consider switching “on your DNS provider” to “with your DNS provider” for more natural phrasing. Also keep the sentence on one line to avoid accidental whitespace in translations.

-                Add the following nameservers on your DNS provider. Note that changes may take up to
-                48 hours to propagate fully.
+                Add the following nameservers with your DNS provider. Note that changes may take up to 48 hours to propagate fully.
src/routes/(console)/organization-[organization]/domains/retryDomainModal.svelte (1)

67-69: Minor copy polish for consistency

Same phrasing tweak here to match other surfaces and improve readability.

-            Add the following nameservers on your DNS provider. Note that changes may take up to 48
-            hours to propagate fully.
+            Add the following nameservers with your DNS provider. Note that changes may take up to 48 hours to propagate fully.
src/lib/components/domains/nameserverTable.svelte (1)

26-28: Minor copy polish; consider centralizing shared string

  • Use “with your DNS provider” for more natural phrasing.
  • Optional: centralize this 48-hour guidance in a shared constant/translation key to avoid future drift across components.
-        Add the following nameservers on your DNS provider. Note that changes may take up to 48
-        hours to propagate fully.
+        Add the following nameservers with your DNS provider. Note that changes may take up to 48 hours to propagate fully.
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between a82e961 and 04cdfd2.

📒 Files selected for processing (4)
  • src/lib/components/domains/nameserverTable.svelte (1 hunks)
  • src/routes/(console)/organization-[organization]/domains/recordsCard.svelte (1 hunks)
  • src/routes/(console)/organization-[organization]/domains/retryDomainModal.svelte (1 hunks)
  • src/routes/(console)/project-[region]-[project]/functions/function-[function]/domains/recordsCard.svelte (1 hunks)
⏰ 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

Comment on lines +28 to 30
Add the following nameservers on your DNS provider. Note that changes may take
up to 48 hours to propagate fully.
</Typography.Text>
Copy link
Contributor

Choose a reason for hiding this comment

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

💡 Verification agent

🧩 Analysis chain

Incorrect instruction: mentions “nameservers” but the table shows a CNAME record

This UI asks users to add “nameservers” while the table below instructs them to add a CNAME. That can mislead users and delay verification.

-                    Add the following nameservers on your DNS provider. Note that changes may take
-                    up to 48 hours to propagate fully.
+                    Add the following CNAME record with your DNS provider. Note that changes may take up to 48 hours to propagate fully.

Run to find any other mismatches between the “nameservers” phrasing and non-NS records:


🏁 Script executed:

#!/bin/bash
# Show all occurrences of the phrase with nearby context
rg -nC3 -S 'Add the following nameservers' --type svelte

# Confirm this screen indeed uses CNAME
rg -nC2 -S 'CNAME' --type svelte 'src/routes/(console)/project-[region]-[project]/functions/function-[function]/domains/recordsCard.svelte'

# Check all places using the 48-hour copy for consistency
rg -n -S 'up to 48 hours' --type svelte

Length of output: 333


#!/bin/bash
# Find all occurrences of the “nameservers” phrasing in Svelte files
grep -R -n -C3 "Add the following nameservers" --include="*.svelte" .

# Confirm CNAME usage in this specific component
grep -R -n -C2 "CNAME" --include="recordsCard.svelte" src/routes/(console)/project-*/project/functions/function-*/domains/

# Check all instances of the 48-hour copy for consistency
grep -R -n "up to 48 hours" --include="*.svelte" .

#!/bin/bash
# Locate the “nameservers” phrasing in all Svelte files
grep -R -n -C3 "Add the following nameservers" --include="*.svelte" .

# Verify CNAME usage in recordsCard.svelte
grep -R -n -C2 "CNAME" --include="recordsCard.svelte" src/routes/(console)/project-*/project/functions/function-*/domains/

# Check every Svelte file for the “up to 48 hours” text
grep -R -n "up to 48 hours" --include="*.svelte" .

🏁 Script executed:

#!/bin/bash
# Locate the “nameservers” phrasing in all Svelte files
grep -R -n -C3 "Add the following nameservers" --include="*.svelte" .

# Verify CNAME usage in recordsCard.svelte
grep -R -n -C2 "CNAME" --include="recordsCard.svelte" src/routes/(console)/project-*/project/functions/function-*/domains/

# Check every Svelte file for the “up to 48 hours” text
grep -R -n "up to 48 hours" --include="*.svelte" .

Length of output: 3953


Replace “nameservers” with “CNAME record” in CNAME instructions

  • src/routes/(console)/project-[region]-[project]/functions/function-[function]/domains/recordsCard.svelte (line 28): change
    “Add the following nameservers on your DNS provider. Note that changes may take up to 48 hours to propagate fully.”
    to
    “Add the following CNAME record with your DNS provider. Note that changes may take up to 48 hours to propagate fully.”

  • src/routes/(console)/organization-[organization]/domains/recordsCard.svelte (line 87): apply the same replacement.

  • src/routes/(console)/organization-[organization]/domains/retryDomainModal.svelte (line 67): apply the same replacement.

Leave src/lib/components/domains/nameserverTable.svelte unchanged (it correctly refers to NS records).

🤖 Prompt for AI Agents
In
src/routes/(console)/project-[region]-[project]/functions/function-[function]/domains/recordsCard.svelte
around lines 28-30,
src/routes/(console)/organization-[organization]/domains/recordsCard.svelte
around line 87, and
src/routes/(console)/organization-[organization]/domains/retryDomainModal.svelte
around line 67, replace the phrase “Add the following nameservers on your DNS
provider. Note that changes may take up to 48 hours to propagate fully.” with
“Add the following CNAME record with your DNS provider. Note that changes may
take up to 48 hours to propagate fully.”; ensure exact punctuation and
capitalization match the replacement and do not modify
src/lib/components/domains/nameserverTable.svelte (it correctly refers to NS
records).

@Meldiron Meldiron merged commit 905f8bc into main Sep 3, 2025
5 checks passed
@Meldiron Meldiron deleted the feat-update-DNS-copy branch September 3, 2025 08:17
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