Skip to content

fix(web/default): clarify pagination button labels in ModelCardGrid#4675

Open
ellisfan wants to merge 1 commit into
QuantumNous:mainfrom
ellisfan:fix/web-language-errors
Open

fix(web/default): clarify pagination button labels in ModelCardGrid#4675
ellisfan wants to merge 1 commit into
QuantumNous:mainfrom
ellisfan:fix/web-language-errors

Conversation

@ellisfan
Copy link
Copy Markdown

@ellisfan ellisfan commented May 7, 2026

Change 'Previous' to 'Previous page' and 'Next' to 'Next page' for improved clarity in the ModelCardGrid component.

⚠️ 提交说明 / PR Notice

Important

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

📝 变更描述 / Description

The pagination buttons in ModelCardGrid previously used abbreviated labels "Previous" and "Next". This change expands them to "Previous page" and "Next page" to eliminate ambiguity. The original labels could be mistaken for generic navigation controls; adding "page" explicitly signals that these buttons navigate through paginated content, improving UX clarity.

🚀 变更类型 / Type of change

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

🔗 关联任务 / Related Issue

  • N/A

✅ 提交前检查项 / Checklist

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

📸 运行证明 / Proof of Work

ScreenShot_2026-05-07_125807_327

Summary by CodeRabbit

  • Localization
    • Updated pagination control labels in the pricing model card grid to use more descriptive translation keys for improved user clarity.

Change 'Previous' to 'Previous page' and 'Next' to 'Next page'
for improved clarity in the ModelCardGrid component.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 7, 2026

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: fe47e108-6d09-41a0-9a0b-66194287219a

📥 Commits

Reviewing files that changed from the base of the PR and between a7475a1 and 2344c09.

📒 Files selected for processing (1)
  • web/default/src/features/pricing/components/model-card-grid.tsx

Walkthrough

Pagination button labels in the ModelCardGrid component were updated to use more specific i18n translation keys: Previous page and Next page replacing Previous and Next respectively.

Changes

Pagination i18n Keys

Layer / File(s) Summary
i18n Translation Updates
web/default/src/features/pricing/components/model-card-grid.tsx
Pagination button labels updated from generic Previous/Next keys to more descriptive Previous page/Next page translation keys.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A hop through the pages, so neat!
Old labels gave way to the sweet,
"Previous page," "Next page" now say,
Translations more clear every day!
~Bunny

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'fix(web/default): clarify pagination button labels in ModelCardGrid' directly and accurately summarizes the main change—updating pagination button labels from 'Previous'/'Next' to 'Previous page'/'Next page' for clarity.
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 unit tests (beta)
  • Create PR with unit tests

Warning

Review ran into problems

🔥 Problems

Git: Failed to clone repository. Please run the @coderabbitai full review command to re-trigger a full review. If the issue persists, set path_filters to include or exclude specific files.

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


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.

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.

1 participant