diff --git a/apps/ios/Roost/FeedPreferencesView.swift b/apps/ios/Roost/FeedPreferencesView.swift index 56e799b..d7843f9 100644 --- a/apps/ios/Roost/FeedPreferencesView.swift +++ b/apps/ios/Roost/FeedPreferencesView.swift @@ -97,7 +97,7 @@ struct FeedPreferencesView: View { Text("Stories and personal updates") } footer: { Text( - "A contributing agent can write stories and surface important updates using its connected sources. Email updates require email access for that agent; this setting does not connect an inbox." + "Any agent can contribute stories and personal updates when asked. The selected agent handles automatic feed curation. Email updates require email access for that agent; this setting does not connect an inbox." ) } .listRowBackground(palette.surface) diff --git a/apps/ios/RoostTests/WeatherTests.swift b/apps/ios/RoostTests/WeatherTests.swift index 2fc82ab..ad59bb5 100644 --- a/apps/ios/RoostTests/WeatherTests.swift +++ b/apps/ios/RoostTests/WeatherTests.swift @@ -90,16 +90,17 @@ final class WeatherTests: XCTestCase { async throws { let report = try report(stale: true) + let fetched = try XCTUnwrap(WeatherText.instant(report.updatedAt)) var calls = 0 let model = WeatherCardModel { refresh in calls += 1 if refresh { throw APIError(message: "Provider unavailable") } return report } - await model.load(locationId: 5_809_844, unit: .celsius) - await model.load(locationId: 5_809_844, unit: .celsius) + await model.load(locationId: 5_809_844, unit: .celsius, now: fetched) + await model.load(locationId: 5_809_844, unit: .celsius, now: fetched) XCTAssertEqual(calls, 1) - await model.load(locationId: 5_809_844, unit: .celsius, refresh: true) + await model.load(locationId: 5_809_844, unit: .celsius, refresh: true, now: fetched) XCTAssertEqual(model.report?.current.temperature, 20) XCTAssertEqual(model.report?.stale, true) XCTAssertEqual(model.report?.notice, "Showing cached weather.") diff --git a/apps/web/src/components/feed-preferences.tsx b/apps/web/src/components/feed-preferences.tsx index 97e86ca..8814ee0 100644 --- a/apps/web/src/components/feed-preferences.tsx +++ b/apps/web/src/components/feed-preferences.tsx @@ -373,8 +373,8 @@ export function FeedPreferences({ Stories and personal updates

- An agent can connect the dots, write original stories, and - contribute important updates to this shared feed. + Any agent can contribute stories and personal updates when + asked. Choose an agent below for automatic feed curation.