Skip to content

perf(web): simplify public page hero copy - #5339

Merged
t0ng7u merged 1 commit into
mainfrom
perf/compact-display
Jun 6, 2026
Merged

perf(web): simplify public page hero copy#5339
t0ng7u merged 1 commit into
mainfrom
perf/compact-display

Conversation

@QuentinHsu

@QuentinHsu QuentinHsu commented Jun 6, 2026

Copy link
Copy Markdown
Collaborator

⚠️ 提交说明 / PR Notice

Important

  • 请提供人工撰写的简洁摘要,避免直接粘贴未经整理的 AI 输出。

📝 变更描述 / Description

(简述:做了什么?为什么这样改能生效?请基于你对代码逻辑的理解来写,避免粘贴未经整理的内容)

概述

  • 简化公开的模型定价页和排行榜页顶部标题区域。

改动说明

  • 移除 /pricing hero 中的 “Models Directory” 辅助小字。
  • 移除 /rankings hero 中的 “Leaderboards” 辅助小字。

效果

  • 减少页面顶部重复文案,让主标题更突出。

🚀 变更类型 / Type of change

  • 🐛 Bug 修复 (Bug fix) - 请关联对应 Issue,避免将设计取舍、理解偏差或预期不一致直接归类为 bug
  • ✨ 新功能 (New feature) - 重大特性建议先通过 Issue 沟通
  • ⚡ 性能优化 / 重构 (Refactor)
  • 📝 文档更新 (Documentation)

🔗 关联任务 / Related Issue

  • Closes # (如有)

✅ 提交前检查项 / Checklist

  • 人工确认: 我已亲自整理并撰写此描述,没有直接粘贴未经处理的 AI 输出。
  • 非重复提交: 我已搜索现有的 IssuesPRs,确认不是重复提交。
  • Bug fix 说明: 若此 PR 标记为 Bug fix,我已提交或关联对应 Issue,且不会将设计取舍、预期不一致或理解偏差直接归类为 bug。
  • 变更理解: 我已理解这些更改的工作原理及可能影响。
  • 范围聚焦: 本 PR 未包含任何与当前任务无关的代码改动。
  • 本地验证: 已在本地运行并通过测试或手动验证,维护者可以据此复核结果。
  • 安全合规: 代码中无敏感凭据,且符合项目代码规范。

📸 运行证明 / Proof of Work

(请在此粘贴截图、关键日志或测试报告,以证明变更生效)

Summary by CodeRabbit

Release Notes

  • Style
    • Removed the "Models Directory" label from the Pricing page header
    • Removed the "Leaderboards" label from the Rankings hero section

@coderabbitai

coderabbitai Bot commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

Ready to act? Review this PR in Change Stack to turn feedback into patch suggestions you can inspect and refine.

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 9d094ace-7204-4882-8709-ad990e19e111

📥 Commits

Reviewing files that changed from the base of the PR and between adc390c and f5753a2.

📒 Files selected for processing (2)
  • web/default/src/features/pricing/index.tsx
  • web/default/src/features/rankings/components/rankings-hero.tsx
💤 Files with no reviewable changes (2)
  • web/default/src/features/rankings/components/rankings-hero.tsx
  • web/default/src/features/pricing/index.tsx

Walkthrough

This PR removes two small uppercase header label paragraphs from separate pages: the "Models Directory" label above the Pricing page title and the "Leaderboards" label above the Rankings component title. Both changes are purely DOM deletions with no logic alterations.

Changes

Header Label Cleanup

Layer / File(s) Summary
Remove header label paragraphs
web/default/src/features/pricing/index.tsx, web/default/src/features/rankings/components/rankings-hero.tsx
Removed small uppercase paragraphs displaying "Models Directory" from Pricing header (lines 176–177) and "Leaderboards" from RankingsHero header (lines 45–46), so both headers now proceed directly to their main titles.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Suggested reviewers

  • seefs001

Poem

🐰 Small labels hop away today,
Headers cleaner, streamlined display,
Pricing and Rankings both stand tall,
Titles bold without the squall. ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'perf(web): simplify public page hero copy' accurately describes the main change: removing redundant small labels from hero sections on public pages to simplify the copy.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch perf/compact-display

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@t0ng7u
t0ng7u merged commit a1c8284 into main Jun 6, 2026
2 checks passed
@Calcium-Ion
Calcium-Ion deleted the perf/compact-display branch June 13, 2026 08:34
OuYang-HX pushed a commit to OuYang-HX/new-api that referenced this pull request Jun 13, 2026
Merge pull request QuantumNous#5339 from QuantumNous/perf/compact-display
zhaodechao2008 pushed a commit to zhaodechao2008/new-api that referenced this pull request Jul 27, 2026
Merge pull request QuantumNous#5339 from QuantumNous/perf/compact-display
330079598 pushed a commit to 330079598/new-api that referenced this pull request Aug 19, 2026
Merge pull request QuantumNous#5339 from QuantumNous/perf/compact-display
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants