[Feature] Add side-by-side comparison for multiple URLs

未关闭
#341 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
30/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
react, typescript
领域
frontend

调研方向

The issue does not identify files, tests, or entry points. Start by reading the existing metadata analysis and platform-preview flows to understand what a comparison would need to reuse. Done means users can compare multiple URLs side by side, see metadata and score differences, and export results as JSON or a shareable report.

由索引模型根据 Issue 内容生成。

描述

enhancement

Problem

I’m frustrated when I need to compare metadata between two versions of a page, such as staging and production. Currently, I must open separate tabs and manually compare titles, descriptions, images, Open Graph tags, Twitter tags, and platform previews.

Proposed Solution

Add a comparison mode that allows users to enter two or more URLs and view their metadata side by side.

The comparison should:

  • Display titles, descriptions, Open Graph tags, Twitter tags, canonical URLs, and images.
  • Show platform previews next to each other.
  • Highlight differences and missing metadata.
  • Compare analyzer scores and grades.
  • Indicate which URL has better or missing metadata.
  • Allow the comparison results to be exported as JSON or a shareable report.

Alternatives Considered

Opening multiple browser tabs and comparing values manually is time-consuming and makes small differences easy to miss.

Using external comparison tools would require copying metadata manually and would not provide the same platform-specific previews or analyzer results. An integrated comparison view would keep the entire workflow inside OGCOPS.

Additional Context

This feature would be useful for:

  • Comparing staging and production pages.
  • Checking metadata before and after a redesign.
  • Comparing old and new versions of a page.
  • Auditing several pages for SEO and social-preview consistency.

A split-screen layout with matching fields aligned in rows would make differences easy to identify.

主要语言
TypeScript
星标
8
派生
4
平均合并
8 小时 44 分钟
30 天内合并 PR
158

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

codercops/ogcops 的其他 Issue

查看 codercops/ogcops 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。