mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-09-11 19:17:43 +03:00
chore: chat icon (#5465)
This commit is contained in:
parent
1cecfae6f4
commit
890ac5a213
@ -21,7 +21,7 @@ class AIChatPluginBuilder extends PluginBuilder {
|
||||
}
|
||||
|
||||
@override
|
||||
String get menuName => "AIChat";
|
||||
String get menuName => "AI Chat";
|
||||
|
||||
@override
|
||||
FlowySvgData get icon => FlowySvgs.chat_ai_page_s;
|
||||
|
@ -108,7 +108,10 @@ class ViewAddButtonActionWrapper extends ActionCell {
|
||||
final PluginBuilder pluginBuilder;
|
||||
|
||||
@override
|
||||
Widget? leftIcon(Color iconColor) => FlowySvg(pluginBuilder.icon);
|
||||
Widget? leftIcon(Color iconColor) => FlowySvg(
|
||||
pluginBuilder.icon,
|
||||
size: const Size.square(16),
|
||||
);
|
||||
|
||||
@override
|
||||
String get name => pluginBuilder.menuName;
|
||||
|
@ -1,4 +1 @@
|
||||
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M17 3.33782C15.5291 2.48697 13.8214 2 12 2C6.47715 2 2 6.47715 2 12C2 13.5997 2.37562 15.1116 3.04346 16.4525C3.22094 16.8088 3.28001 17.2161 3.17712 17.6006L2.58151 19.8267C2.32295 20.793 3.20701 21.677 4.17335 21.4185L6.39939 20.8229C6.78393 20.72 7.19121 20.7791 7.54753 20.9565C8.88837 21.6244 10.4003 22 12 22C17.5228 22 22 17.5228 22 12C22 10.1786 21.513 8.47087 20.6622 7" stroke="#171717" stroke-opacity="0.7" stroke-width="1.125" stroke-linecap="round"/>
|
||||
<path d="M8 12H8.009M11.991 12H12M15.991 12H16" stroke="#171717" stroke-opacity="0.7" stroke-width="1.05" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <path d="M12 16V8" stroke="#333333" stroke-width="1.656" stroke-linecap="round" style="--darkreader-inline-stroke: #c8c3bc;" data-darkreader-inline-stroke=""></path> <path d="M8 14V10" stroke="#333333" stroke-width="1.656" stroke-linecap="round" style="--darkreader-inline-stroke: #c8c3bc;" data-darkreader-inline-stroke=""></path> <path d="M16 14V10" stroke="#333333" stroke-width="1.656" stroke-linecap="round" style="--darkreader-inline-stroke: #c8c3bc;" data-darkreader-inline-stroke=""></path> <path d="M17 3.33782C15.5291 2.48697 13.8214 2 12 2C6.47715 2 2 6.47715 2 12C2 13.5997 2.37562 15.1116 3.04346 16.4525C3.22094 16.8088 3.28001 17.2161 3.17712 17.6006L2.58151 19.8267C2.32295 20.793 3.20701 21.677 4.17335 21.4185L6.39939 20.8229C6.78393 20.72 7.19121 20.7791 7.54753 20.9565C8.88837 21.6244 10.4003 22 12 22C17.5228 22 22 17.5228 22 12C22 10.1786 21.513 8.47087 20.6622 7" stroke="#333333" stroke-width="1.656" stroke-linecap="round" style="--darkreader-inline-stroke: #c8c3bc;" data-darkreader-inline-stroke=""></path> </g></svg>
|
Before Width: | Height: | Size: 735 B After Width: | Height: | Size: 1.3 KiB |
@ -368,7 +368,7 @@ fn stream_send_chat_messages(
|
||||
messages.push(message);
|
||||
},
|
||||
Err(err) => {
|
||||
error!("Failed to send chat message: {}", err);
|
||||
error!("stream chat message error: {}", err);
|
||||
let pb = ChatMessageErrorPB {
|
||||
chat_id: chat_id.clone(),
|
||||
content: message_content.clone(),
|
||||
|
Loading…
Reference in New Issue
Block a user