7070 :class =" {
7171 'bg-grey-8': tab === 'reviews' && !route.fullPath.includes('/c/'),
7272 }"
73- :icon =" tabFilePencil "
73+ :icon =" tabUsers "
7474 @click =" navigateTab('reviews')"
7575 size =" md"
7676 flat
8686 :class =" {
8787 'bg-grey-8': route.fullPath.includes('/c/'),
8888 }"
89- :icon =" tabUser "
89+ :icon =" tabUserEdit "
9090 @click =" mini = !mini"
9191 size =" md"
9292 dense
9696 Candidate: {{ candidate.label ?? candidate.email }}
9797 </QTooltip >
9898 </QBtn >
99- <QBtn
100- :icon =" tabArrowUpLeft"
101- @click =" navigateTo(`/workspace/${workspace.uid}`)"
102- size =" md"
103- dense
104- flat
105- >
106- <QTooltip self =" center left" anchor =" center right" >
107- Back to candidates
108- </QTooltip >
109- </QBtn >
11099 </template >
111100 </div >
112101
235224 clickable
236225 >
237226 <QItemSection avatar >
238- <QIcon :name =" tabFilePencil " />
227+ <QIcon :name =" tabUsers " />
239228 </QItemSection >
240229 <QItemSection >
241230 <QItemLabel class =" text-h6" >Reviews</QItemLabel >
246235 <QCard v-if =" route.fullPath.includes('/c/')" class =" bg-grey-9" >
247236 <QItem v-if =" !editCandidate" v-bind =" leftMenuProps" >
248237 <QItemSection style =" justify-content : start " avatar >
249- <QIcon :name =" tabUser " />
238+ <QIcon :name =" tabUserEdit " />
250239 </QItemSection >
251240 <QItemSection >
252241 <QItemLabel class =" text-body1" style =" word-break : break-all " lines =" 2" >{{
265254 />
266255 </template >
267256 <QCardActions align =" right" >
268- <QBtn
269- :icon =" tabArrowUpLeft"
270- color =" white"
271- label =" Back"
272- @click =" navigateTo(`/workspace/${workspace.uid}`)"
273- unelevated
274- outline
275- no-caps
276- />
277257 <template v-if =" editCandidate " >
278258 <QBtn :icon =" tabX" @click =" editCandidate = false" flat />
279259 <QBtn
290270 flat
291271 />
292272 <QBtn
293- :icon =" tabClipboard"
273+ :icon =" copied ? tabCheck : tabClipboard"
274+ :color =" copied ? 'light-green' : undefined"
294275 @click =" copy(`${baseUrl}/review/${candidate.uid}`)"
295276 flat
296277 >
297- <QTooltip >Copy URL</QTooltip >
278+ <QTooltip >{{ copied ? "Copied to clipboard!" : " Copy URL" }} </QTooltip >
298279 </QBtn >
299280 <DeleteConfirmButton
300281 message =" Are you sure you want to delete this candidate?"
319300import { navigateTo } from " nuxt/app" ;
320301import { defaultWorkspace } from " ../../stores/workspaceStore" ;
321302import {
322- tabArrowLeft ,
323- tabArrowUpLeft ,
324303 tabClipboard ,
325- tabUser ,
326304 tabDeviceFloppy ,
327- tabFilePencil ,
328305 tabFiles ,
329306 tabPencil ,
330307 tabUsersGroup ,
@@ -334,9 +311,10 @@ import {
334311 tabSun ,
335312 tabBrandGithub ,
336313 tabArrowBarToRight ,
337- tabInfoCircle ,
338- tabInfoSquare ,
339314 tabInfoSquareRounded ,
315+ tabUsers ,
316+ tabUserEdit ,
317+ tabCheck ,
340318} from " quasar-extras-svg-icons/tabler-icons-v2" ;
341319import { leftMenuProps } from " ../../utils/commonProps" ;
342320import { baseUrl } from " ../../utils/environment" ;
@@ -358,7 +336,7 @@ const appStore = useAppStore();
358336
359337const { showLeftDrawer, dark } = storeToRefs (appStore );
360338
361- const { copy } = useClipboard ();
339+ const { copy, copied, text } = useClipboard ();
362340
363341const tab = ref (" files" );
364342
0 commit comments