Skip to content

お気に入り #486

Closed
Closed

Description

@zigzagdev

Goal

ログイン中のユーザーが世界遺産をお気に入り登録・解除でき、一覧で確認できるようにする。

Decision

  • ハートボタンは世界遺産一覧(カード)・詳細ページの両方に表示する。表示条件は「ログイン中かどうか」のみ(当初は詳細ページのみの予定だったが変更)
  • お気に入り一覧は新規/favoritesページに表示する。AppHeaderのnavに導線を追加する
  • /favoritesは未ログインではアクセスできないようにする(RequireAuth配下)
  • バックエンドAPI仕様: POST /api/v1/favorites(add)・GET /api/v1/favorites(一覧取得)は確定済み。DELETE(remove)は未確定
  • client/src/app/features/favorites/配下に、他機能と同様の構成(types / apis / hooks / containers / components)で追加する
  • add/get-single/get-plural/removeで機能ごとにbranch・Issueを分離する(APIがGET/POSTで分かれているため)

Sub-issues (再構成後)

add — #487

get-single(単体判定) — #497

get-plural(一覧) — #502

remove — #504

Implementation order

add → get-single → get-plural → remove(依存が薄いものから。addは実装着手済み)

Activity

  1. self-assigned this
    on Aug 16, 2026
  2. zigzagdev commented on Aug 18, 2026

    @zigzagdev
    OwnerAuthor

    add(#487)/get-single(#497)/get-plural(#502)/remove(#504)すべて完了。お気に入り機能の登録・単体判定・一覧取得・解除が一通り実装済み。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions