fix(settings): show excluding state on library index exclude action

Flush UI before the async unbind, disable repeat clicks, cancel an active
sync when needed, and label the button "Excluding…" / localized equivalent.
This commit is contained in:
Maxim Isaev
2026-05-22 14:14:09 +03:00
parent 23f7ba02d6
commit 60aad12cd4
12 changed files with 68 additions and 8 deletions
+1
View File
@@ -261,6 +261,7 @@ export const settings = {
libraryIndexFullResync: 'Vollständige Neusynchronisation',
libraryIndexDeltaSync: 'Delta-Synchronisation',
libraryIndexExcludeServer: 'Von Synchronisation ausschließen',
libraryIndexExcludingServer: 'Wird ausgeschlossen…',
libraryIndexExcludedTitle: 'Von Synchronisation ausgeschlossen',
libraryIndexIncludeServer: 'Wieder einschließen',
libraryIndexStatus: 'Status',
+1
View File
@@ -264,6 +264,7 @@ export const settings = {
libraryIndexFullResync: 'Full resync',
libraryIndexDeltaSync: 'Delta sync',
libraryIndexExcludeServer: 'Exclude from sync',
libraryIndexExcludingServer: 'Excluding…',
libraryIndexExcludedTitle: 'Excluded from sync',
libraryIndexIncludeServer: 'Include again',
libraryIndexStatus: 'Status',
+1
View File
@@ -259,6 +259,7 @@ export const settings = {
libraryIndexFullResync: 'Resincronización completa',
libraryIndexDeltaSync: 'Sincronización delta',
libraryIndexExcludeServer: 'Excluir de la sincronización',
libraryIndexExcludingServer: 'Excluyendo…',
libraryIndexExcludedTitle: 'Excluidos de la sincronización',
libraryIndexIncludeServer: 'Incluir de nuevo',
libraryIndexStatus: 'Estado',
+1
View File
@@ -257,6 +257,7 @@ export const settings = {
libraryIndexFullResync: 'Resynchronisation complète',
libraryIndexDeltaSync: 'Synchronisation delta',
libraryIndexExcludeServer: 'Exclure de la synchronisation',
libraryIndexExcludingServer: 'Exclusion…',
libraryIndexExcludedTitle: 'Exclus de la synchronisation',
libraryIndexIncludeServer: 'Réinclure',
libraryIndexStatus: 'État',
+1
View File
@@ -256,6 +256,7 @@ export const settings = {
libraryIndexFullResync: 'Full resynkronisering',
libraryIndexDeltaSync: 'Delta-synkronisering',
libraryIndexExcludeServer: 'Ekskluder fra synkronisering',
libraryIndexExcludingServer: 'Ekskluderer…',
libraryIndexExcludedTitle: 'Ekskludert fra synkronisering',
libraryIndexIncludeServer: 'Inkluder igjen',
libraryIndexStatus: 'Status',
+1
View File
@@ -257,6 +257,7 @@ export const settings = {
libraryIndexFullResync: 'Volledige resync',
libraryIndexDeltaSync: 'Delta-sync',
libraryIndexExcludeServer: 'Uitsluiten van synchronisatie',
libraryIndexExcludingServer: 'Uitsluiten…',
libraryIndexExcludedTitle: 'Uitgesloten van synchronisatie',
libraryIndexIncludeServer: 'Weer opnemen',
libraryIndexStatus: 'Status',
+1
View File
@@ -263,6 +263,7 @@ export const settings = {
libraryIndexFullResync: 'Resincronizare completă',
libraryIndexDeltaSync: 'Sincronizare delta',
libraryIndexExcludeServer: 'Exclude din sincronizare',
libraryIndexExcludingServer: 'Se exclude…',
libraryIndexExcludedTitle: 'Excluse din sincronizare',
libraryIndexIncludeServer: 'Include din nou',
libraryIndexStatus: 'Stare',
+1
View File
@@ -269,6 +269,7 @@ export const settings = {
libraryIndexFullResync: 'Полная пересинхронизация',
libraryIndexDeltaSync: 'Быстрая дельта',
libraryIndexExcludeServer: 'Исключить из синхронизации',
libraryIndexExcludingServer: 'Отключается…',
libraryIndexExcludedTitle: 'Исключены из синхронизации',
libraryIndexIncludeServer: 'Включить снова',
libraryIndexStatus: 'Статус',
+1
View File
@@ -256,6 +256,7 @@ export const settings = {
libraryIndexFullResync: '完全重新同步',
libraryIndexDeltaSync: '增量同步',
libraryIndexExcludeServer: '排除同步',
libraryIndexExcludingServer: '正在排除…',
libraryIndexExcludedTitle: '已排除同步',
libraryIndexIncludeServer: '重新纳入',
libraryIndexStatus: '状态',