diff --git a/build/xcode/Save to Raindrop.io/App/Info.plist b/build/xcode/Save to Raindrop.io/App/Info.plist
index c45b8399..61b4448f 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.68
+ 5.6.71
CFBundleURLTypes
@@ -32,7 +32,7 @@
CFBundleVersion
- 372
+ 374
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 60522253..20a53e1b 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.68
+ 5.6.71
CFBundleVersion
- 372
+ 374
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 bbfc3bfb..b5e445c3 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 = 372;
+ CURRENT_PROJECT_VERSION = 374;
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.68;
+ MARKETING_VERSION = 5.6.71;
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 = 372;
+ CURRENT_PROJECT_VERSION = 374;
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.68;
+ MARKETING_VERSION = 5.6.71;
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 = 372;
+ CURRENT_PROJECT_VERSION = 374;
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.68;
+ MARKETING_VERSION = 5.6.71;
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 = 372;
+ CURRENT_PROJECT_VERSION = 374;
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.68;
+ MARKETING_VERSION = 5.6.71;
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 b6dfe4e3..8501f119 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/package.json b/package.json
index b42a9a69..529ffb0a 100755
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "app",
- "version": "5.6.69",
+ "version": "5.6.71",
"description": "All-in-one bookmark manager",
"author": "Rustem Mussabekov",
"license": "MIT",
diff --git a/src/co/bookmarks/edit/form/collection/suggested.module.styl b/src/co/bookmarks/edit/form/collection/suggested.module.styl
index cb3ec5cd..0895e5f1 100644
--- a/src/co/bookmarks/edit/form/collection/suggested.module.styl
+++ b/src/co/bookmarks/edit/form/collection/suggested.module.styl
@@ -4,7 +4,7 @@
overflow: hidden
min-height: calc(var(--icon-size) + var(--padding-small))
max-height: calc(var(--icon-size) + var(--padding-small))
- transition: opacity .2s ease-in, max-height .3s ease-out, min-height .3s ease-out
+ transition: opacity .15s ease-in, max-height .3s ease-out, min-height .3s ease-out
&[data-expanded=true]:not(:empty) {
max-height: calc( (var(--icon-size) + var(--padding-small)) * 3 );
diff --git a/src/co/bookmarks/edit/form/index.js b/src/co/bookmarks/edit/form/index.js
index 3eed978c..bc49193c 100644
--- a/src/co/bookmarks/edit/form/index.js
+++ b/src/co/bookmarks/edit/form/index.js
@@ -20,10 +20,7 @@ export default function BookmarkEditForm(props) {
//load suggestions
useEffect(()=>
- {
- if (props.status == 'loaded' || props.status == 'new')
- dispatch(suggestFields(props.item))
- },
+ { dispatch(suggestFields(props.item)) },
[props.item._id, props.status]
)
diff --git a/src/co/bookmarks/edit/form/tags/suggested.module.styl b/src/co/bookmarks/edit/form/tags/suggested.module.styl
index 9e10a53e..3ac62b78 100644
--- a/src/co/bookmarks/edit/form/tags/suggested.module.styl
+++ b/src/co/bookmarks/edit/form/tags/suggested.module.styl
@@ -4,7 +4,7 @@
overflow: hidden
min-height: calc(var(--icon-size) + var(--padding-small))
max-height: calc(var(--icon-size) + var(--padding-small))
- transition: opacity .2s ease-in, max-height .3s ease-out, min-height .3s ease-out
+ transition: opacity .15s ease-in, max-height .3s ease-out, min-height .3s ease-out
&[data-expanded=true]:not(:empty) {
max-height: calc( (var(--icon-size) + var(--padding-small)) * 3 )
diff --git a/src/data/reducers/bookmarks/single.js b/src/data/reducers/bookmarks/single.js
index 4c928b53..46077b3f 100755
--- a/src/data/reducers/bookmarks/single.js
+++ b/src/data/reducers/bookmarks/single.js
@@ -15,7 +15,7 @@ import {
BOOKMARK_UPLOAD_PROGRESS,
BOOKMARK_IMPORTANT,
BOOKMARK_REORDER,
- BOOKMARK_SUGGESTED_FIELDS
+ BOOKMARK_SUGGEST_FIELDS, BOOKMARK_SUGGESTED_FIELDS
} from '../../constants/bookmarks'
import {
@@ -205,6 +205,19 @@ export default function(state, action) {
}
//Suggestions
+ case BOOKMARK_SUGGEST_FIELDS:{
+ const { obj } = action
+ const link = obj?.link
+
+ if (!link || state.suggestedFields[link]) {
+ action.ignore = true
+ return state
+ }
+
+ return state
+ .setIn(['suggestedFields', link], {})
+ }
+
case BOOKMARK_SUGGESTED_FIELDS:{
const { link, collections=[], tags=[], new_tags=[] } = action