Skip to content

feat: support more cloud providers and distributions in footer - #153

Merged
vantoan1511 merged 1 commit into
mainfrom
feat/support-more-providers
Aug 23, 2026
Merged

feat: support more cloud providers and distributions in footer#153
vantoan1511 merged 1 commit into
mainfrom
feat/support-more-providers

Conversation

@vantoan1511

Copy link
Copy Markdown
Owner

Summary

Expands the cloud provider and distribution detection in the application footer to support popular cloud offerings (DigitalOcean, Scaleway, Linode, Vultr, Civo, Oracle) and local distributions (Docker Desktop, Kind, K3d, k0s, Talos, Rancher Desktop, Colima, OpenShift). Refactors the logic into an extensible, table-driven utility (detectCloudProvider) to avoid large if-else chains.

Changes

  • Cloud Provider Detection Utility: Created src/utils/cloudProvider.ts with table-driven pattern matching rules for cloud providers and local Kubernetes distributions.
  • Footer Refactoring: Updated src/components/layout/AppFooter.vue to use detectCloudProvider instead of nested if-else statements.
  • Coding Guidelines: Updated GEMINI.md to reinforce designing for extensibility upfront.

Files Changed

File Action Description
src/utils/cloudProvider.ts Added Table-driven rule matching logic for cluster providers
src/components/layout/AppFooter.vue Modified Delegates cloud provider detection to detectCloudProvider
GEMINI.md Modified Added rule for designing for extensibility

Testing

  • npm run type-check: Passed with 0 errors.
  • npm run lint: Passed with 0 warnings/errors.
  • npm run build-only: Build completed cleanly.

Related Artifacts

  • Report: .agents/PRPs/reports/support-more-providers-report.md
  • Plan: .agents/PRPs/plans/completed/support-more-providers.plan.md

@github-actions github-actions Bot added the feat label Aug 23, 2026
@vantoan1511
vantoan1511 merged commit 43a6389 into main Aug 23, 2026
2 checks passed
@vantoan1511
vantoan1511 deleted the feat/support-more-providers branch August 23, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant