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

Open
#689 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
65/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
laravel, php
Domain
backend

Research direction

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.

Written by the indexing model from the issue text.

Description

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

Dominant language
PHP
Stars
1
Forks
1
Avg merge
1h 40m
Merged PRs (30d)
143

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from temecms/teme

All issues in temecms/teme

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.