diff --git a/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift b/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift index 17662712f..2337f76bb 100644 --- a/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift +++ b/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift @@ -335,10 +335,16 @@ import Views Label { Text("Snooze") } icon: { Image.moon } } } - Button( - action: { viewModel.downloadAudio(audioController: audioController, item: item) }, - label: { Label("Download Audio", systemImage: "icloud.and.arrow.down") } - ) + if let author = item.author { + Button( + action: { + viewModel.searchTerm = "author:\"\(author)\"" + }, + label: { + Label(String("More by \(author)"), systemImage: "person") + } + ) + } } .swipeActions(edge: .trailing, allowsFullSwipe: true) { if !item.isArchived { diff --git a/apple/OmnivoreKit/Sources/App/Views/WebReader/WebReaderContainer.swift b/apple/OmnivoreKit/Sources/App/Views/WebReader/WebReaderContainer.swift index 3e2b91ab9..dd70144b7 100644 --- a/apple/OmnivoreKit/Sources/App/Views/WebReader/WebReaderContainer.swift +++ b/apple/OmnivoreKit/Sources/App/Views/WebReader/WebReaderContainer.swift @@ -213,6 +213,10 @@ struct WebReaderContainerView: View { }, label: { Label("Reset Read Location", systemImage: "arrow.counterclockwise.circle") } ) + Button( + action: { /* viewModel.downloadAudio(audioController: audioController, item: item) */ }, + label: { Label("Download Audio", systemImage: "icloud.and.arrow.down") } + ) Button( action: share, label: { Label("Share Original", systemImage: "square.and.arrow.up") } diff --git a/apple/OmnivoreKit/Sources/Views/FeedItem/GridCard.swift b/apple/OmnivoreKit/Sources/Views/FeedItem/GridCard.swift index 57e7e86c1..b3ac2411e 100644 --- a/apple/OmnivoreKit/Sources/Views/FeedItem/GridCard.swift +++ b/apple/OmnivoreKit/Sources/Views/FeedItem/GridCard.swift @@ -71,10 +71,6 @@ public struct GridCard: View { action: { menuActionHandler(.delete) }, label: { Label("Delete", systemImage: "trash") } ) - Button( - action: { menuActionHandler(.downloadAudio) }, - label: { Label("Download Audio", systemImage: "icloud.and.arrow.down") } - ) } } diff --git a/apple/OmnivoreKit/Sources/Views/FeedItem/HomeFeedCardView.swift b/apple/OmnivoreKit/Sources/Views/FeedItem/HomeFeedCardView.swift index 4eea19217..42af43b98 100644 --- a/apple/OmnivoreKit/Sources/Views/FeedItem/HomeFeedCardView.swift +++ b/apple/OmnivoreKit/Sources/Views/FeedItem/HomeFeedCardView.swift @@ -76,6 +76,8 @@ public struct FeedCard: View { } Spacer() } + }.introspectScrollView { scrollView in + scrollView.bounces = false } .padding(.top, 0) #if os(macOS) diff --git a/packages/api/test/utils/search.test.ts b/packages/api/test/utils/search.test.ts index 0ac465053..7b0fae299 100644 --- a/packages/api/test/utils/search.test.ts +++ b/packages/api/test/utils/search.test.ts @@ -156,7 +156,7 @@ describe('query with author set', () => { it('adds author to the match filters', () => { const result = parseSearchQuery('author:"Omnivore Blog"') expect(result.matchFilters[0].field).to.equal('author') - expect(result.matchFilters[0].value).to.equal('omnivore blog' }) + expect(result.matchFilters[0].value).to.equal('omnivore blog') }) })