Skip to content

ui: add links and descriptions for vote (#3399)#3417

Merged
KATO-Hiro merged 3 commits into
stagingfrom
#3399
Apr 15, 2026
Merged

ui: add links and descriptions for vote (#3399)#3417
KATO-Hiro merged 3 commits into
stagingfrom
#3399

Conversation

@KATO-Hiro

@KATO-Hiro KATO-Hiro commented Apr 15, 2026

Copy link
Copy Markdown
Collaborator

close #3399

Summary by CodeRabbit

リリースノート

  • 新機能
    • 投票機能を実装しました。ユーザーは問題の難易度に投票でき、コミュニティの投票によって難易度の評価と分類が改善され、問題集の作成・更新が加速します。新しい投票ページにアクセスできるようになりました。

@coderabbitai

coderabbitai Bot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

@KATO-Hiro has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 50 minutes and 37 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 50 minutes and 37 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: d9f06d59-15b4-4d55-974c-c6007efe7660

📥 Commits

Reviewing files that changed from the base of the PR and between 76cc52d and 9f90992.

📒 Files selected for processing (1)
  • src/routes/+page.svelte
📝 Walkthrough

Walkthrough

トップページに投票機能への導線を追加。ドキュメント、定数、ページコンポーネントを更新し、コミュニティが投票を通じて問題集を育てる機能を実装しました。

Changes

コホート / ファイル(s) 概要
ドキュメント・定数更新
README.md, src/lib/constants/product-info.ts
投票機能による問題集成長の説明を追加。コミュニティ投票が難易度評価・分類を加速させることを文書化。
ページ実装
src/routes/+page.svelte
投票セクション新規追加(見出し・説明テキスト・キャロセル・ボタン)、投票関連画像配列追加、重複するマークアップをスニペット化(featureWithTitlecarouselWrapper)して構造を最適化。ナビゲーションリンクに VOTES_PAGE を追加。

推定コード見直し時間

🎯 2 (Simple) | ⏱️ ~12 分

  • README・定数:文言追加のみ(Low)
  • ページコンポーネント:新セクション・スニペット追加で軽微な構造変更(Simple)

🗳️ コミュニティの声が集まり
問題集は生き生きと育つ
投票の力で、難易度も分類も
すくすくと加速する
みんなの知恵が花開く ✨

🚥 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 PRタイトルはトップページに投票ページへの導線を追加することを明確に述べており、変更内容と一致しています。
Linked Issues check ✅ Passed 変更内容がissue #3399の要件を完全に満たしており、UIに投票ページへの複数の導線(リンク、説明、セクション)を追加しています。
Out of Scope Changes check ✅ Passed README.md、constants/product-info.ts、routes/+page.svelteの全変更が投票機能の説明と導線追加に関連しており、スコープ内です。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch #3399

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@src/routes/`+page.svelte:
- Around line 126-129: Extract the hard-coded spreadsheet URL used in the
ExternalLinkWrapper into a named constant (e.g., SHEET_URL) in a shared
constants module (e.g., urls export), then import that constant into the
component and replace the inline string passed to ExternalLinkWrapper with the
constant; update any references to use the new constant name and ensure the
constant export is named and documented for reuse.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 05ed5292-8b0e-4131-bcbc-9309783b02e7

📥 Commits

Reviewing files that changed from the base of the PR and between 7c5c4a7 and 76cc52d.

⛔ Files ignored due to path filters (4)
  • static/contest_table.png is excluded by !**/*.png
  • static/vote.png is excluded by !**/*.png
  • static/vote_details.png is excluded by !**/*.png
  • static/vote_from_contest_table.png is excluded by !**/*.png
📒 Files selected for processing (3)
  • README.md
  • src/lib/constants/product-info.ts
  • src/routes/+page.svelte

Comment thread src/routes/+page.svelte Outdated

@KATO-Hiro KATO-Hiro left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@KATO-Hiro KATO-Hiro merged commit 18e3b32 into staging Apr 15, 2026
3 checks passed
@KATO-Hiro KATO-Hiro deleted the #3399 branch April 15, 2026 11:14
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.

[UI / UX] トップページに投票ページへの導線を追加しましょう

1 participant