Skip to content

Commit

Permalink
Merge pull request #1709 from planetary-social/remove-inactive-authors
Browse files Browse the repository at this point in the history
Remove inactive authors from Discover tab
  • Loading branch information
joshuatbrown authored Dec 24, 2024
2 parents 41a1b97 + 00524f2 commit bd30f9b
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 41 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Upgraded to Xcode 16. [#1570](https://github.com/planetary-social/nos/issues/1570)
- Download and parse an author’s lists when viewing their profile. [#49](https://github.com/verse-pbc/issues/issues/49)
- Updated fastlane scripts to fix the TestFlight deployment pipeline. [#97](https://github.com/verse-pbc/issues/issues/97)
- Removed inactive accounts from Discover tab. [#94](https://github.com/verse-pbc/issues/issues/94)

## [1.0.3] - 2024-12-04Z

Expand Down
1 change: 0 additions & 1 deletion Nos/Views/Discover/DiscoverTab.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ struct DiscoverTab: View {

@State private var searchController = SearchController()

@State var predicate: NSPredicate = .false
@FocusState private var isSearching: Bool

let goToFeedTip = GoToFeedTip()
Expand Down
5 changes: 0 additions & 5 deletions Nos/Views/Discover/FeaturedAuthor+Cohort1.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ extension FeaturedAuthor {
npub: "npub1l3y60kjywvrrln5ftse553h2ltg53sm3zy55grvlncd78x3k5uqsmw8dff",
categories: [.music]
),
FeaturedAuthor(
name: "Judson McKinney and the Wanderers",
npub: "npub1jvt2hacqqzvwjkum30mlvmy52jer4p4crfh0veqstpk58rr9e7ms2fwh74",
categories: [.music]
),
FeaturedAuthor(
name: "Black in Aquatics",
npub: "npub1ee852umhw26afdfwgf90cky9ufaythwyarttqu59lazcrx56z0tsmx3mkz",
Expand Down
5 changes: 0 additions & 5 deletions Nos/Views/Discover/FeaturedAuthor+Cohort4.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ extension FeaturedAuthor {
npub: "npub1qhjxfxpjm7udr0agr6nuhuwf9383e4g9907g64r9hf6y4fh6t6uqpcp36k",
categories: [.art]
),
FeaturedAuthor(
name: "Neigsendoig Cocules",
npub: "npub1372csjhjv35sxcqm90ca2d0cfxsl6xku7j6hhswynwdy9m7zl98scn950w",
categories: [.music]
),
FeaturedAuthor(
name: "Lexie Bean",
npub: "npub1s8c5mk68qn0erxrx5waqz7xxk39x5xx2367879eqcv270tqs4tvsf5ewgf",
Expand Down
15 changes: 0 additions & 15 deletions Nos/Views/Discover/FeaturedAuthor+Cohort5.swift
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,6 @@ extension FeaturedAuthor {
npub: "npub18wn0jd3p7n6u3y7mc46p0hpx3cmtv9k3mu82rc0lhkg3rdyf590s3wshpx",
categories: [.tech, .activists]
),
FeaturedAuthor(
name: "Strypey",
npub: "npub1pwwm8s9zxssfm3aqv3g4fvqfh9kglr76m5z434cymju9gp9jhwwqdqtc65",
categories: [.tech, .activists]
),
FeaturedAuthor(
name: "Cecilia",
npub: "npub1paftqx5zvj0gjtu3whudejxdgv4vdn27paw4lzaauc43kgfxxaqs75c5a7",
Expand Down Expand Up @@ -217,11 +212,6 @@ extension FeaturedAuthor {
npub: "npub1l4s4mtt96znwu3plfeyupk37y63xfapw5e7kjn7uavuw02lvav5q3ngc3s",
categories: [.news, .nzAustralia]
),
FeaturedAuthor(
name: "Ian Griffin",
npub: "npub19p6edn6lvz9dmegm7s8vyz9w5w0ejzgztke8rcswxgmqr35h8feszt36jc",
categories: [.sciFi, .nzAustralia]
),
FeaturedAuthor(
name: "JSM",
npub: "npub1uqeexjx2djkfwzxdnrnrrch5h2k4xn0uapcgsxm94ftaxrlhy5lqywjckg",
Expand Down Expand Up @@ -266,11 +256,6 @@ extension FeaturedAuthor {
name: "Nacho",
npub: "npub1daajnadf0f0s7uz3yftur8434rtz2s949gkdpx7uyeapm9rlt0qq9q8w5z",
categories: [.lifestyle]
),
FeaturedAuthor(
name: "Morvin",
npub: "npub1030nmrre84tzpq2de535pd6up2x74c32n6r5xsw2kf0zf58j333sxssyu7",
categories: [.art]
)
]
}
15 changes: 0 additions & 15 deletions Nos/Views/Discover/FeaturedAuthor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ extension FeaturedAuthor {
name: "Rabble",
npub: "npub1wmr34t36fy03m8hvgl96zl3znndyzyaqhwmwdtshwmtkg03fetaqhjg240",
categories: [.activists, .tech]
),
FeaturedAuthor(
name: "Edward Snowden",
npub: "npub1sn0wdenkukak0d9dfczzeacvhkrgz92ak56egt7vdgzn8pv2wfqqhrjdv9",
categories: [.activists, .tech]
)
]
}
Expand Down Expand Up @@ -107,16 +102,6 @@ extension FeaturedAuthor {
npub: "npub1l4s4mtt96znwu3plfeyupk37y63xfapw5e7kjn7uavuw02lvav5q3ngc3s",
categories: [.news, .nzAustralia]
),
FeaturedAuthor(
name: "Ian Griffin",
npub: "npub19p6edn6lvz9dmegm7s8vyz9w5w0ejzgztke8rcswxgmqr35h8feszt36jc",
categories: [.sciFi, .nzAustralia]
),
FeaturedAuthor(
name: "Morvin",
npub: "npub1030nmrre84tzpq2de535pd6up2x74c32n6r5xsw2kf0zf58j333sxssyu7",
categories: [.art]
),
FeaturedAuthor(
name: "David Hood",
npub: "npub12aew64q5lsxpcc98lskha0564gtjn30cw7vdueqnyj06xjqxtmksahdrlg",
Expand Down

0 comments on commit bd30f9b

Please sign in to comment.