Merge pull request #3755 from RSSNext/sync/main-to-dev-20250518

Sync main branch to dev branch
This commit is contained in:
DIYgod 2025-05-18 19:52:02 +08:00 committed by GitHub
commit ebfdda7c2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 34 additions and 12 deletions

View File

@ -0,0 +1,20 @@
# What's New in v0.1.9
## Shiny new things
- New option: hide subscriptions that have no unread entries. Enable it via Settings → General → Subscriptions/Hide Read. (1b88d72)
- Trending Feeds now appear on the Discover page and during onboarding. (fc7b37d)
## Improvements
- Clearer error messages for RSSHub feed issues. (ed95fb6b)
- AI summary is now enabled by default. (f329ae9)
- Displays a fallback icon if a feed icon fails to load. (93f19c4)
- Streamlined login and sign-up flow. (e392e59)
## No longer broken
- Tapping the avatar now navigates correctly. (5a9af9f)
- Entries without images now display properly in the video view. (4119b9a)
- Fixed an issue where some feeds didnt appear in search results. (74f7d52)
- Unread indicators now show correctly in both image and video views. (2244dc7)

View File

@ -32,7 +32,7 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>0.1.8</string>
<string>0.1.9</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
@ -52,7 +52,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>106</string>
<string>107</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationCategoryType</key>

View File

@ -1,6 +1,6 @@
{
"name": "@follow/mobile",
"version": "0.1.8",
"version": "0.1.9",
"private": true,
"main": "src/main.tsx",
"scripts": {

View File

@ -28,7 +28,7 @@ export function DiscoverContent() {
</ItemPressable> */}
</View>
<Trending className="mt-4" />
<Trending className="mt-4" itemClassName="px-6" />
<View className="mt-4 flex-row items-center justify-between pb-1 pl-6 pr-5 pt-4">
<View className="flex-row items-center gap-2">

View File

@ -50,7 +50,7 @@ export const FeedSummary = ({
>
{preChildren}
{/* Headline */}
<View className="flex-row items-center gap-2 pr-2">
<View className="flex-1 flex-row items-center gap-2 pr-2">
<View className="size-[32px] overflow-hidden rounded-lg">
<FeedIcon
size={32}
@ -70,11 +70,7 @@ export const FeedSummary = ({
/>
</View>
<View className="flex-1">
<Text
className="text-text text-lg font-semibold"
ellipsizeMode="middle"
numberOfLines={1}
>
<Text className="text-text text-lg font-semibold" numberOfLines={1}>
{item.feed?.title}
</Text>
<Text className="text-text text-sm leading-tight opacity-60">{item.feed?.url}</Text>

View File

@ -8,7 +8,13 @@ import { PlatformActivityIndicator } from "@/src/components/ui/loading/PlatformA
import { fetchFeedTrending } from "./api"
import { FeedSummary } from "./FeedSummary"
export const Trending = ({ className }: { className?: string }) => {
export const Trending = ({
className,
itemClassName,
}: {
className?: string
itemClassName?: string
}) => {
const { i18n } = useTranslation()
const { data, isLoading } = useQuery({
queryKey: ["trending", "feeds"],
@ -30,7 +36,7 @@ export const Trending = ({ className }: { className?: string }) => {
<FeedSummary
key={item.feed?.id}
item={item}
className="flex flex-1 flex-row items-center bg-none px-6 py-3"
className={cn("flex flex-1 flex-row items-center bg-none py-3", itemClassName)}
simple
preChildren={
<View