NO-JIRA: Capitalize "Basic" in secret dropdown label#16490
Conversation
Align with content guidelines that capitalize protocol names in UI
labels ("Basic authentication" instead of "basic authentication").
|
@sowmya-sl: This pull request explicitly references no jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (3)
WalkthroughThe pull request updates the capitalization of "Basic authentication" to "Basic Authentication" in the Helm plugin's UI labels and translations. The i18n translation key is updated, and two component forms that reference it are synchronized to use the capitalized form consistently. ChangesBasic authentication label capitalization
🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 11 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (11 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@sowmya-sl: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
@coderabbitai perform the microcopy-review skill without ibm context |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Look at the full HelmURLChartForm to understand surrounding microcopy
cat frontend/packages/helm-plugin/src/components/forms/url-chart/HelmURLChartForm.tsx
echo "---"
cat frontend/packages/helm-plugin/src/components/forms/url-chart/HelmURLInstallForm.tsx
echo "---"
# Check the locale file for surrounding strings
cat frontend/packages/helm-plugin/locales/en/helm-plugin.json | python3 -c "
import json, sys
data = json.load(sys.stdin)
# Print keys/values that contain 'auth' or 'secret' or 'Basic' or 'basic' or 'credential'
for k, v in data.items():
if any(x in k.lower() or x in v.lower() for x in ['auth', 'secret', 'basic', 'credential', 'token', 'tls', 'cert']):
print(f'{k!r}: {v!r}')
"
echo "---"
# Check for similar patterns in other form components (any auth-related labels)
rg -n --type tsx --type ts -i 'authentication|auth.*secret|secret.*auth' frontend/packages/helm-plugin/src/ 2>/dev/null || \
rg -n -i 'authentication|auth.*secret|secret.*auth' frontend/packages/helm-plugin/src/Length of output: 18186
Microcopy Review — PR
|
| Location | Current text | Suggestion | Rationale |
|---|---|---|---|
| Help text (both forms) | A secret with "username" and "password" keys for OCI/HTTP(S) authentication |
Add a trailing period: …OCI/HTTP(S) authentication. |
All sibling help texts in the same form end with a period ("Unique name for Helm release.", "The version of chart to install.") — inconsistency. |
| Label (both forms) | Secret for Basic authentication |
Consider Basic authentication secret |
Noun-first labeling ("protocol + noun") is more natural in English UI labels and matches the shorter sibling labels ("Chart URL", "Release name"). Both forms are grammatically correct; this is a style preference. |
Summary
| Item | Assessment |
|---|---|
basic authentication → Basic authentication |
✅ Correct — "Basic" is a protocol name |
| i18n locale key updated to match | ✅ Correct |
| Both form files updated consistently | ✅ Correct |
| Aligns with existing locale entries | ✅ Consistent |
The change is well-scoped and accurate. The only minor pre-existing inconsistency worth tracking (if desired) is the missing period on the help text for that dropdown field.
|
/label px-approved |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: logonoff, martinszuc, sowmya-sl The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Align with content guidelines that capitalize protocol names in UI labels ("Basic authentication" instead of "basic authentication").
Summary by CodeRabbit