Skip to content

fix(domain): label renewal prices as auto-renewal prices - #341

Open
jpage-godaddy wants to merge 1 commit into
mainfrom
domain-renewal-column
Open

jpage-godaddy wants to merge 1 commit into
mainfrom
domain-renewal-column

Conversation

@jpage-godaddy

Copy link
Copy Markdown
Collaborator

Summary

The renewal price the domains service returns is the price for an auto-renewal. Manual renewals can cost more, and no manual renewal price is available. The tables previously labelled this figure just "Renewal", which could be read as the price of any renewal.

The column headers now say "Auto-Renewal":

  • domain available: "Renewal Price" → "Auto-Renewal Price"
  • domain quote: "Renewal Price" → "Auto-Renewal Price"
  • domain suggest: "1yr Renewal" / "2yr Renewal" → "1yr Auto-Renewal" / "2yr Auto-Renewal"

JSON output and --fields names (renewalPrice, renewalPrice1Year, renewalPrice2Year) are unchanged, so existing scripts keep working.

shopping output has its own "Renews:" label from a different service; it is not changed here.

Test plan

  • cargo clippy --workspace -- -D warnings
  • cargo test --workspace

🤖 Generated with Claude Code

The renewal price returned for domains reflects auto-renewal pricing;
manual renewals can cost more and no manual price is available. Rename
the table columns in `domain available`, `domain suggest` and
`domain quote` so the figure isn't read as the price of every renewal.
JSON field names are unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The changes only update display labels, match the stated scope, and preserve scripting interfaces.

No open issues 🎉

What changed in this PR

Clarifies that domain renewal prices apply to auto-renewal, not manual renewal.

Changes:

  • Updates table headers to say “Auto-Renewal”.
  • Preserves JSON keys and --fields names for script compatibility.
File Description
rust/​src/​domain/​suggest.rs Relabels one- and two-year auto-renewal columns.
rust/​src/​domain/​quote.rs Relabels the auto-renewal price column.
rust/​src/​domain/​available.rs Relabels the auto-renewal price column.

Review effort: Balanced

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