Skip to content

fix: [PRODUCT-503] show user all available zones#168

Merged
sigmachirality merged 1 commit into
mainfrom
dt/show-sold-out-zones
Jul 16, 2025
Merged

fix: [PRODUCT-503] show user all available zones#168
sigmachirality merged 1 commit into
mainfrom
dt/show-sold-out-zones

Conversation

@sigmachirality
Copy link
Copy Markdown
Member

We want to show users all zones even if some are currently sold out.

@semanticdiff-com
Copy link
Copy Markdown

semanticdiff-com Bot commented Jul 16, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  src/lib/zones.tsx  20% smaller

@sigmachirality sigmachirality self-assigned this Jul 16, 2025
Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Greptile Summary

This PR modifies the zones display functionality in the CLI to provide users with visibility into all available infrastructure zones, including those that are currently sold out. The changes include:

  1. Updating type definitions to be more precise (ZonesListResponse type now uses a literal "list")
  2. Removing the retired zones filter that previously hid certain zones from users
  3. Making the CLI documentation more dynamic by using the first actually available zone in examples instead of hardcoding 'alamo'

This change improves transparency by giving users complete information about all zones in the system, allowing them to make better-informed decisions about resource allocation.

Confidence score: 4/5

  1. This PR is safe to merge with minimal risk of breaking existing functionality
  2. The changes are straightforward, well-typed, and improve user experience without modifying core business logic
  3. Pay attention to src/lib/zones.tsx to ensure the removal of zone filtering doesn't have unintended side effects in zone selection workflows

1 file reviewed, no comments
Edit PR Review Bot Settings | Greptile

@sigmachirality sigmachirality merged commit 1c94796 into main Jul 16, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant