-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(client_bot_ui): beautify the Bot list UI (#229)
Beautify the Bot list UI display, adding a frosted glass effect and some icons. ![image](https://github.com/user-attachments/assets/697a492b-9eb3-41b7-baa2-649e771a3d47) ![image](https://github.com/user-attachments/assets/4970a3d8-f953-40d0-af04-148806f0d394)
- Loading branch information
Showing
10 changed files
with
240 additions
and
30 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,17 @@ | ||
const CheckBadgeIcon = () => ( | ||
<svg | ||
width="16" | ||
height="16" | ||
viewBox="0 0 16 16" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
fill-rule="evenodd" | ||
clip-rule="evenodd" | ||
d="M13.1222 10.1218C13.882 9.71897 14.3996 8.91992 14.3996 7.99998C14.3996 7.08003 13.882 6.28098 13.1222 5.87814C13.3746 5.05599 13.1756 4.12498 12.5251 3.47447C11.8746 2.82397 10.9436 2.62495 10.1214 2.87741C9.7186 2.11756 8.91955 1.59998 7.99961 1.59998C7.07966 1.59998 6.28061 2.11757 5.87777 2.87743C5.05563 2.62498 4.12462 2.824 3.47413 3.4745C2.82363 4.125 2.62461 5.056 2.87705 5.87814C2.1172 6.28098 1.59961 7.08003 1.59961 7.99998C1.59961 8.91992 2.1172 9.71897 2.87705 10.1218C2.6246 10.944 2.82362 11.875 3.47412 12.5255C4.12462 13.176 5.05563 13.375 5.87778 13.1225C6.28062 13.8824 7.07967 14.4 7.99961 14.4C8.91956 14.4 9.71861 13.8824 10.1214 13.1225C10.9436 13.375 11.8746 13.1759 12.5251 12.5254C13.1756 11.875 13.3746 10.944 13.1222 10.1218ZM11.0849 6.55288C11.2798 6.28489 11.2205 5.90964 10.9525 5.71473C10.6845 5.51983 10.3093 5.57908 10.1144 5.84707L7.32736 9.6792L5.82387 8.17571C5.58956 7.9414 5.20966 7.9414 4.97535 8.17571C4.74103 8.41003 4.74103 8.78992 4.97535 9.02424L6.97535 11.0242C7.09942 11.1483 7.2716 11.2119 7.44654 11.1981C7.62148 11.1844 7.78164 11.0948 7.88485 10.9529L11.0849 6.55288Z" | ||
fill="#6B7280" | ||
/> | ||
</svg> | ||
); | ||
export default CheckBadgeIcon; |
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,14 @@ | ||
const CloudIcon = () => ( | ||
<svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} fill="none"> | ||
<g fill="#F9FAFB" fillRule="evenodd" clipPath="url(#a)" clipRule="evenodd"> | ||
<path d="M3.685 10.375a.6.6 0 0 1-.108.842 1.996 1.996 0 0 0-.744 1.95 2.008 2.008 0 0 0 1.95-.744.6.6 0 1 1 .949.734 3.196 3.196 0 0 1-3.585 1.066.6.6 0 0 1-.37-.37 3.196 3.196 0 0 1 1.066-3.585.6.6 0 0 1 .842.107Z" /> | ||
<path d="M4.602 9.6A10.46 10.46 0 0 0 6.4 11.398V14.6a.6.6 0 0 0 .6.6 4 4 0 0 0 3.838-5.131 10.388 10.388 0 0 0 4.36-8.679.6.6 0 0 0-.588-.588 10.388 10.388 0 0 0-8.679 4.36A4 4 0 0 0 .8 9a.6.6 0 0 0 .6.6h3.202ZM10.4 7.2a1.6 1.6 0 1 0 0-3.2 1.6 1.6 0 0 0 0 3.2Z" /> | ||
</g> | ||
<defs> | ||
<clipPath id="a"> | ||
<path fill="#fff" d="M0 0h16v16H0z" /> | ||
</clipPath> | ||
</defs> | ||
</svg> | ||
); | ||
export default CloudIcon; |
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,17 @@ | ||
const ErrorBadgeIcon = () => ( | ||
<svg | ||
width="16" | ||
height="16" | ||
viewBox="0 0 16 16" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
fill-rule="evenodd" | ||
clip-rule="evenodd" | ||
d="M14.3996 7.99998C14.3996 11.5346 11.5342 14.4 7.99961 14.4C4.46499 14.4 1.59961 11.5346 1.59961 7.99998C1.59961 4.46535 4.46499 1.59998 7.99961 1.59998C11.5342 1.59998 14.3996 4.46535 14.3996 7.99998ZM7.99961 3.99998C8.33098 3.99998 8.59961 4.2686 8.59961 4.59998V8.19998C8.59961 8.53135 8.33098 8.79998 7.99961 8.79998C7.66824 8.79998 7.39961 8.53135 7.39961 8.19998V4.59998C7.39961 4.2686 7.66824 3.99998 7.99961 3.99998ZM7.99961 12C8.44144 12 8.79961 11.6418 8.79961 11.2C8.79961 10.7581 8.44144 10.4 7.99961 10.4C7.55778 10.4 7.19961 10.7581 7.19961 11.2C7.19961 11.6418 7.55778 12 7.99961 12Z" | ||
fill="#DC2626" | ||
/> | ||
</svg> | ||
); | ||
export default ErrorBadgeIcon; |
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,18 @@ | ||
const LoadingIcon = () => ( | ||
<svg | ||
width="16" | ||
height="16" | ||
viewBox="0 0 16 16" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
d="M8.8635 2.06246C7.68917 1.89168 6.49056 2.07296 5.41925 2.58338C4.34795 3.0938 3.45206 3.91044 2.84488 4.93003C2.23769 5.94962 1.94649 7.12636 2.00809 8.31145C2.06969 9.49654 2.48132 10.6367 3.19094 11.5879C3.90056 12.539 4.87628 13.2584 5.99474 13.655C7.11319 14.0516 8.32413 14.1076 9.47443 13.816C10.6247 13.5244 11.6627 12.8982 12.4571 12.0167C13.2516 11.1352 13.7668 10.0378 13.9375 8.8635" | ||
stroke="#9CA3AF" | ||
stroke-width="3" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
/> | ||
</svg> | ||
); | ||
export default LoadingIcon; |
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,17 @@ | ||
const MinusCircleIcon = () => ( | ||
<svg | ||
width="16" | ||
height="16" | ||
viewBox="0 0 16 16" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
fill-rule="evenodd" | ||
clip-rule="evenodd" | ||
d="M7.99961 14.4C11.5342 14.4 14.3996 11.5346 14.3996 7.99998C14.3996 4.46535 11.5342 1.59998 7.99961 1.59998C4.46499 1.59998 1.59961 4.46535 1.59961 7.99998C1.59961 11.5346 4.46499 14.4 7.99961 14.4ZM5.39961 7.39998C5.06824 7.39998 4.79961 7.6686 4.79961 7.99998C4.79961 8.33135 5.06824 8.59998 5.39961 8.59998H10.5996C10.931 8.59998 11.1996 8.33135 11.1996 7.99998C11.1996 7.6686 10.931 7.39998 10.5996 7.39998H5.39961Z" | ||
fill="#9CA3AF" | ||
/> | ||
</svg> | ||
); | ||
export default MinusCircleIcon; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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