Merge pull request #3534 from RSSNext/sync/main-to-dev-20250420

Sync main branch to dev branch
This commit is contained in:
DIYgod
2025-04-20 11:55:08 +08:00
committed by GitHub
6 changed files with 28 additions and 13 deletions
+19
View File
@@ -0,0 +1,19 @@
# What's New in v0.1.6
## Shiny new things
- Server‑side readability with AI summaries and instant translation (#3498)
- Discover page completely overhauled for a vibrant, streamlined experience (cce400c)
- Added openLinksInExternalApp setting to let you choose where links open (61c099b)
## Improvements
- React re‑renders cut by 10×, delivering lightning‑fast, buttery‑smooth interactions (22964c7, a758e43)
- Added action icons and refreshed share & AI icons for a cleaner interface (ece2637, 3bc6585)
## No longer broken
- Fixed an issue that prevented video preview images from loading (bcf752b)
- Resolved the iOS swipe‑back gesture conflict with React Native’s Pressable, restoring silky‑smooth navigation
- Corrected a bug where some images failed to display in the entry body (4654dc9)
- Fixed an issue causing entry timestamps to display incorrectly in the timeline (4ee5944)
+2 -6
View File
@@ -1,11 +1,7 @@
# What's New in vNEXT_VERSION
## Shiny new things
- Server side readability with AI summary and translation support (#3498)
## New Features
## Improvements
## No longer broken
- Can not load video preview image (#3485)
## Bug Fixes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@follow/mobile",
"version": "0.1.5",
"version": "0.1.6",
"private": true,
"main": "src/main.tsx",
"scripts": {
-1
View File
@@ -20,7 +20,6 @@ export const usePrefetchEntries = (props: Omit<FetchEntriesProps, "pageParam" |
refetchOnWindowFocus: false,
refetchOnReconnect: false,
enabled: !!props,
staleTime: unreadOnly ? undefined : 1000 * 60 * 5,
})
}
export const usePrefetchEntryDetail = (entryId: string) => {
@@ -53,7 +53,7 @@ export const MarkdownImage = (props: HTMLProps<"img">) => {
})
}}
>
{image?.blurhash && (
{image?.blurhash && scaleWidth && scaleHeight && (
<Blurhash
hash={image.blurhash}
width={scaleWidth}
@@ -68,13 +68,14 @@ export const MarkdownImage = (props: HTMLProps<"img">) => {
{...rest}
onLoad={() => setIsLoading(false)}
style={{
width: scaleWidth,
height: scaleHeight,
width: scaleWidth || undefined,
height: scaleHeight || undefined,
}}
loading="lazy"
className={clsx(
"absolute inset-0 !my-0 transition-opacity duration-500",
"!my-0 transition-opacity duration-500",
isLoading && "opacity-0",
scaleWidth && scaleHeight && "absolute inset-0",
)}
crossOrigin="anonymous"
src={src}
+1 -1
View File
@@ -36,7 +36,7 @@ export const defaultGeneralSettings: GeneralSettings = {
enhancedSettings: false,
// @mobile
openLinksInExternalApp: true,
openLinksInExternalApp: false,
}
export const defaultUISettings: UISettings = {