📝 fix(security-links): address Copilot review on #8348#8355
📝 fix(security-links): address Copilot review on #8348#8355clubanderson merged 1 commit intomainfrom
Conversation
Copilot-generated followup #8352 flagged four nits on the merged security-links PR (#8348): - Misleading "Falls back to" comment on SECURITY_DOC_URL — both links are surfaced side-by-side, not as a fallback chain. Rewrote to describe the actual behavior. - Link label "(docs.kubestellar.io)" didn't match the actual host ("kubestellar.io") in SetupInstructionsDialog. Matched the label to the URL. - MissionDetailView docstring referenced "docs.kubestellar.io" for the SECURITY_MODEL_DOC_URL constant; URL is "kubestellar.io". - Link text "AI threat model" was inconsistent with SetupInstructionsDialog which uses "AI automation threat model". Aligned wording so both entry points read the same. Fixes #8352 Signed-off-by: Andy Anderson <[email protected]>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
✅ Deploy Preview for kubestellarconsole ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
👋 Hey @clubanderson — thanks for opening this PR!
This is an automated message. |
There was a problem hiding this comment.
Pull request overview
Follow-up copy/comment-only cleanup to align the Console security documentation link labels and docstrings with the actual kubestellar.io URL and to make the AI threat model link text consistent across UI entry points.
Changes:
- Reworded the
SECURITY_DOC_URLinline comment to remove “fallback” implications (links are displayed side-by-side). - Updated visible host labels from
docs.kubestellar.iotokubestellar.iowhere the actual URL host iskubestellar.io. - Standardized “AI automation threat model” link text in the mission Security tab empty state to match the footer.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| web/src/components/setup/SetupInstructionsDialog.tsx | Adjusts security-doc constant comment and aligns the rendered link label with the kubestellar.io host shown in the href. |
| web/src/components/missions/MissionDetailView.tsx | Updates the security-doc docstring host and makes AI threat-model link text consistent. |
|
Thank you for your contribution! Your PR has been merged. Check out what's new:
Stay connected: Slack #kubestellar-dev | Multi-Cluster Survey |
|
Post-merge build verification passed ✅ Both Go and frontend builds compiled successfully against merge commit |
❌ Post-Merge Verification: failedCommit: |
Summary
Addresses the four Copilot-generated review nits from #8352 on the merged #8348.
SECURITY_DOC_URLinSetupInstructionsDialog.tsx— both links are shown side-by-side, not in a fallback chain.(docs.kubestellar.io)→(kubestellar.io)inSetupInstructionsDialog.tsxto match the actual host ofSECURITY_DOC_URL.MissionDetailView.tsxdocstring fromdocs.kubestellar.io→kubestellar.iofor the same constant.AI threat model→AI automation threat modelinMissionDetailView.tsxso both entry points read the same.Fixes #8352
Test plan
npm run buildpasses