-
Notifications
You must be signed in to change notification settings - Fork 0
Add a free shipping promo highlight #3
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| namespace GhAdoE2eDemo.Web; | ||
|
Check failure on line 1 in src/Web/HomeContent.cs
|
||
|
|
||
| /// <summary> | ||
| /// Home-page content. Kept in one place so the demo's simple user stories (banner text, | ||
|
|
@@ -12,6 +12,7 @@ | |
| // User Story: "Add a 'What's New' highlights section to the home page". | ||
| public static readonly IReadOnlyList<string> Highlights = new[] | ||
| { | ||
| "Free shipping on orders over 100", | ||
|
Check failure on line 15 in src/Web/HomeContent.cs
|
||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. MEDIUM: Ambiguous monetary value lacks currency precision The promotional message doesn't specify currency (USD assumed but not stated). For clarity in user-facing copy, consider 'Free shipping on orders over $100 USD' or ensure the context makes the currency unambiguous elsewhere in the UI. |
||
| "See the latest updates in the What is New section", | ||
| "Migrated from Azure DevOps to GitHub with full history and pull requests", | ||
| "AI-assisted code review on every pull request", | ||
|
|
||
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.
HIGH: User-facing string violates American-English convention
The string 'Free shipping on orders over 100' is missing a currency symbol. Per .github/copilot-instructions.md, user-facing strings under src/ must follow American-English conventions. Change to 'Free shipping on orders over $100' to properly format the monetary value.