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

オープン
#689 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
65/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
laravel, php
領域
backend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
PHP
スター
1
フォーク
1
平均マージ
1時間 40分
マージ済み PR(30日)
143

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

temecms/teme のほかの issue

temecms/teme の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。