-
Notifications
You must be signed in to change notification settings - Fork 13
refactor(renterd): remove v1 settings and price table columns #1194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(renterd): remove v1 settings and price table columns #1194
Conversation
🦋 Changeset detectedLatest commit: 1c2cb8e The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Skipped Deployments
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR refactors the renterd host explorer by removing legacy v1 settings and price table columns, consolidating around v2 settings as the primary interface. The changes simplify the codebase by removing deprecated functionality while maintaining the same host data display capabilities.
- Removes v1 price table and host settings column definitions and related types
- Renames v2 settings columns to use "settings_" prefix instead of "v2_"
- Updates default visible columns to use the new naming convention
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
apps/renterd/contexts/hosts/types.tsx | Removes v1 imports and type definitions, renames column types and updates default visible columns |
apps/renterd/contexts/hosts/dataset.ts | Removes priceTable field assignment from host data structure |
apps/renterd/contexts/hosts/columns.tsx | Removes all v1 price table and host settings column definitions, renames v2 columns to settings_ prefix |
.changeset/orange-lines-watch.md | Documents the breaking change removing v1 columns |
Comments suppressed due to low confidence (1)
apps/renterd/contexts/hosts/types.tsx:123
- The type name 'HostTableColumnV2Settings' still contains 'V2' but now refers to 'settingsColumns'. Since the columns have been renamed from v2_ to settings_, this type should be renamed to 'HostTableColumnSettings' for consistency.
export type HostTableColumnV2Settings = typeof settingsColumns[number]
c793330
to
b2bc88f
Compare
Merge activity
|
b2bc88f
to
1c2cb8e
Compare
Uh oh!
There was an error while loading. Please reload this page.