Let accounts be set inactive without signing them out

An inactive account keeps its credential and syncs like a rename, but
drops out of every picker and cannot be used until activated again.
Deactivating the selected account switches to the local context as a
published choice, so other devices follow instead of falling back.
This commit is contained in:
Arkadiusz Fal
2026-09-19 23:58:24 +02:00
parent 01ff78aaa6
commit 794b2b0181
10 changed files with 160 additions and 7 deletions

View File

@@ -139,6 +139,17 @@
},
"1.2M subscribers" : {
},
"accounts.activate" : {
"comment" : "Action putting an inactive account back in use",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Activate"
}
}
}
},
"accounts.addAccount" : {
"localizations" : {
@@ -194,6 +205,17 @@
}
}
},
"accounts.deactivate" : {
"comment" : "Action setting an account inactive without signing it out",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Deactivate"
}
}
}
},
"accounts.empty.description" : {
"localizations" : {
"en" : {
@@ -439,6 +461,17 @@
}
}
},
"accounts.status.inactive" : {
"comment" : "Status of an account the user set to inactive",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Inactive"
}
}
}
},
"accounts.status.instanceDisabled" : {
"comment" : "Status of an account whose source has been switched off",
"localizations" : {
@@ -18159,6 +18192,17 @@
}
}
},
"subscriptions.banner.accountInactive" : {
"comment" : "Banner shown while the selected account cannot be used yet",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "This account is set to inactive. Showing local data."
}
}
}
},
"subscriptions.banner.checking" : {
"comment" : "Banner shown while the selected account cannot be used yet",
"localizations" : {