Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

new feature: open all links

daniel31x136842da42831d
diff --git a/pages/collections/[id].tsx b/pages/collections/[id].tsx
index 7abd042f..07804df3 100644
--- a/pages/collections/[id].tsx
+++ b/pages/collections/[id].tsx
@@ -143,6 +143,21 @@ export default function Index() {
<i className="bi-three-dots text-xl" title="More"></i>
</div>
<ul className="dropdown-content z-[30] menu shadow bg-base-200 border border-neutral-content rounded-box mt-1">
+ <li>
+ <div
+ role="button"
+ tabIndex={0}
+ onClick={() => {
+ (document?.activeElement as HTMLElement)?.blur();
+ for (const link of links) {
+ if (link.url) window.open(link.url, "_blank");
+ }
+ }}
+ className="whitespace-nowrap"
+ >
+ {t("open_all_links")}
+ </div>
+ </li>
{permissions === true && (
<li>
<div
diff --git a/public/locales/en/common.json b/public/locales/en/common.json
index 4bafb1bc..8cb1afb8 100644
--- a/public/locales/en/common.json
+++ b/public/locales/en/common.json
@@ -427,5 +427,6 @@
"search_engine": "Search Engine (Google, Bing, etc.)",
"reddit": "Reddit",
"lemmy": "Lemmy",
- "people_recommendation": "Recommendation (Friend, Family, etc.)"
+ "people_recommendation": "Recommendation (Friend, Family, etc.)",
+ "open_all_links": "Open all Links"
}
\ No newline at end of file