Conversation
✅ Deploy Preview for kubestellarconsole ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
👋 Hey @Copilot — thanks for opening this PR!
This is an automated message. |
…iance, arcade pages Signed-off-by: GitHub Copilot <copilot@github.com> Agent-Logs-Url: https://github.com/kubestellar/console/sessions/8be6cc85-a823-4aee-ab45-f8ead0f8b90c Co-authored-by: clubanderson <407614+clubanderson@users.noreply.github.com>
|
[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 |
|
Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits. 📝 Please follow instructions in the contributing guide to update your commits with the DCO Full details of the Developer Certificate of Origin can be found at developercertificate.org. The list of commits missing DCO signoff:
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. |
The clusters, compliance, and arcade pages showed identical content every visit with no variable-reward elements, missing an engagement psychology opportunity (Nir Eyal's Hook Model: variable ratio reinforcement).
What's added
New
RotatingTipcomponent (web/src/components/ui/RotatingTip.tsx)rightExtraslot) — a different tip each visitsessionStoragepersists the tip index so it stays stable within a session but rotates across visitsNaN-safe: corrupted sessionStorage falls back gracefully to a fresh random pickrole="status"+aria-labelfor screen reader accessibilityAnalytics (
web/src/lib/analytics.ts)ksc_tip_shown(page, tip)→ GA4ksc_tip_shownevent for measuring engagement impactWired on three pages — each receives 5 contextual tips:
Clusters— drag/reorder, filter tabs, GPU panel, multi-cloud, cluster detail drill-downCompliance— Kyverno auto-remediation, Trivy CVE scanning, Kubescape CIS benchmarks, per-cluster filteringArcade— custom layout, multi-card configs, session persistenceChanges Made
web/src/components/ui/RotatingTip.tsx— new reusable rotating tip componentemitTipShown()GA4 event toweb/src/lib/analytics.ts<RotatingTip>into Clusters, Compliance, and Arcade pagesChecklist
git commit -s)Screenshots or Logs (if applicable)
The tip renders in the header right-side slot as a subtle purple pill:
Rotates to a different tip on next visit. No tip shown if the tips array is empty or sessionStorage is unavailable.
👀 Reviewer Notes
Record<string, string[]>constant — easy to extend or i18n laterpageprop is typed askeyof typeof TIPSto prevent typos at call sitesrightExtraslot already existed inDashboardPage— no API changes needed⚡ Quickly spin up Copilot coding agent tasks from anywhere on your macOS or Windows machine with Raycast.