forked from loft-sh/devpod
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(desktop): Display template name in workspace card. Shows template (
loft-sh#1236) options on hover
- Loading branch information
1 parent
cc1dbc9
commit 744d20d
Showing
7 changed files
with
113 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { createIcon } from "@chakra-ui/react" | ||
import { defaultProps } from "./defaultProps" | ||
|
||
export const Template = createIcon({ | ||
displayName: "Template", | ||
viewBox: "0 0 24 25", | ||
defaultProps, | ||
path: ( | ||
<path d="M6.9375 6.60461C6.83437 6.60461 6.75 6.68899 6.75 6.79211V7.91711C6.75 8.02024 6.83437 8.10461 6.9375 8.10461H15.9375C16.0406 8.10461 16.125 8.02024 16.125 7.91711V6.79211C16.125 6.68899 16.0406 6.60461 15.9375 6.60461H6.9375ZM11.4375 11.2921V10.1671C11.4375 10.064 11.3531 9.97961 11.25 9.97961H6.9375C6.83437 9.97961 6.75 10.064 6.75 10.1671V11.2921C6.75 11.3952 6.83437 11.4796 6.9375 11.4796H11.25C11.3531 11.4796 11.4375 11.3952 11.4375 11.2921ZM10.3125 20.5734H4.875V4.07336H18V12.1359C18 12.239 18.0844 12.3234 18.1875 12.3234H19.5C19.6031 12.3234 19.6875 12.239 19.6875 12.1359V3.13586C19.6875 2.72102 19.3523 2.38586 18.9375 2.38586H3.9375C3.52266 2.38586 3.1875 2.72102 3.1875 3.13586V21.5109C3.1875 21.9257 3.52266 22.2609 3.9375 22.2609H10.3125C10.4156 22.2609 10.5 22.1765 10.5 22.0734V20.7609C10.5 20.6577 10.4156 20.5734 10.3125 20.5734ZM12.7523 17.864C12.7945 17.0554 13.132 16.2984 13.7086 15.7218C14.3227 15.1077 15.1617 14.7609 16.0312 14.7609C16.9078 14.7609 17.7328 15.1031 18.3539 15.7218C18.4289 15.7968 18.5016 15.8765 18.5695 15.9585L18.0281 16.3781C18.0002 16.3996 17.979 16.4287 17.9668 16.4618C17.9547 16.495 17.9521 16.5309 17.9595 16.5654C17.9668 16.5999 17.9837 16.6316 18.0083 16.657C18.0329 16.6823 18.0641 16.7002 18.0984 16.7085L20.2852 17.2359C20.4023 17.264 20.5148 17.1749 20.5172 17.0554L20.5312 14.8195C20.5316 14.7842 20.522 14.7496 20.5036 14.7196C20.4852 14.6896 20.4586 14.6654 20.4271 14.6497C20.3955 14.634 20.3602 14.6276 20.3252 14.6311C20.2901 14.6346 20.2567 14.6479 20.2289 14.6695L19.7531 15.0398C18.8766 13.9546 17.5336 13.2609 16.0312 13.2609C13.4555 13.2609 11.3531 15.2976 11.25 17.8476C11.2453 17.9531 11.332 18.0421 11.4375 18.0421H12.5648C12.6656 18.0421 12.7477 17.9648 12.7523 17.864ZM20.625 18.0421H19.4977C19.3969 18.0421 19.3148 18.1195 19.3102 18.2202C19.268 19.0288 18.9305 19.7859 18.3539 20.3624C17.7398 20.9765 16.9008 21.3234 16.0312 21.3234C15.1547 21.3234 14.3297 20.9812 13.7086 20.3624C13.6336 20.2874 13.5609 20.2077 13.493 20.1257L14.0344 19.7062C14.0623 19.6846 14.0835 19.6555 14.0957 19.6224C14.1078 19.5893 14.1104 19.5534 14.103 19.5189C14.0957 19.4843 14.0788 19.4526 14.0542 19.4273C14.0296 19.4019 13.9984 19.3841 13.9641 19.3757L11.7773 18.8484C11.6602 18.8202 11.5477 18.9093 11.5453 19.0288L11.5312 21.2648C11.5309 21.3 11.5405 21.3346 11.5589 21.3646C11.5773 21.3946 11.6039 21.4189 11.6354 21.4345C11.667 21.4502 11.7023 21.4566 11.7373 21.4531C11.7724 21.4496 11.8058 21.4363 11.8336 21.4148L12.3094 21.0445C13.1859 22.1296 14.5289 22.8234 16.0312 22.8234C18.607 22.8234 20.7094 20.7866 20.8125 18.2366C20.8172 18.1312 20.7305 18.0421 20.625 18.0421Z" /> | ||
), | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters