Skip to content

feat: 暗記学習で「面を回す」と「単語を移る」の操作を見分けられるようにする - #197

Merged
Tatsu723 merged 2 commits into
mainfrom
feat/flashcard-controls
Nov 26, 2026
Merged

Tatsu723 merged 2 commits into
mainfrom
feat/flashcard-controls

Conversation

@Tatsu723

@Tatsu723 Tatsu723 commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

概要

UI/UX改善計画書の C2。暗記カードの下に「◀ 左: 戻る | 右: 進む ▶」(面の切り替え)と「前へ/シャッフル/次へ」(単語の切り替え)が同じような矢印で並び、違いが分かりにくい状態でした。

#187(A2、fix/button-contrast)の上に積んでいます。同じボタンの地色を変えているためです。#187 をマージしたら base を main に変えてください。

変更

  • 面の切り替えは回転の印と、回した先の面の名前で「↺ 見出し語」「面を回す」「意味 ↻」にする。カードの左右に出るガイドも同じ印にそろえる
  • 単語の切り替えは「← 前の単語」「シャッフル」「次の単語 →」にする(共有リンクの暗記学習も同じ)
  • 2面のカードの案内を「タップで裏返す」にする

確認

  • lint / typecheck / unit(527件)通過
  • E2E(暗記学習)通過

🤖 Generated with Claude Code

Summary by CodeRabbit

  • User Interface
    • Updated multi-face card guides to use circular rotation symbols and show the face names reached by the previous and next controls. Japanese accessible labels now match the controls.
    • Clarified study deck navigation labels to identify previous and next words, and updated card-flip prompts to refer to tapping.
    • Applied clearer navigation and flip wording to shared study decks, including directional arrows on the previous- and next-word controls.

暗記カードの下に「◀ 左: 戻る | 右: 進む ▶」(面の切り替え)と「前へ/シャッフル/次へ」
(単語の切り替え)の2系統の操作が同じような矢印で並び、違いが分かりにくかった。

- 面の切り替えは回転の印と回した先の面の名前で「↺ 見出し語」「面を回す」「意味 ↻」にする。
  カードの左右に出るガイドも同じ印にする
- 単語の切り替えは「← 前の単語」「シャッフル」「次の単語 →」にする(共有リンクの暗記学習も)
- 2面のカードの案内を「タップで裏返す」にする

UI/UX改善計画書 C2

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 50.35% 1716 / 3408
🔵 Statements 49.89% 1930 / 3868
🔵 Functions 38.27% 377 / 985
🔵 Branches 37.43% 889 / 2375
File CoverageNo changed files found.
Generated in workflow #101 for commit 74ebc8f by the Vitest Coverage Report Action

Base automatically changed from fix/button-contrast to main November 26, 2026 00:00
@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Changes: Flashcard navigation

Layer / File(s) Summary
Face-rotation controls
app/components/my-notebooks/MultiElement.tsx
Hover guides use rotation symbols. The controls show adjacent face labels and accessible names, while retaining their rotationStep handlers.
Word-navigation labels and test
app/components/my-notebooks/StudyDeck.tsx, app/routes/share.$notebookId.study/PublicStudyDeck.tsx, e2e/flashcard.spec.ts
Study deck prompts refer to tapping, and navigation labels specify previous or next word. The end-to-end test uses destination-face button names; its displayed-face assertions remain unchanged.

Suggested reviewers: tknkaa, amy-mor

Change: Other

Merge Risk: Minimal · up to 74ebc

This PR makes flashcard controls clearer by distinguishing face rotation from word navigation, and it changes no behavior. No merge-blocking risk was found.

Security architecture risk: Minimal · up to 6f59c

The update makes face rotation easier to distinguish from moving between words. The controls still perform the same actions, and sharing and saved progress are unchanged.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ec791fc1-e02b-4d94-bef6-ef7b4b6a8d3a
Commits

Reviewing files that changed from the base of the PR and between 6f59c7f and 74ebc8f.

Files selected for processing: 3

  • app/components/my-notebooks/MultiElement.tsx
  • app/components/my-notebooks/StudyDeck.tsx
  • app/routes/share.$notebookId.study/PublicStudyDeck.tsx
Files skipped from review as they are similar to previous changes: 3

  • app/components/my-notebooks/MultiElement.tsx
  • app/components/my-notebooks/StudyDeck.tsx
  • app/routes/share.$notebookId.study/PublicStudyDeck.tsx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.

# Conflicts:
#	app/components/my-notebooks/MultiElement.tsx
#	app/components/my-notebooks/StudyDeck.tsx
#	app/routes/share.$notebookId.study/PublicStudyDeck.tsx
@Tatsu723
Tatsu723 merged commit d4afde2 into main Nov 26, 2026
9 checks passed
@Tatsu723
Tatsu723 deleted the feat/flashcard-controls branch November 26, 2026 00:07
@deploy-coolify-utcode-net

Copy link
Copy Markdown

The preview deployment for kotorism:main failed. 🔴

Open Build Logs | Open Application Logs

Last updated at: 2026-11-26 00:07:36 CET

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