alleyinteractive / alleyinteractive/wp-seo
Add mobile/desktop toggle to the search engine preview modal
- 主要言語
- PHP
- スター
- 45
- フォーク
- 13
- 平均マージ
- 12日 16時間
- マージ済み PR(30日)
- 5
説明
### Description
The search engine live preview shipped in #137 (`components/open-graph/PreviewModal.tsx` → `SearchPreview.tsx`) renders a single, generic result-snippet layout. Issue #161's MVP requirements call for the preview to support both mobile and desktop views, since search result snippet truncation and layout differ between the two.
### Use Case
Editors want to see how a page will actually appear in search results on both mobile and desktop before publishing, since title/description truncation lengths differ meaningfully between the two surfaces.
### Proposed Solution
Add a toggle (e.g. tabs similar to the existing Search/Social tabs) to `SearchPreview.tsx` that switches between a mobile-style and desktop-style rendering of the snippet, using the appropriate truncation lengths/layout for each.
### Related
- #161 (parent MVP tracking issue)
- #137 (original search/social preview implementation)
コントリビューションガイド
評価
この issue はまだ評価されていません。