From a39a363b32fda9ba9426fd5f137d80f0168e02d9 Mon Sep 17 00:00:00 2001 From: Innei Date: Fri, 18 Apr 2025 16:23:14 +0800 Subject: [PATCH 1/7] release(mobile): release v0.1.6 Signed-off-by: Innei --- apps/mobile/changelog/0.1.6.md | 11 +++++++++++ apps/mobile/changelog/next.md | 8 ++------ apps/mobile/package.json | 2 +- 3 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 apps/mobile/changelog/0.1.6.md diff --git a/apps/mobile/changelog/0.1.6.md b/apps/mobile/changelog/0.1.6.md new file mode 100644 index 000000000..cb061b824 --- /dev/null +++ b/apps/mobile/changelog/0.1.6.md @@ -0,0 +1,11 @@ +# What's New in v0.1.6 + +## Shiny new things + +- Server side readability with AI summary and translation support (#3498) + +## Improvements + +## No longer broken + +- Can not load video preview image (#3485) diff --git a/apps/mobile/changelog/next.md b/apps/mobile/changelog/next.md index a7522533e..efca4370b 100644 --- a/apps/mobile/changelog/next.md +++ b/apps/mobile/changelog/next.md @@ -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 diff --git a/apps/mobile/package.json b/apps/mobile/package.json index 68d962ec2..73de27062 100644 --- a/apps/mobile/package.json +++ b/apps/mobile/package.json @@ -1,6 +1,6 @@ { "name": "@follow/mobile", - "version": "0.1.5", + "version": "0.1.6", "private": true, "main": "src/main.tsx", "scripts": { From 764b27c22c6105f3914350d28ee62d6828a33599 Mon Sep 17 00:00:00 2001 From: Innei Date: Fri, 18 Apr 2025 17:11:24 +0800 Subject: [PATCH 2/7] chore(changelog): update for v0.1.6 with new features and performance improvements Signed-off-by: Innei --- apps/mobile/changelog/0.1.6.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/mobile/changelog/0.1.6.md b/apps/mobile/changelog/0.1.6.md index cb061b824..ccb6f22a0 100644 --- a/apps/mobile/changelog/0.1.6.md +++ b/apps/mobile/changelog/0.1.6.md @@ -3,9 +3,13 @@ ## Shiny new things - Server side readability with AI summary and translation support (#3498) +- The Discover page just got a vibrant, sleek redesign. ## Improvements +- This update slashes React re-renders by 10x, making your app lightning-fast and buttery-smooth! + ## No longer broken - Can not load video preview image (#3485) +- Fixed the iOS swipe gesture conflict with React Native’s Pressable component, ensuring silky-smooth navigation! From a7ba0b6988e2c916da861e52bbfc59be46667348 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Fri, 18 Apr 2025 18:31:09 +0800 Subject: [PATCH 3/7] docs(mobile): update changelog --- apps/mobile/changelog/0.1.6.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/apps/mobile/changelog/0.1.6.md b/apps/mobile/changelog/0.1.6.md index ccb6f22a0..1edb6fd8a 100644 --- a/apps/mobile/changelog/0.1.6.md +++ b/apps/mobile/changelog/0.1.6.md @@ -2,14 +2,16 @@ ## Shiny new things -- Server side readability with AI summary and translation support (#3498) -- The Discover page just got a vibrant, sleek redesign. +- Server‑side readability with AI‑powered 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 -- This update slashes React re-renders by 10x, making your app lightning-fast and buttery-smooth! +- 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 -- Can not load video preview image (#3485) -- Fixed the iOS swipe gesture conflict with React Native’s Pressable component, ensuring silky-smooth navigation! +- Fixed an issue where video preview images failed to load (bcf752b) +- Resolved the iOS swipe‑back gesture conflict with React Native’s Pressable, restoring silky‑smooth navigation From 3dc77320dcfdc5bb6bea9391ee55f66a5f4323d4 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Fri, 18 Apr 2025 18:41:31 +0800 Subject: [PATCH 4/7] feat(mobile): temp remove entries staleTime --- apps/mobile/src/store/entry/hooks.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/mobile/src/store/entry/hooks.ts b/apps/mobile/src/store/entry/hooks.ts index d6ffa67ea..6b0c256b4 100644 --- a/apps/mobile/src/store/entry/hooks.ts +++ b/apps/mobile/src/store/entry/hooks.ts @@ -20,7 +20,6 @@ export const usePrefetchEntries = (props: Omit { From 4654dc92c203bed21c60bbdd217084436658e21d Mon Sep 17 00:00:00 2001 From: DIYgod Date: Fri, 18 Apr 2025 22:52:36 +0800 Subject: [PATCH 5/7] fix(mobile): images in the body cannot be displayed without specified width and height --- .../web-app/html-renderer/src/components/image.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/mobile/web-app/html-renderer/src/components/image.tsx b/apps/mobile/web-app/html-renderer/src/components/image.tsx index b8747efad..593d6366c 100644 --- a/apps/mobile/web-app/html-renderer/src/components/image.tsx +++ b/apps/mobile/web-app/html-renderer/src/components/image.tsx @@ -53,7 +53,7 @@ export const MarkdownImage = (props: HTMLProps<"img">) => { }) }} > - {image?.blurhash && ( + {image?.blurhash && scaleWidth && scaleHeight && ( ) => { {...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} From e615a0f3df27dfdfe429f1abe10e51d87c1811fb Mon Sep 17 00:00:00 2001 From: DIYgod Date: Fri, 18 Apr 2025 22:58:48 +0800 Subject: [PATCH 6/7] docs(mobile): update changelog --- apps/mobile/changelog/0.1.6.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/mobile/changelog/0.1.6.md b/apps/mobile/changelog/0.1.6.md index 1edb6fd8a..74de0b245 100644 --- a/apps/mobile/changelog/0.1.6.md +++ b/apps/mobile/changelog/0.1.6.md @@ -2,7 +2,7 @@ ## Shiny new things -- Server‑side readability with AI‑powered summaries and instant translation (#3498) +- 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) @@ -13,5 +13,7 @@ ## No longer broken -- Fixed an issue where video preview images failed to load (bcf752b) +- 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) From 69e654feea5235b96184998cc98e25f84ce24314 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Sat, 19 Apr 2025 12:26:48 +0800 Subject: [PATCH 7/7] feat(mobile): set default openLinksInExternalApp to false --- packages/shared/src/settings/defaults.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/shared/src/settings/defaults.ts b/packages/shared/src/settings/defaults.ts index cffd0edd8..de00ca008 100644 --- a/packages/shared/src/settings/defaults.ts +++ b/packages/shared/src/settings/defaults.ts @@ -36,7 +36,7 @@ export const defaultGeneralSettings: GeneralSettings = { enhancedSettings: false, // @mobile - openLinksInExternalApp: true, + openLinksInExternalApp: false, } export const defaultUISettings: UISettings = {