mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-18 06:24:20 +01:00
Include tooltips for single message + continuous mode
This commit is contained in:
@@ -67,8 +67,9 @@ class _ChatInputFieldState extends State<ChatInputField> {
|
||||
mainAxisSize: MainAxisSize.min, // Set to minimum space
|
||||
children: [
|
||||
if (!widget.isContinuousMode)
|
||||
// TODO: Include tool tip to explain single message sending
|
||||
IconButton(
|
||||
Tooltip(
|
||||
message: 'Send a single message',
|
||||
child: IconButton(
|
||||
splashRadius: 0.1,
|
||||
icon: const Icon(Icons.send),
|
||||
onPressed: () {
|
||||
@@ -76,9 +77,13 @@ class _ChatInputFieldState extends State<ChatInputField> {
|
||||
_controller.clear();
|
||||
},
|
||||
),
|
||||
// TODO: Include tool tip to explain continuous mode
|
||||
),
|
||||
// TODO: Include pop up to explain continuous mode reprecussions
|
||||
IconButton(
|
||||
Tooltip(
|
||||
message: widget.isContinuousMode
|
||||
? ''
|
||||
: 'Enable continuous mode',
|
||||
child: IconButton(
|
||||
splashRadius: 0.1,
|
||||
icon: Icon(widget.isContinuousMode
|
||||
? Icons.pause
|
||||
@@ -91,6 +96,7 @@ class _ChatInputFieldState extends State<ChatInputField> {
|
||||
}
|
||||
widget.onContinuousModePressed();
|
||||
},
|
||||
),
|
||||
)
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user