mirror of
https://github.com/logancyang/obsidian-copilot.git
synced 2026-07-22 07:50:24 +00:00
3.2.3 (#2214)
* 3.2.3 * fix: rename "Copy command" to "Duplicate command" with copy-plus icon (#2150) Improves UX clarity by distinguishing the duplicate action from clipboard copy. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
f086ad76dc
commit
c464b33cae
5 changed files with 18 additions and 12 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "copilot",
|
||||
"name": "Copilot",
|
||||
"version": "3.2.2",
|
||||
"version": "3.2.3",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "Your AI Copilot: Chat with Your Second Brain, Learn Faster, Work Smarter.",
|
||||
"author": "Logan Yang",
|
||||
|
|
|
|||
4
package-lock.json
generated
4
package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "obsidian-copilot",
|
||||
"version": "3.2.2",
|
||||
"version": "3.2.3",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "obsidian-copilot",
|
||||
"version": "3.2.2",
|
||||
"version": "3.2.3",
|
||||
"license": "AGPL-3.0",
|
||||
"dependencies": {
|
||||
"@dnd-kit/core": "^6.3.1",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "obsidian-copilot",
|
||||
"version": "3.2.2",
|
||||
"version": "3.2.3",
|
||||
"description": "Your AI Copilot: Chat with Your Second Brain, Learn Faster, Work Smarter.",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import React, { useMemo, useRef } from "react";
|
|||
import { Button } from "@/components/ui/button";
|
||||
import { useCustomCommands } from "@/commands/state";
|
||||
import { MobileCard, MobileCardDropdownAction } from "@/components/ui/mobile-card";
|
||||
import { Copy, GripVertical, Lightbulb, PenLine, Plus, Trash2 } from "lucide-react";
|
||||
import { CopyPlus, GripVertical, Lightbulb, PenLine, Plus, Trash2 } from "lucide-react";
|
||||
|
||||
import { Checkbox } from "@/components/ui/checkbox";
|
||||
import {
|
||||
|
|
@ -71,8 +71,8 @@ const MobileCommandCard: React.FC<{
|
|||
onClick: handleEdit,
|
||||
},
|
||||
{
|
||||
icon: <Copy className="tw-size-4" />,
|
||||
label: "Copy",
|
||||
icon: <CopyPlus className="tw-size-4" />,
|
||||
label: "Duplicate",
|
||||
onClick: onCopy,
|
||||
},
|
||||
{
|
||||
|
|
@ -254,8 +254,13 @@ const SortableTableRow: React.FC<{
|
|||
>
|
||||
<PenLine className="tw-size-4" />
|
||||
</Button>
|
||||
<Button variant="ghost" size="icon" onClick={() => onCopy(command)} title="Copy command">
|
||||
<Copy className="tw-size-4" />
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
onClick={() => onCopy(command)}
|
||||
title="Duplicate command"
|
||||
>
|
||||
<CopyPlus className="tw-size-4" />
|
||||
</Button>
|
||||
<Button
|
||||
variant="ghost"
|
||||
|
|
@ -332,8 +337,8 @@ export const CommandSettings: React.FC = () => {
|
|||
autoOrder: false,
|
||||
});
|
||||
} catch (error) {
|
||||
logError("Failed to copy command:", error);
|
||||
new Notice("Failed to copy command. Please try again.");
|
||||
logError("Failed to duplicate command:", error);
|
||||
new Notice("Failed to duplicate command. Please try again.");
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -102,5 +102,6 @@
|
|||
"3.1.5": "0.15.0",
|
||||
"3.2.0": "0.15.0",
|
||||
"3.2.1": "0.15.0",
|
||||
"3.2.2": "0.15.0"
|
||||
"3.2.2": "0.15.0",
|
||||
"3.2.3": "0.15.0"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue