Skip to content

Revert "Add support for folders in Watch app"#4394

Merged
bgoncal merged 1 commit intomainfrom
revert-4376-watch-folders
Feb 27, 2026
Merged

Revert "Add support for folders in Watch app"#4394
bgoncal merged 1 commit intomainfrom
revert-4376-watch-folders

Conversation

@bgoncal
Copy link
Member

@bgoncal bgoncal commented Feb 27, 2026

Reverts #4376

Copilot AI review requested due to automatic review settings February 27, 2026 08:59
@bgoncal bgoncal enabled auto-merge (squash) February 27, 2026 09:05
Copy link
Contributor

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 reverts #4376 which added folder support to the Watch app. The revert removes all folder-related functionality from the Watch app, returning to the previous simple list-based approach for organizing Watch items.

Changes:

  • Removed folder item type from MagicItem model and all associated folder handling logic
  • Deleted all folder-specific UI components (WatchFolderRow, WatchFolderContentView, FolderEditView, FolderDetailView)
  • Removed folder-related view model methods and test cases
  • Removed folder-related localization strings

Reviewed changes

Copilot reviewed 16 out of 16 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
Tests/App/Watch/WatchConfig.test.swift Removed WatchConfigurationViewModel tests for folder functionality and unused HomeAssistant import
Sources/Watch/WatchCommunicatorService.swift Reverted folder handling in watch config response and magic item press handler
Sources/Shared/Resources/Swiftgen/Strings.swift Removed auto-generated localization string accessors for folder-related strings
Sources/Shared/MagicItem/MagicItemProvider.swift Removed folder case from getInfo method
Sources/Shared/MagicItem/MagicItem.swift Removed folder item type, items property, and folder-related logic
Sources/Extensions/Watch/Home/WatchHomeViewModel.swift Renamed configVersion to refreshListID and updated comment
Sources/Extensions/Watch/Home/WatchHomeView.swift Removed folder navigation state and UI, simplified to single content view
Sources/Extensions/Watch/Home/WatchFolderContentView.swift Deleted entire folder content view file
Sources/Extensions/Watch/Home/MagicItemRow/WatchMagicViewRow.swift Removed iconColor computed property, inline color initialization
Sources/Extensions/Watch/Home/MagicItemRow/WatchFolderRow.swift Deleted entire folder row view file
Sources/App/Settings/AppleWatch/HomeCustomization/WatchConfigurationViewModel.swift Removed all folder-related methods (addFolder, updateFolder, addItemToFolder, etc.)
Sources/App/Settings/AppleWatch/HomeCustomization/WatchConfigurationView.swift Removed folder UI elements, folder sheet, and folder customization navigation
Sources/App/Settings/AppleWatch/HomeCustomization/FolderEditView.swift Deleted entire folder edit view file
Sources/App/Settings/AppleWatch/HomeCustomization/FolderDetailView.swift Deleted entire folder detail view file
Sources/App/Resources/en.lproj/Localizable.strings Removed folder-related localization strings

@bgoncal bgoncal merged commit 11a95a0 into main Feb 27, 2026
16 checks passed
@bgoncal bgoncal deleted the revert-4376-watch-folders branch February 27, 2026 09:25
@codecov
Copy link

codecov bot commented Feb 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@0071cc2). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4394   +/-   ##
=======================================
  Coverage        ?   42.61%           
=======================================
  Files           ?      265           
  Lines           ?    15456           
  Branches        ?        0           
=======================================
  Hits            ?     6587           
  Misses          ?     8869           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants