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

Abierto
#689 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
Medio día
Aptitud para principiantes
65/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
laravel, php
Área
backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
PHP
Estrellas
1
Forks
1
Merge medio
1 h 40 min
PR fusionados (30 d)
143

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de temecms/teme

Todos los issues de temecms/teme

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.