Skip to content

refactor(renterd): remove v1 settings and price table columns#1194

Merged
alexfreska merged 1 commit intomainfrom
refactor_renterd_remove_v1_settings_and_price_table_columns
Jul 18, 2025
Merged

refactor(renterd): remove v1 settings and price table columns#1194
alexfreska merged 1 commit intomainfrom
refactor_renterd_remove_v1_settings_and_price_table_columns

Conversation

@alexfreska
Copy link
Member

@alexfreska alexfreska commented Jul 17, 2025

  • The host explorer no longer includes columns for v1 settings or price table.
    • Only v2 RHP4 settings now.
Screenshot 2025-07-17 at 2 06 46 PM

Copilot AI review requested due to automatic review settings July 17, 2025 17:54
@changeset-bot
Copy link

changeset-bot bot commented Jul 17, 2025

🦋 Changeset detected

Latest commit: 1c2cb8e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
renterd Minor

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

@vercel
Copy link

vercel bot commented Jul 17, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
renterd ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 18, 2025 0:09am
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
explorer ⬜️ Ignored (Inspect) Visit Preview Jul 18, 2025 0:09am
explorer-zen ⬜️ Ignored (Inspect) Visit Preview Jul 18, 2025 0:09am
hostd ⬜️ Ignored (Inspect) Visit Preview Jul 18, 2025 0:09am

@github-project-automation github-project-automation bot moved this to In Progress in Sia Jul 17, 2025
Copy link
Member Author

alexfreska commented Jul 17, 2025

Copy link

Copilot AI left a 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]

@alexfreska alexfreska force-pushed the refactor_renterd_remove_v1_settings_and_price_table_columns branch 2 times, most recently from c793330 to b2bc88f Compare July 17, 2025 18:05
Copy link
Member Author

alexfreska commented Jul 18, 2025

Merge activity

  • Jul 18, 11:45 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Jul 18, 11:46 AM UTC: Graphite rebased this pull request as part of a merge.
  • Jul 18, 11:50 AM UTC: @alexfreska merged this pull request with Graphite.

@alexfreska alexfreska force-pushed the refactor_renterd_remove_v1_settings_and_price_table_columns branch from b2bc88f to 1c2cb8e Compare July 18, 2025 11:45
@alexfreska alexfreska merged commit ddc47f5 into main Jul 18, 2025
55 of 72 checks passed
@alexfreska alexfreska deleted the refactor_renterd_remove_v1_settings_and_price_table_columns branch July 18, 2025 11:50
@github-project-automation github-project-automation bot moved this from In Progress to Done in Sia Jul 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants