From 86188042f6adc65276d0125c7041fef510b3a264 Mon Sep 17 00:00:00 2001 From: Giga Chubinidze Date: Thu, 14 Mar 2024 05:15:22 +0400 Subject: [PATCH] Tooltip position is not next to title and some are missing [SCI-10276] --- app/assets/javascripts/repositories/repository_datatable.js | 3 ++- app/javascript/vue/shared/inline_edit.vue | 4 ++-- app/views/shared/_inline_editing.html.erb | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/repositories/repository_datatable.js b/app/assets/javascripts/repositories/repository_datatable.js index d7a8e6bf5..220ec988d 100644 --- a/app/assets/javascripts/repositories/repository_datatable.js +++ b/app/assets/javascripts/repositories/repository_datatable.js @@ -670,7 +670,8 @@ var RepositoryDatatable = (function(global) { visible: true, render: function(data, type, row) { return "" + data + ''; + + " class='record-info-link' data-e2e='e2e-TL-invInventoryTR-Item-" + row.DT_RowId + "'" + + " title='" + data + "'>" + data + ''; } }, { targets: 4, diff --git a/app/javascript/vue/shared/inline_edit.vue b/app/javascript/vue/shared/inline_edit.vue index 4fe025149..e084f8f80 100644 --- a/app/javascript/vue/shared/inline_edit.vue +++ b/app/javascript/vue/shared/inline_edit.vue @@ -40,8 +40,8 @@ :class="{ 'text-sn-grey font-normal': isBlank, 'whitespace-pre-line py-1': !singleLine }" @click="enableEdit($event)" > - - {{newValue || placeholder}} + + {{newValue || placeholder}}
-
<%= initial_value %>
+
<%= initial_value %>