@@ -7,13 +7,19 @@ import {
7
7
Popover ,
8
8
} from "@stacklok/ui-kit" ;
9
9
10
- import { Undo2 , X , SlidersHorizontal , Check , Ellipsis } from "lucide-react" ;
11
10
import { useMutationArchiveWorkspace } from "@/features/workspace/hooks/use-mutation-archive-workspace" ;
12
11
import { useMutationRestoreWorkspace } from "../hooks/use-mutation-restore-workspace" ;
13
12
import { useMutationHardDeleteWorkspace } from "../hooks/use-mutation-hard-delete-workspace" ;
14
13
import { useMutationActivateWorkspace } from "../hooks/use-mutation-activate-workspace" ;
15
14
import { useConfirmHardDeleteWorkspace } from "../hooks/use-confirm-hard-delete-workspace" ;
16
15
import { hrefs } from "@/lib/hrefs" ;
16
+ import {
17
+ Check ,
18
+ DotsHorizontal ,
19
+ FlipBackward ,
20
+ Settings04 ,
21
+ XClose ,
22
+ } from "@untitled-ui/icons-react" ;
17
23
18
24
const getWorkspaceActions = ( {
19
25
archiveWorkspace,
@@ -41,13 +47,13 @@ const getWorkspaceActions = ({
41
47
} ,
42
48
{
43
49
textValue : "Edit" ,
44
- icon : < SlidersHorizontal /> ,
50
+ icon : < Settings04 /> ,
45
51
id : "edit" ,
46
52
href : hrefs . workspaces . edit ( workspace . name ) ,
47
53
} ,
48
54
{
49
55
textValue : "Archive" ,
50
- icon : < X /> ,
56
+ icon : < XClose /> ,
51
57
id : "archive" ,
52
58
isDisabled :
53
59
workspace . name === activeWorkspaceName || workspace . name === "default" ,
@@ -73,15 +79,15 @@ const getArchivedWorkspaceActions = ({
73
79
} ) : OptionsSchema < "menu" > [ ] => [
74
80
{
75
81
textValue : "Restore" ,
76
- icon : < Undo2 /> ,
82
+ icon : < FlipBackward /> ,
77
83
id : "restore" ,
78
84
onAction : ( ) =>
79
85
restoreWorkspace ( { path : { workspace_name : workspace . name } } ) ,
80
86
} ,
81
87
{
82
88
textValue : "Permanently delete" ,
83
89
isDestructive : true ,
84
- icon : < X /> ,
90
+ icon : < XClose /> ,
85
91
id : "permanently-delete" ,
86
92
onAction : ( ) =>
87
93
hardDeleteWorkspace ( { path : { workspace_name : workspace . name } } ) ,
@@ -103,7 +109,7 @@ export function TableActionsWorkspaces({
103
109
return (
104
110
< MenuTrigger >
105
111
< Button aria-label = "Actions" isIcon variant = "tertiary" >
106
- < Ellipsis />
112
+ < DotsHorizontal />
107
113
</ Button >
108
114
< Popover placement = "bottom end" >
109
115
< Menu
0 commit comments