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