mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-14 01:50:39 +09:00
Add click-to-copy workspace path on Paperclip workspace source label
When a skill's source is "Paperclip workspace", clicking the label now copies the absolute path to the managed skills workspace to the clipboard and shows a toast confirmation. - Add sourcePath field to CompanySkillDetail and CompanySkillListItem types - Return managedRoot path as sourcePath from deriveSkillSourceInfo for Paperclip workspace skills - Make source label a clickable button in SkillPane detail view Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
6000bb4ee2
commit
cd01ebb417
3 changed files with 25 additions and 1 deletions
|
|
@ -50,6 +50,7 @@ export interface CompanySkillListItem {
|
|||
editableReason: string | null;
|
||||
sourceLabel: string | null;
|
||||
sourceBadge: CompanySkillSourceBadge;
|
||||
sourcePath: string | null;
|
||||
}
|
||||
|
||||
export interface CompanySkillUsageAgent {
|
||||
|
|
@ -68,6 +69,7 @@ export interface CompanySkillDetail extends CompanySkill {
|
|||
editableReason: string | null;
|
||||
sourceLabel: string | null;
|
||||
sourceBadge: CompanySkillSourceBadge;
|
||||
sourcePath: string | null;
|
||||
}
|
||||
|
||||
export interface CompanySkillUpdateStatus {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue