From d4ffda21b068a78d4c9defb479a81b4fa44da590 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=9D=A2=E6=9D=A1?=
<2959393+ccbikai@users.noreply.github.com>
Date: Thu, 26 Dec 2024 18:40:15 +0800
Subject: [PATCH 1/6] docs: add uneed badge
---
README.md | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index 13c8e3d..26f33e6 100644
--- a/README.md
+++ b/README.md
@@ -6,20 +6,25 @@
-
+
+
+
+


@@ -123,5 +128,5 @@ We welcome your contributions and PRs.
## ☕ Sponsor
-1. [Follow Me on X(Twitter)](https://x.com/0xKaiBi).
+1. [Follow Me on X(Twitter)](https://404.li/kai).
2. [Become a sponsor to on GitHub](https://github.com/sponsors/ccbikai).
From 8beff2ea7dbfb9cca4f2c0e9aa58d482b4a4b3f2 Mon Sep 17 00:00:00 2001
From: ccbikai
Date: Sun, 29 Dec 2024 21:12:55 +0800
Subject: [PATCH 2/6] 0.1.8
---
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package.json b/package.json
index 4d8539d..00f4ff0 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "sink",
"type": "module",
- "version": "0.1.7",
+ "version": "0.1.8",
"private": true,
"packageManager": "pnpm@9.15.1",
"engines": {
From 8731baa3025038ec3348eb3085a41362ab27a8ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=9D=A2=E6=9D=A1?=
<2959393+ccbikai@users.noreply.github.com>
Date: Fri, 10 Jan 2025 19:00:11 +0800
Subject: [PATCH 3/6] docs: Uneed 1st
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 26f33e6..859d0f7 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@
From 8d647ce39b79461bd6914bd1768619614dae2fd0 Mon Sep 17 00:00:00 2001
From: 7heMech <83923848+7heMech@users.noreply.github.com>
Date: Sun, 12 Jan 2025 14:38:33 +0200
Subject: [PATCH 4/6] Fix duplicates on edit
---
components/dashboard/links/Editor.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/dashboard/links/Editor.vue b/components/dashboard/links/Editor.vue
index 7f24bf7..6969a44 100644
--- a/components/dashboard/links/Editor.vue
+++ b/components/dashboard/links/Editor.vue
@@ -114,7 +114,7 @@ async function onSubmit(formData) {
body: link,
})
dialogOpen.value = false
- emit('update:link', newLink)
+ emit('update:link', newLink, 'edit')
if (isEdit) {
toast('Link updated successfully')
}
From 093a9f7e4162460311fc46331c54af955a62627c Mon Sep 17 00:00:00 2001
From: divyansh
Date: Mon, 20 Jan 2025 14:21:36 +0530
Subject: [PATCH 5/6] docs: update KV Namespace setting path & add docs URL
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 859d0f7..8f3b632 100644
--- a/README.md
+++ b/README.md
@@ -98,7 +98,7 @@ We welcome your contributions and PRs.
5. Save and deploy the project.
6. Cancel the deployment, then navigate to **Settings** -> **Bindings** -> **Add**:
- - **KV Namespace**: Bind the variable name `KV` to a KV namespace (create a new one under **Workers & Pages** -> **KV**).
+ - **KV Namespace**: Bind the variable name `KV` to a [KV namespace](https://developers.cloudflare.com/kv/) (create a new one under **Storage & Databases** -> **KV**).
- **Workers AI** (_Optional_): Bind the variable name `AI` to the Workers AI Catalog.
- **Analytics Engine**:
- In **Workers & Pages**, go to **Account details** on the right side, find `Analytics Engine`, and click `Set up` to enable the free version.
From 16ca5a1f067fcae527284b853e004e74a998705a Mon Sep 17 00:00:00 2001
From: ccbikai
Date: Sat, 8 Feb 2025 20:22:21 +0800
Subject: [PATCH 6/6] fix: correct link creation event emission
Differentiates between 'edit' and 'create' events in link editor.
Updates the emit event to properly handle new link creation scenarios.
---
components/dashboard/links/Editor.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/dashboard/links/Editor.vue b/components/dashboard/links/Editor.vue
index 6969a44..d21912e 100644
--- a/components/dashboard/links/Editor.vue
+++ b/components/dashboard/links/Editor.vue
@@ -114,7 +114,7 @@ async function onSubmit(formData) {
body: link,
})
dialogOpen.value = false
- emit('update:link', newLink, 'edit')
+ emit('update:link', newLink, isEdit ? 'edit' : 'create')
if (isEdit) {
toast('Link updated successfully')
}