Import: say when the site's chosen front page comes out empty

Aperta
#689 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
65/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
laravel, php
Ambito
backend

Direzione di ricerca

Start from the import code that writes the report and sets the imported static page as the front page, and follow how each block type on that page is converted or skipped so you can collect the names of the block types that were dropped. Then find where the address check computes its "ready to switch" state and add the empty-front-page case to it. Done looks like: the report opens with the one-line warning naming the page title and the skipped blocks, and the readiness check stops reporting ready when that happens. The issue does not name the detection rule for "blocks Teme can't bring", so confirm it against the importer's existing block mapping before writing the message.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area/import type/enhancement when/soon

What

When the old site's front page is a static page whose content was all blocks Teme can't bring (post lists from a page builder, sliders, a theme's own sections), the import sets that page as Teme's front page, and the site's home shows only the page's title. Nothing in the report or on the dashboard points at it.

Expected

  • The report says it in one line, at the top: "The front page, {title}, came across empty: what it showed was made by {blocks} that Teme can't bring. Choose to show your latest posts on the home page in Settings › Reading, or add content to {title}."
  • The address check's "ready to switch" counts it as something to look at.

🤖 Generated with Claude Code

Lingua principale
PHP
Stelle
1
Fork
1
Merge medio
1h 40m
PR unite (30g)
143

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di temecms/teme

Tutte le issue di temecms/teme

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.