From 692fcdb7da60b8ac262040e5ce16320a06490afb Mon Sep 17 00:00:00 2001 From: farshad68 Date: Tue, 7 Jul 2026 15:06:35 +0200 Subject: [PATCH] Add tooltips for pipeline-related buttons in UI and for all form fields --- .../compose/pipelines/continuous.yml | 1 + .../ui/templates/compose/pipelines/import.yml | 1 + .../templates/compose/pipelines/pipeline.yml | 1 + .../ui/templates/firststeps_pipelines.html | 4 ++-- .../ui/templates/firststeps_sources.html | 2 +- learn2rag/ui/templates/models_add.html | 20 +++++++++---------- learn2rag/ui/templates/models_page.html | 2 +- learn2rag/ui/templates/pipelines_add.html | 20 +++++++++---------- learn2rag/ui/templates/pipelines_list.html | 6 +++--- learn2rag/ui/templates/pipelines_page.html | 2 +- learn2rag/ui/templates/sources_add.html | 8 ++++---- 11 files changed, 35 insertions(+), 32 deletions(-) diff --git a/learn2rag/ui/templates/compose/pipelines/continuous.yml b/learn2rag/ui/templates/compose/pipelines/continuous.yml index 81981a1..2b79b80 100644 --- a/learn2rag/ui/templates/compose/pipelines/continuous.yml +++ b/learn2rag/ui/templates/compose/pipelines/continuous.yml @@ -1,5 +1,6 @@ name: continuous label: Start +description: "Start the pipeline with continuous data import" ports: # TODO: labels in the interface currently assume a specific port order - ui diff --git a/learn2rag/ui/templates/compose/pipelines/import.yml b/learn2rag/ui/templates/compose/pipelines/import.yml index 6393279..ad8e94b 100644 --- a/learn2rag/ui/templates/compose/pipelines/import.yml +++ b/learn2rag/ui/templates/compose/pipelines/import.yml @@ -1,5 +1,6 @@ name: import label: Start one-time import +description: "Start the pipeline with one time data import" ports: # TODO: UI port is not used; labels in the interface currently assume a specific port order - ui diff --git a/learn2rag/ui/templates/compose/pipelines/pipeline.yml b/learn2rag/ui/templates/compose/pipelines/pipeline.yml index b113317..f434866 100644 --- a/learn2rag/ui/templates/compose/pipelines/pipeline.yml +++ b/learn2rag/ui/templates/compose/pipelines/pipeline.yml @@ -1,5 +1,6 @@ name: pipeline label: Start only the chat +description: "Start the chat only with no import " ports: # TODO: labels in the interface currently assume a specific port order - ui diff --git a/learn2rag/ui/templates/firststeps_pipelines.html b/learn2rag/ui/templates/firststeps_pipelines.html index 5d0632e..e4dbe48 100644 --- a/learn2rag/ui/templates/firststeps_pipelines.html +++ b/learn2rag/ui/templates/firststeps_pipelines.html @@ -14,11 +14,11 @@

You do not have any pipelines configured

{% endfor %} - +
- More options + More options
diff --git a/learn2rag/ui/templates/firststeps_sources.html b/learn2rag/ui/templates/firststeps_sources.html index 9af689e..6196bf8 100644 --- a/learn2rag/ui/templates/firststeps_sources.html +++ b/learn2rag/ui/templates/firststeps_sources.html @@ -8,7 +8,7 @@

You do not have any data sources selected

- +
diff --git a/learn2rag/ui/templates/models_add.html b/learn2rag/ui/templates/models_add.html index 15fce6e..e61f788 100644 --- a/learn2rag/ui/templates/models_add.html +++ b/learn2rag/ui/templates/models_add.html @@ -1,7 +1,7 @@

-

@@ -14,7 +14,7 @@

- {% for llm_client in llm.llms.values() %} {% if llm_client.LABEL %}
- +
- +
@@ -50,7 +50,7 @@

{% if suggested_models %}

-

@@ -82,7 +82,7 @@
{{ suggested_model.label }}
- +
@@ -101,7 +101,7 @@

{{gettext('Another model')}}
- + {% else %} diff --git a/learn2rag/ui/templates/models_page.html b/learn2rag/ui/templates/models_page.html index bef5616..060bcb9 100644 --- a/learn2rag/ui/templates/models_page.html +++ b/learn2rag/ui/templates/models_page.html @@ -6,7 +6,7 @@

{% block title %}{{pgettext('title', 'Language models')}}{% endblock %}

{% block content %}

-

diff --git a/learn2rag/ui/templates/pipelines_add.html b/learn2rag/ui/templates/pipelines_add.html index 2e7d797..67b6828 100644 --- a/learn2rag/ui/templates/pipelines_add.html +++ b/learn2rag/ui/templates/pipelines_add.html @@ -5,11 +5,11 @@
- +
- {% for name, language_model in models.items() %} {% endfor %} @@ -31,7 +31,7 @@ {% endfor %}
-
@@ -40,12 +40,12 @@
- +
{{gettext('Optional')}} @@ -53,19 +53,19 @@ {# TODO: labels in the interface currently assume a specific port order in all corresponding .yml files #}
- +
- +
- +
- +
@@ -77,7 +77,7 @@ - +