feat: added management for network-policies, storage-objects with layout and screen size improvements - #54
Conversation
🤖 PR Review AgentSetup
Review Tasks
Status: 🟢 WorkingClaude is actively reviewing the PR SSH in to interact: |
PR Review CompletePR Titlefeat(network-policy): add network policy management commands Summary of ChangesThis PR adds comprehensive network policy management functionality to the Runloop CLI. It introduces new commands for creating, listing, retrieving, and deleting network policies, along with interactive UI components. The PR also includes significant refactoring to reduce code duplication through the creation of generic, reusable components (ResourceDetailPage, form components). The API client dependency was updated to version 1.3.0 to support network policy features, and network policy support was added to devbox creation. Key additions:
Files changed: 60 files (+7,218 additions, -1,240 deletions) Review FindingsConventionsNo issues found The new code follows existing patterns consistently:
KISS PrincipleNo issues found The code maintains appropriate complexity levels:
Code DuplicationIssues found and fixed:
CI/Build ErrorsIssue found and fixed: PR Title Check (pr-title-check job failed)
Verification ResultsBuildStatus: ✅ PASSED TypeScript compilation completed successfully with no errors. LintStatus: ✅ PASSED (with warnings) Before fixes: 52 warnings Remaining 43 warnings are all related to TypeScript TestsStatus: ✅ PASSED All tests pass successfully. No test failures introduced by changes. Pre-commit HooksStatus: ✅ PASSED All pre-commit hooks passed during git push:
Changes MadeCode Quality Improvements
CommitCommit hash: c5e7e02 Review performed in Runloop Devbox |
c5e7e02 to
d9ecc61
Compare
🤖 I have created a release *beep* *boop* --- ## [1.3.0](v1.2.0...v1.3.0) (2026-01-23) ### Features * add rainbow shimmer animation ([#52](#52)) ([b4c9ccb](b4c9ccb)) * added management for network-policies, storage-objects with layout and screen size improvements ([#54](#54)) ([138aed3](138aed3)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Description
This PR adds comprehensive network policy management functionality to the CLI, including:
Type of Change
Changes Made
Commands
rli network-policy list- List all network policies with paginationrli network-policy get <id>- Get network policy detailsrli network-policy create- Interactive network policy creationrli network-policy delete <id>- Delete a network policyrli devbox createto support--network-policyflagComponents & Refactoring
ResourceDetailPage- Generic detail page component (reduces duplication)NetworkPolicyCreatePage- Interactive form for creating policiesConfirmationPrompt- Reusable confirmation dialogServices & Stores
networkPolicyServicefor API interactionsnetworkPolicyStorefor state managementDependencies
@runloop/api-clientfrom ^1.0.0 to 1.3.0Testing
anyin existing code)Review Feedback Addressed
formatTimeAgofunctionsupdateNetworkPolicyfrom NetworkPolicyDetailScreenChecklist