diff --git a/build/xcode/Save to Raindrop.io/App/Info.plist b/build/xcode/Save to Raindrop.io/App/Info.plist
index c628ad6a..bbdfbc9c 100644
--- a/build/xcode/Save to Raindrop.io/App/Info.plist
+++ b/build/xcode/Save to Raindrop.io/App/Info.plist
@@ -17,7 +17,7 @@
CFBundlePackageType
$(PRODUCT_BUNDLE_PACKAGE_TYPE)
CFBundleShortVersionString
- 5.6.60
+ 5.6.63
CFBundleURLTypes
@@ -32,7 +32,7 @@
CFBundleVersion
- 367
+ 369
LSApplicationCategoryType
public.app-category.productivity
LSMinimumSystemVersion
diff --git a/build/xcode/Save to Raindrop.io/Extension/Info.plist b/build/xcode/Save to Raindrop.io/Extension/Info.plist
index a8d301e5..c4c5268f 100644
--- a/build/xcode/Save to Raindrop.io/Extension/Info.plist
+++ b/build/xcode/Save to Raindrop.io/Extension/Info.plist
@@ -17,9 +17,9 @@
CFBundlePackageType
$(PRODUCT_BUNDLE_PACKAGE_TYPE)
CFBundleShortVersionString
- 5.6.60
+ 5.6.63
CFBundleVersion
- 367
+ 369
LSMinimumSystemVersion
$(MACOSX_DEPLOYMENT_TARGET)
NSExtension
diff --git a/build/xcode/Save to Raindrop.io/Save to Raindrop.io.xcodeproj/project.pbxproj b/build/xcode/Save to Raindrop.io/Save to Raindrop.io.xcodeproj/project.pbxproj
index f1ecb7de..9bf0b065 100644
--- a/build/xcode/Save to Raindrop.io/Save to Raindrop.io.xcodeproj/project.pbxproj
+++ b/build/xcode/Save to Raindrop.io/Save to Raindrop.io.xcodeproj/project.pbxproj
@@ -441,7 +441,7 @@
CODE_SIGN_ENTITLEMENTS = Extension/Extension.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 367;
+ CURRENT_PROJECT_VERSION = 369;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = 7459JWM5TY;
ENABLE_HARDENED_RUNTIME = YES;
@@ -452,7 +452,7 @@
"@executable_path/../../../../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = "$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET)";
- MARKETING_VERSION = 5.6.60;
+ MARKETING_VERSION = 5.6.63;
PRODUCT_BUNDLE_IDENTIFIER = io.raindrop.safari.extension;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -467,7 +467,7 @@
CODE_SIGN_ENTITLEMENTS = Extension/Extension.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 367;
+ CURRENT_PROJECT_VERSION = 369;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = 7459JWM5TY;
ENABLE_HARDENED_RUNTIME = YES;
@@ -478,7 +478,7 @@
"@executable_path/../../../../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = "$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET)";
- MARKETING_VERSION = 5.6.60;
+ MARKETING_VERSION = 5.6.63;
PRODUCT_BUNDLE_IDENTIFIER = io.raindrop.safari.extension;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -497,7 +497,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
- CURRENT_PROJECT_VERSION = 367;
+ CURRENT_PROJECT_VERSION = 369;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = 7459JWM5TY;
ENABLE_HARDENED_RUNTIME = YES;
@@ -508,7 +508,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = "$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET)";
- MARKETING_VERSION = 5.6.60;
+ MARKETING_VERSION = 5.6.63;
PRODUCT_BUNDLE_IDENTIFIER = io.raindrop.safari;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
@@ -525,7 +525,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
- CURRENT_PROJECT_VERSION = 367;
+ CURRENT_PROJECT_VERSION = 369;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = 7459JWM5TY;
ENABLE_HARDENED_RUNTIME = YES;
@@ -536,7 +536,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = "$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET)";
- MARKETING_VERSION = 5.6.60;
+ MARKETING_VERSION = 5.6.63;
PRODUCT_BUNDLE_IDENTIFIER = io.raindrop.safari;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
diff --git a/build/xcode/Save to Raindrop.io/Save to Raindrop.io.xcodeproj/project.xcworkspace/xcuserdata/exentrich.xcuserdatad/UserInterfaceState.xcuserstate b/build/xcode/Save to Raindrop.io/Save to Raindrop.io.xcodeproj/project.xcworkspace/xcuserdata/exentrich.xcuserdatad/UserInterfaceState.xcuserstate
index e431702c..fdd9c4c0 100644
Binary files a/build/xcode/Save to Raindrop.io/Save to Raindrop.io.xcodeproj/project.xcworkspace/xcuserdata/exentrich.xcuserdatad/UserInterfaceState.xcuserstate and b/build/xcode/Save to Raindrop.io/Save to Raindrop.io.xcodeproj/project.xcworkspace/xcuserdata/exentrich.xcuserdatad/UserInterfaceState.xcuserstate differ
diff --git a/src/co/bookmarks/item/view.js b/src/co/bookmarks/item/view.js
index 47689c1c..d9a30f28 100644
--- a/src/co/bookmarks/item/view.js
+++ b/src/co/bookmarks/item/view.js
@@ -12,6 +12,7 @@ import Highlights from './highlights'
import Reminder from './reminder'
import Info from './info'
import Actions from './actions'
+import { PreloadPreviewLink } from '~routes/my/item/tab/preview'
export default function BookmarkItemView(props) {
const { innerRef, isDragging } = props
@@ -98,6 +99,8 @@ export default function BookmarkItemView(props) {
onKeyUp={onKeyUp}>
{title}
+
+
)}
)
diff --git a/src/routes/my/item/tab/preview.js b/src/routes/my/item/tab/preview.js
index d887bec6..3e2fb3e9 100644
--- a/src/routes/my/item/tab/preview.js
+++ b/src/routes/my/item/tab/preview.js
@@ -6,7 +6,17 @@ import { API_ENDPOINT_URL } from '~data/constants/app'
import useWithWebView from '~co/highlights/useWithWebView'
import Preloader from '~co/common/preloader'
-export default function PageMyItemTabPreview({ item: { _id, type, link }, webViewRef }) {
+function getPreviewLink(_id) {
+ return `${API_ENDPOINT_URL}raindrop/preview/${_id}`
+}
+
+export function PreloadPreviewLink({ item }) {
+ if (item.type != 'link')
+ return
+ return null
+}
+
+export default function PageMyItemTabPreview({ item: { _id }, webViewRef }) {
//highlights
useWithWebView(webViewRef, _id)
@@ -27,7 +37,7 @@ export default function PageMyItemTabPreview({ item: { _id, type, link }, webVie
allow='fullscreen; clipboard-write'
loading='eager'
referrerPolicy='no-referrer'
- src={`${API_ENDPOINT_URL}raindrop/preview/${_id}?type=${type}#solid-bg=false&theme=${font_color||theme.app}&font-family=${font_family}&font-size=${font_size}`}
+ src={`${getPreviewLink(_id)}#solid-bg=false&theme=${font_color||theme.app}&font-family=${font_family}&font-size=${font_size}`}
onLoad={onLoad} />
{loading && (