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 1/4] 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 @@ Uneed Badge 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 2/4] 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 3/4] 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 4/4] 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') }