Show a revision label on preview sites so reviewers can tell which update they're seeing
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript, wordpress
- Ambito
- full-stack
Direzione di ricerca
Start from the Publish popover's "Last updated" text in Studio and the preview record fields versionId, syncedAt and sequence that the issue names, then trace where the preview's banner or admin bar is rendered. The payload names no files, so locate those by searching for these fields. Done means a shared preview shows the same revision number and timestamp that the Publish popover shows, and the label updates after a partial publish.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What
Show a revision label on a preview site, such as "Revision 4 · Updated Nov 25, 14:32", so anyone viewing the preview can tell which update they are looking at.
Why
After a preview is updated, a reviewer can't tell whether the page they're viewing is the new build or the old one. The publish checklist makes partial updates easy to test: for example, update only Themes and compare the same page before and after. If the page looks the same, the reviewer can't tell whether the update didn't apply, they're seeing a cached copy, or the change has no visible effect.
Studio shows "Last updated …" in the Publish popover, but only to the person publishing. Someone opening the shared preview link sees nothing.
It would also help with reports like a preview showing a design from weeks ago (STU-2727): the label would show at a glance whether the preview holds the latest update.
How
Studio already records which version each preview holds (versionId, syncedAt and sequence in the preview's record). The label would show the update count and time on the preview itself, for example in the preview banner or admin bar that WordPress.com shows, and match what Studio shows next to the preview.
- Lingua principale
- TypeScript
- Stelle
- 568
- Fork
- 116
- Merge medio
- 11h 54m
- PR unite (30g)
- 526
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Automattic/studio
-
Enhancement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
Automattic/studio#3017 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
Automattic/studio#6280 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Automattic/studio#6269 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
Automattic/studio#6254 ·
I maintainer di solito rispondono entro 1 giorno
-
Open preview tabs side by sideForse già presa Una pull request collegata a questa issue è aperta o già unita. ApertaEnhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Automattic/studio#6239 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Automattic/studio
Issue simili
-
Media browser returns "Not found" for repositories using the SHA-256 object formatForse già presa @adamchodera l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Follow-ups from #312Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
janhesters/remixcn#318 ·
I maintainer di solito rispondono entro 1 giorno
-
Interceptor LaunchTestProfile.sh: no Windows (Git Bash/MSYS) branch, test profile never launchesAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
danielmiessler/LifeOS#3150 ·
I maintainer di solito rispondono entro 5 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Make the "%" unit spacing the same in the web and in A10Forse già presa @kragent66-glitch l’ha presa oggi. Apertabug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
maiychrus25/OpenTea-DX-OS#226 · 1 commento ·