Collegamento: senza il nome dell'account il pannello dice «Collegato», non «Collegato come @»
Subito dopo «Ho finito» la sessione c'è ma nessun giro ha ancora letto il nome dell'account: il pannello mostrava «Collegato come @» con il nome vuoto. Ora dice «Collegato» e sotto «Nome non ancora noto», come il riquadro di stato. Visto provando a mano Febe per Windows contro il sito di prova; la prova d'interfaccia nuova gira dove c'è Chromium. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f48b6abac4
commit
f09ce4f2d5
3 files changed
+21
-2
No files matched your search
@@ -220,9 +220,12 @@ export async function mountConnection(page) {
|
||||
function drawConnected() {
|
||||
waitingResume = false;
|
||||
closeView();
|
||||
// Before the first round the name of the account is not known yet: «Collegato» and «Nome non ancora noto», never «@».
|
||||
const nome = status.username || '';
|
||||
const sotto = nome ? status.displayName : t('stato.accountDaLeggere');
|
||||
fill(left, h('div.pannello.collegato',
|
||||
h('div.chi-collegato', avatar(status.username || '', 'g'),
|
||||
h('div', h('h2', t('impostazioni.collegamento.collegatoCome', { nome: status.username || '' })), status.displayName ? h('span.muto', status.displayName) : null)),
|
||||
h('div.chi-collegato', avatar(nome, 'g'),
|
||||
h('div', h('h2', nome ? t('impostazioni.collegamento.collegatoCome', { nome }) : t('stato.collegato')), sotto ? h('span.muto', sotto) : null)),
|
||||
h('p', t('impostazioni.collegamento.collegatoTesto')),
|
||||
h('div.azioni-collegato',
|
||||
h('button.btn', { type: 'button', onclick: useBrowser }, icon('app-window', 's'), t('impostazioni.collegamento.usaBrowser')),
|
||||
|
||||
Reference in new issue
Block a user