fix(settings): show including state on library index include action

Mirror the exclude UX: flushSync before bootstrap, block repeat clicks,
show "Including…" on the row, and roll back exclusion if bind fails.
This commit is contained in:
Maxim Isaev
2026-05-22 14:16:19 +03:00
parent 60aad12cd4
commit 376edbfe18
11 changed files with 56 additions and 15 deletions
+1
View File
@@ -264,6 +264,7 @@ export const settings = {
libraryIndexExcludingServer: 'Wird ausgeschlossen…',
libraryIndexExcludedTitle: 'Von Synchronisation ausgeschlossen',
libraryIndexIncludeServer: 'Wieder einschließen',
libraryIndexIncludingServer: 'Wird eingeschlossen…',
libraryIndexStatus: 'Status',
libraryIndexStatusIdle: 'Bereit',
libraryIndexStatusProbing: 'Server wird geprüft…',
+1
View File
@@ -267,6 +267,7 @@ export const settings = {
libraryIndexExcludingServer: 'Excluding…',
libraryIndexExcludedTitle: 'Excluded from sync',
libraryIndexIncludeServer: 'Include again',
libraryIndexIncludingServer: 'Including…',
libraryIndexStatus: 'Status',
libraryIndexStatusIdle: 'Idle',
libraryIndexStatusProbing: 'Checking server…',
+1
View File
@@ -262,6 +262,7 @@ export const settings = {
libraryIndexExcludingServer: 'Excluyendo…',
libraryIndexExcludedTitle: 'Excluidos de la sincronización',
libraryIndexIncludeServer: 'Incluir de nuevo',
libraryIndexIncludingServer: 'Incluyendo…',
libraryIndexStatus: 'Estado',
libraryIndexStatusIdle: 'Inactivo',
libraryIndexStatusProbing: 'Comprobando servidor…',
+1
View File
@@ -260,6 +260,7 @@ export const settings = {
libraryIndexExcludingServer: 'Exclusion…',
libraryIndexExcludedTitle: 'Exclus de la synchronisation',
libraryIndexIncludeServer: 'Réinclure',
libraryIndexIncludingServer: 'Réinclusion…',
libraryIndexStatus: 'État',
libraryIndexStatusIdle: 'Inactif',
libraryIndexStatusProbing: 'Vérification du serveur…',
+1
View File
@@ -259,6 +259,7 @@ export const settings = {
libraryIndexExcludingServer: 'Ekskluderer…',
libraryIndexExcludedTitle: 'Ekskludert fra synkronisering',
libraryIndexIncludeServer: 'Inkluder igjen',
libraryIndexIncludingServer: 'Inkluderer…',
libraryIndexStatus: 'Status',
libraryIndexStatusIdle: 'Inaktiv',
libraryIndexStatusProbing: 'Sjekker server…',
+1
View File
@@ -260,6 +260,7 @@ export const settings = {
libraryIndexExcludingServer: 'Uitsluiten…',
libraryIndexExcludedTitle: 'Uitgesloten van synchronisatie',
libraryIndexIncludeServer: 'Weer opnemen',
libraryIndexIncludingServer: 'Opnemen…',
libraryIndexStatus: 'Status',
libraryIndexStatusIdle: 'Inactief',
libraryIndexStatusProbing: 'Server controleren…',
+1
View File
@@ -266,6 +266,7 @@ export const settings = {
libraryIndexExcludingServer: 'Se exclude…',
libraryIndexExcludedTitle: 'Excluse din sincronizare',
libraryIndexIncludeServer: 'Include din nou',
libraryIndexIncludingServer: 'Se include…',
libraryIndexStatus: 'Stare',
libraryIndexStatusIdle: 'Inactiv',
libraryIndexStatusProbing: 'Se verifică serverul…',
+1
View File
@@ -272,6 +272,7 @@ export const settings = {
libraryIndexExcludingServer: 'Отключается…',
libraryIndexExcludedTitle: 'Исключены из синхронизации',
libraryIndexIncludeServer: 'Включить снова',
libraryIndexIncludingServer: 'Подключается…',
libraryIndexStatus: 'Статус',
libraryIndexStatusIdle: 'Ожидание',
libraryIndexStatusProbing: 'Проверка сервера…',
+1
View File
@@ -259,6 +259,7 @@ export const settings = {
libraryIndexExcludingServer: '正在排除…',
libraryIndexExcludedTitle: '已排除同步',
libraryIndexIncludeServer: '重新纳入',
libraryIndexIncludingServer: '正在纳入…',
libraryIndexStatus: '状态',
libraryIndexStatusIdle: '空闲',
libraryIndexStatusProbing: '正在检查服务器…',