⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.
TypeScript bookmarkbookmark-managercollaborationnextjsreact-nativeread-it-laterself-hostedtypescript
minor UX improvement
Daniel11152caf6d4b
diff --git a/components/InputSelect/CollectionSelection.tsx b/components/InputSelect/CollectionSelection.tsxindex 238b8f0e..d7307a03 100644--- a/components/InputSelect/CollectionSelection.tsx+++ b/components/InputSelect/CollectionSelection.tsx@@ -45,6 +45,7 @@ export default function CollectionSelection({ onChange, defaultValue }: Props) {return (<SelectisClearable+ placeholder="Unnamed Collection"onChange={onChange}options={options}styles={styles}diff --git a/components/Modal/Link/AddOrEditLink.tsx b/components/Modal/Link/AddOrEditLink.tsxindex d1450ef0..ceecdc62 100644--- a/components/Modal/Link/AddOrEditLink.tsx+++ b/components/Modal/Link/AddOrEditLink.tsx@@ -155,10 +155,7 @@ export default function AddOrEditLink({) : null}<div>- <p className="text-sm text-sky-500 mb-2">- Collection- <RequiredBadge />- </p>+ <p className="text-sm text-sky-500 mb-2">Collection</p><CollectionSelectiononChange={setCollection}// defaultValue={{diff --git a/lib/api/controllers/links/postLink.ts b/lib/api/controllers/links/postLink.tsindex ed04a899..2991235b 100644--- a/lib/api/controllers/links/postLink.ts+++ b/lib/api/controllers/links/postLink.ts@@ -15,7 +15,7 @@ export default async function postLink(if (!link.name) {return { response: "Please enter a valid name for the link.", status: 400 };} else if (!link.collection.name) {- link.collection.name = "Other";+ link.collection.name = "Unnamed Collection";}if (link.collection.id) {