È strano… sei loggato? Inoltre, hai provato a scorrere lateralmente per vedere se appare la barra di scorrimento orizzontale?
In tal caso, mi chiedo se sia qualcosa che capita solo con gli account amministratore.
1 Mi Piace
pmusaraj
(Penar Musaraj)
28 Aprile 2026, 6:51pm
44
Non sono loggato; ho provato a scorrere da sinistra a destra.
Potrebbe essere qualcosa che accade con gli amministratori. Non riesco a riprodurlo con un utente normale in una finestra di emulazione mobile di Chrome.
In realtà: riesco a riprodurlo come amministratore sul nostro stesso blog.
2 Mi Piace
pmusaraj
(Penar Musaraj)
28 Aprile 2026, 7:04pm
45
Il problema della barra di scorrimento orizzontale dovrebbe essere risolto non appena questa modifica verrà applicata: UX: Ensure hidden upload field does not break layout by pmusaraj · Pull Request #39619 · discourse/discourse · GitHub
4 Mi Piace
Thiago_Mobilon:
L’attuale flusso è un po’ un ostacolo alla conversione: l’utente clicca su Accedi → si apre una nuova scheda → viene eseguito l’accesso → l’utente rimane sulla home page della community. Tornando al post del blog, l’iframe continua a mostrare lo stato non connesso finché l’utente non ricarica manualmente l’intera pagina. È un ciclo confuso che porta le persone a rinunciare e ad abbandonare prima di commentare.
Solo un rapido promemoria: sebbene questo flusso sia stato risolto per Google One Tap, si comporta ancora in questo modo quando si utilizza l’accesso nativo di Discourse.
1 Mi Piace
Falco
(Falco)
6 Maggio 2026, 3:08pm
48
Stiamo lavorando per migliorare quel flusso
main ← embed-full-app-signin-flow
drafted 04:08PM - 05 May 26 UTC
Previously, full app embeds loaded on a third-party domain could not see the for… um's session cookie, leaving users effectively logged out, and `showLogin` only opened a dead-end `/login` tab the iframe never reacted to.
This change adds an opt-in `embed_full_app_signin_flow` site setting that intercepts logged-out actions inside the iframe with a guided flow: an in-iframe modal opens a top-level sign-in tab that auto-closes via `postMessage` on success, and the iframe reloads to pick up the session cookie. On Safari, the flow first calls `requestStorageAccess()` to bypass ITP before opening the popup.
## Flow
1. User clicks an auth-gated action (Like, Reply CTA, etc.). `showLogin` / `showCreateAccount` (and the embed-topic-footer reply CTA) route into the new `embed-auth-flow` service.
2. **Safari only**: if `hasStorageAccess()` is false, an in-iframe modal asks the user to share their session. Confirming calls `requestStorageAccess()` (synchronously inside the click handler so user activation is preserved), persists the original intent, and reloads the iframe.
3. A sign-in modal opens a top-level `/login?embed_signin_callback=1` (or `/signup`) tab. A new `embed-signin-popup-callback` initializer detects a successful sign-in in that tab, posts a message to the opener, and closes the tab.
4. The iframe reloads on the explicit `postMessage` success signal so the user picks up their session. Plain popup close (user dismissed) tears down silently — no false "signed in" state.
## Setting
- `embed_full_app_signin_flow` (boolean, default `false`, in the `embedding` area). Off by default; the existing Safari-only on-load storage access prompt and the legacy `window.open("/login")` paths continue to run when the flag is off.
- Activating this requires the embed to be **same-site** to the host page (e.g. `forum.discourse.org` ↔ `meta.discourse.org`) **or** `same_site_cookies = "None"` for cross-site embeds. The browser's SameSite policy still applies to cookies after `requestStorageAccess()`, so cross-site Lax/Strict cookies cannot be delivered to the iframe.
## Implementation notes
- **User activation preserved.** The modal is rendered via `service:modal` with native `<button {{on "click" handler}}>` elements rather than `service:dialog` (which wraps actions in `next()` and breaks user activation), so `requestStorageAccess()` and `window.open()` see a live activation token.
- **Intent persisted across reload.** Sign-up vs. sign-in intent survives the storage-access reload via `sessionStorage`.
- **API-unsupported fallback.** On Safari without `document.requestStorageAccess`, the service opens a plain top-level login tab (no callback) instead of trapping the user in a popup that cannot bridge cookies.
- **Storage access denial is a dead-end on purpose.** The catch handler does not chain to a sign-in popup, since a sign-in tab cannot help an iframe that lacks storage access. The user retries the action to be re-prompted.
## Tests
`tests/unit/services/embed-auth-flow-test.js` covers the state machine: gating, the Safari/non-Safari split for Storage Access, post-reload handling (including signup-intent preservation), denial behaviour, popup URL routing, and the API-unsupported fallback.
È una modifica complessa, ma siamo fiduciosi di poter ottenere una migliore esperienza utente.
6 Mi Piace
Ho trovato un altro bug dell’interfaccia utente:
Quando faccio clic per modificare il mio post, appare uno spazio vuoto nella parte inferiore dell’iframe senza contenuto. Il modulo ‘standard’ rimane aperto, ma il mio commento non è al suo interno per la modifica. Inoltre, l’elemento che mostra il numero di post del thread si sposta a sinistra.
1 Mi Piace
Falco
(Falco)
7 Maggio 2026, 8:27pm
50
Sembra simile a un bug del compositore del Bot AI, giusto @keegan ?
1 Mi Piace
keegan
(Keegan George)
8 Maggio 2026, 8:29pm
52
Thiago_Mobilon:
Quando faccio clic per modificare il mio post, appare uno spazio vuoto nella parte inferiore dell’iframe senza contenuto. Il modulo ‘standard’ rimane aperto, ma il mio commento non è al suo interno per la modifica. Inoltre, l’elemento che mostra il numero di post del thread si sposta a sinistra.
Questo dovrebbe essere ora risolto con:
committed 06:11PM - 08 May 26 UTC
**Previously**, clicking "edit" on a post in embed mode or an AI bot PM
would op… en the standard floating composer.
**This change** adds inline edit support to both the embed-mode and AI
bot docked composers, intercepting the edit action via app events and
handling the PUT request directly, so users never leave the docked
composer flow.
----
Embed Mode:
<img width="670" height="401" alt="embed-mode"
src="https://github.com/user-attachments/assets/bd11afc6-b7f0-456d-b0be-ddb48fdd964e"
/>
AI Bot:
<img width="786" height="230" alt="ai-bot"
src="https://github.com/user-attachments/assets/7c63fa08-cb03-4a5a-9405-b0f204264d02"
/>
5 Mi Piace
Stavo appena dando un’occhiata alle statistiche e mi chiedo se tutto funzioni come previsto. Sto vedendo meno di 400 visualizzazioni giornaliere nella sezione ‘Visualizzazioni incorporate’.
Per fare un confronto, l’intera Community riceveva circa 8.000 visualizzazioni al giorno prima di passare all’integrazione completa dell’app, e quel numero è aumentato di oltre 5 volte da quando siamo andati online.
Non dovrebbe questa differenza essere riflessa nella sezione ‘Visualizzazioni incorporate’?
1 Mi Piace
Falco
(Falco)
15 Maggio 2026, 5:09pm
55
Thiago_Mobilon:
5. Attrito nel Login
Il flusso attuale è un vero ostacolo alla conversione: l’utente clicca su login → si apre una nuova scheda → avviene il login → l’utente si ritrova sulla homepage della community. Tornando al post del blog, l’iframe appare ancora come non autenticato finché l’utente non aggiorna manualmente l’intera pagina. È un circolo vizioso che porta le persone ad arrendersi e abbandonare prima di poter commentare.
Da quando abbiamo attivato il nuovo embed, le nostre registrazioni giornaliere sono più che raddoppiate , il che è ottimo. Tuttavia, le nostre metriche di engagement non sono cambiate affatto. Anzi, il rapporto DAU/MAU è sceso : abbiamo più utenti loggati, ma non interagiscono. Metriche come “Utenti Giornalieri Attivi”, “Nuovi Contributori” e “Pubblicazioni” non hanno registrato alcun aumento.
Ciò dimostra che le persone vogliono partecipare alla conversazione, ma si perdono nel loop di login e abbandonano il post prima di poter effettivamente commentare.
Questo problema è ora risolto; si prega di aggiornare per ottenere il nuovo flusso di login.
main ← embed-full-app-signin-flow
merged 04:07PM - 15 May 26 UTC
Previously, full app embeds loaded on a third-party domain could not see the for… um's session cookie, leaving users effectively logged out, and `showLogin` only opened a dead-end `/login` tab the iframe never reacted to.
This adds an `embed_full_app_signin_flow` site setting (on by default, gated to full app embed mode) that intercepts logged-out actions inside the iframe with a guided flow: bridge storage access if the iframe's cookie jar is partitioned, then either reload (if the user is already signed in elsewhere) or open a top-level sign-in tab and watch the session via polling.
## Flow
1. User clicks an auth-gated action (Reply CTA, Like, etc.). `showLogin` / `showCreateAccount` and the embed-topic-footer reply CTA route into the new `embed-auth-flow` service.
2. **If `document.hasStorageAccess()` is `false`** — Safari ITP, Firefox Total Cookie Protection, Chrome's 3p cookie phaseout — an in-iframe modal asks the user to share their session. Confirming calls `requestStorageAccess()` (synchronously inside the click handler so user activation is preserved).
3. Once we have access, the service probes `/session/current.json`. If the user is already signed in elsewhere (common Firefox ETP scenario), the iframe reloads to pick up the session — no popup.
4. Otherwise, a sign-in modal opens a top-level `/login?embed_signin_callback=1` (or `/signup`) tab and shows a waiting state with a spinner. The iframe polls `/session/current.json` every 3s for up to 5 min.
5. When polling sees a logged-in response, the iframe reloads. The popup self-closes once it has a session, driven by the `embed_signin_callback` query param + sessionStorage flag.
## Why polling instead of `postMessage`
The popup-side callback originally posted a success message back to the opener. Discourse's default `Cross-Origin-Opener-Policy` (`same-origin-allow-popups`) typically mismatches an embedding host's (`unsafe-none`), which severs `window.opener` on the popup's very first load — and any OAuth provider redirect amplifies this. Polling sidesteps the whole opener relationship and works regardless of COOP, OAuth, or the user opening the link in a new tab.
## Setting
- `embed_full_app_signin_flow` (boolean, default `true`, in the `embedding` area).
- The flow assumes the iframe can receive its cookies after popup sign-in — true when the embed is **same-site to the host page** (any SameSite setting) or when `same_site_cookies = "None"` is configured for cross-site embeds. We trust the admin to enable this only on a compatible deployment.
## Implementation notes
- **Browser-agnostic storage access.** `hasStorageAccess()` is the single signal — `true` on same-site/same-origin embeds (no prompt needed), `false` whenever the iframe's cookie jar is partitioned. No browser sniffing.
- **User activation preserved.** The modal uses native `<button {{on "click" handler}}>` rather than `service:dialog`, so `requestStorageAccess()` and `window.open()` see a live activation token in the click handler.
- **No reload after storage access.** `requestStorageAccess()` grants access for the current document; we chain directly into the next step in the same execution. Reloading would put the iframe back in partitioned mode in most browsers.
- **Popup self-close is param-driven, not opener-driven.** The callback initializer keys off `?embed_signin_callback=1` alone — `window.opener` is unreliable thanks to COOP.
- **API-unsupported fallback.** Without `document.requestStorageAccess`, the service opens a plain top-level login tab (no callback param) instead of trapping the user in a popup that cannot bridge cookies.
- **Storage access denial is a dead-end on purpose.** The catch handler does not chain to a sign-in popup, since a sign-in tab cannot help an iframe that lacks storage access. The user retries the action to be re-prompted.
- **Waiting modal.** While polling, the iframe shows a spinner and "Waiting for sign-in" message. Cancel stops the poll and closes the popup; the modal auto-dismisses on timeout.
## Tests
`tests/unit/services/embed-auth-flow-test.js` covers gating, the partitioned vs. non-partitioned split, the storage-access → sign-in chain, the already-signed-in → reload path, denial behaviour, popup URL routing, and the API-unsupported fallback.
4 Mi Piace
Penso che la nuova funzione delle risposte annidate potrebbe non essere compatibile con la modalità Embed.
Ho abilitato le risposte annidate in un argomento per provarle, e invece di caricare la sezione dei commenti, l’iframe ha finito per caricare il post all’interno del post.
1 Mi Piace