Continuity fixes
This commit is contained in:
parent
e700df9724
commit
dbe6dec4cc
|
@ -120,6 +120,11 @@
|
|||
"description": "Tooltip for reset button",
|
||||
"context": "Visible in the chat view"
|
||||
},
|
||||
"tooltipOptions": "Show options",
|
||||
"@tooltipOptions": {
|
||||
"description": "Tooltip for options button",
|
||||
"context": "Visible in the chat view"
|
||||
},
|
||||
"noModelSelected": "No model selected",
|
||||
"@noModelSelected": {
|
||||
"description": "Text displayed when no model is selected",
|
||||
|
|
|
@ -549,8 +549,16 @@ class _MainAppState extends State<MainApp> {
|
|||
height: 24,
|
||||
width: 24,
|
||||
child: IconButton(
|
||||
tooltip: AppLocalizations.of(context)!
|
||||
.tooltipReset,
|
||||
tooltip: allowMultipleChats
|
||||
? allowSettings
|
||||
? AppLocalizations.of(
|
||||
context)!
|
||||
.tooltipOptions
|
||||
: AppLocalizations.of(
|
||||
context)!
|
||||
.deleteChat
|
||||
: AppLocalizations.of(context)!
|
||||
.tooltipReset,
|
||||
onPressed: () {
|
||||
if (!chatAllowed &&
|
||||
chatUuid ==
|
||||
|
@ -942,6 +950,7 @@ class _MainAppState extends State<MainApp> {
|
|||
const SizedBox(width: 4),
|
||||
allowMultipleChats
|
||||
? IconButton(
|
||||
enableFeedback: false,
|
||||
onPressed: () {
|
||||
selectionHaptic();
|
||||
if (!chatAllowed) return;
|
||||
|
|
|
@ -454,6 +454,7 @@ class _ScreenSettingsState extends State<ScreenSettings> {
|
|||
.settingsHost,
|
||||
hintText: "http://localhost:11434",
|
||||
prefixIcon: IconButton(
|
||||
enableFeedback: false,
|
||||
tooltip: AppLocalizations.of(context)!
|
||||
.tooltipAddHostHeaders,
|
||||
onPressed: () async {
|
||||
|
@ -495,6 +496,7 @@ class _ScreenSettingsState extends State<ScreenSettings> {
|
|||
child:
|
||||
const CircularProgressIndicator())
|
||||
: IconButton(
|
||||
enableFeedback: false,
|
||||
tooltip:
|
||||
AppLocalizations.of(context)!
|
||||
.tooltipSave,
|
||||
|
|
|
@ -218,6 +218,7 @@ class _ScreenVoiceState extends State<ScreenVoice> {
|
|||
child: Scaffold(
|
||||
appBar: AppBar(
|
||||
leading: IconButton(
|
||||
enableFeedback: false,
|
||||
onPressed: () {
|
||||
Navigator.of(context).pop();
|
||||
},
|
||||
|
@ -240,6 +241,7 @@ class _ScreenVoiceState extends State<ScreenVoice> {
|
|||
),
|
||||
actions: [
|
||||
IconButton(
|
||||
enableFeedback: false,
|
||||
onPressed: () {
|
||||
speaking = false;
|
||||
settingsOpen = false;
|
||||
|
|
|
@ -55,6 +55,7 @@ class _ScreenSettingsBehaviorState extends State<ScreenSettingsBehavior> {
|
|||
alignLabelWithHint: true,
|
||||
hintText: "You are a helpful assistant",
|
||||
suffixIcon: IconButton(
|
||||
enableFeedback: false,
|
||||
tooltip:
|
||||
AppLocalizations.of(context)!.tooltipSave,
|
||||
onPressed: () {
|
||||
|
|
|
@ -854,6 +854,7 @@ Future<String> prompt(BuildContext context,
|
|||
hintText: placeholder,
|
||||
errorText: error,
|
||||
suffixIcon: IconButton(
|
||||
enableFeedback: false,
|
||||
tooltip: AppLocalizations.of(context)!
|
||||
.tooltipSave,
|
||||
onPressed: submit,
|
||||
|
@ -863,6 +864,7 @@ Future<String> prompt(BuildContext context,
|
|||
.dialogEnterNewTitle &&
|
||||
uuid != null)
|
||||
? IconButton(
|
||||
enableFeedback: false,
|
||||
tooltip: AppLocalizations.of(context)!
|
||||
.tooltipLetAIThink,
|
||||
onPressed: () async {
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
"deleteChat",
|
||||
"renameChat",
|
||||
"tooltipReset",
|
||||
"tooltipOptions",
|
||||
"modelDialogAddPromptTitle",
|
||||
"modelDialogAddPromptDescription",
|
||||
"modelDialogAddPromptAlreadyExists",
|
||||
|
@ -50,6 +51,7 @@
|
|||
"deleteChat",
|
||||
"renameChat",
|
||||
"tooltipReset",
|
||||
"tooltipOptions",
|
||||
"modelDialogAddPromptTitle",
|
||||
"modelDialogAddPromptDescription",
|
||||
"modelDialogAddPromptAlreadyExists",
|
||||
|
@ -96,6 +98,7 @@
|
|||
"deleteChat",
|
||||
"renameChat",
|
||||
"tooltipReset",
|
||||
"tooltipOptions",
|
||||
"modelDialogAddPromptTitle",
|
||||
"modelDialogAddPromptDescription",
|
||||
"modelDialogAddPromptAlreadyExists",
|
||||
|
@ -142,6 +145,7 @@
|
|||
"deleteChat",
|
||||
"renameChat",
|
||||
"tooltipReset",
|
||||
"tooltipOptions",
|
||||
"modelDialogAddPromptTitle",
|
||||
"modelDialogAddPromptDescription",
|
||||
"modelDialogAddPromptAlreadyExists",
|
||||
|
|
Loading…
Reference in New Issue