Repository: syncthing/syncthing (language: go)

Issue:
lib/config, lib/model: Better error message for insufficient space
By not using a colon, the error doesn't get prematurely cut off in the GUI.

<img width="920" alt="Screenshot 2023-07-19 at 22 23 00" src="https://github.com/syncthing/syncthing/assets/125426/00f0b57d-0f64-4d55-b145-449a99cf8bac">



Discussion / hints:

Fix patch:
diff --git a/gui/default/index.html b/gui/default/index.html
index 66a49bbd1de..75295078501 100644
--- a/gui/default/index.html
+++ b/gui/default/index.html
@@ -1021,7 +1021,6 @@ <h4 class="panel-title">
   <script type="text/javascript" src="syncthing/core/eventService.js"></script>
   <script type="text/javascript" src="syncthing/core/identiconDirective.js"></script>
   <script type="text/javascript" src="syncthing/core/languageSelectDirective.js"></script>
-  <script type="text/javascript" src="syncthing/core/lastErrorComponentFilter.js"></script>
   <script type="text/javascript" src="syncthing/core/localeService.js"></script>
   <script type="text/javascript" src="syncthing/core/modalDirective.js"></script>
   <script type="text/javascript" src="syncthing/core/metricFilter.js"></script>
diff --git a/gui/default/syncthing/core/lastErrorComponentFilter.js b/gui/default/syncthing/core/lastErrorComponentFilter.js
deleted file mode 100644
index 83e20b82680..00000000000
--- a/gui/default/syncthing/core/lastErrorComponentFilter.js
+++ /dev/null
@@ -1,12 +0,0 @@
-angular.module('syncthing.core')
-    .filter('lastErrorComponent', function () {
-        return function (input) {
-            if (input === undefined)
-                return "";
-            var parts = input.split(/:\s*/);
-            if (!parts || parts.length < 1) {
-                return input;
-            }
-            return parts[parts.length - 1];
-        };
-    });
diff --git a/gui/default/syncthing/transfer/failedFilesModalView.html b/gui/default/syncthing/transfer/failedFilesModalView.html
index 4d065695975..1ecb87e9a62 100644
--- a/gui/default/syncthing/transfer/failedFilesModalView.html
+++ b/gui/default/syncthing/transfer/failedFilesModalView.html
@@ -7,7 +7,7 @@
     <table class="table table-striped table-dynamic">
       <tr dir-paginate="e in failed.errors | itemsPerPage: failed.perpage" current-page="failed.page" total-items="model[failed.folder].pullErrors" pagination-id="failed">
         <td>{{e.path}}</td>
-        <td><abbr tooltip data-original-title="{{e.error}}">{{e.error | lastErrorComponent}}</abbr></td>
+        <td>{{e.error}}</td>
       </tr>
     </table>
     <dir-pagination-controls on-page-change="refreshFailed(newPageNumber, failed.perpage)" pagination-id="failed"></dir-pagination-controls>


Test patch: