* 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:
Logan Yang 2026-02-23 21:11:04 -08:00 committed by GitHub
parent f086ad76dc
commit c464b33cae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 18 additions and 12 deletions

View file

@ -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
View file

@ -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",

View file

@ -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": {

View file

@ -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.");
}
};

View file

@ -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"
}