[frontend]評価履歴一覧を総合スコアの順にソートできるようにする

Open
#209 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
76/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
html

Research direction

Start in frontend/src/app/(with-header)/evaluations and inspect the history-list component's existing client-side sorting and filtering. Update the S-16 design document's section 3 table, then run the frontend test and lint commands from the issue. Done means both score sort directions work without an API call, incomplete rows have a defined placement, and the documentation matches.

Written by the indexing model from the issue text.

Description

種別: 実装

種別: 実装 — コードを書き、「検証方法」で検証してから PR を出す。

目的

評価履歴一覧(S-16)で、総合評価の良かった順・悪かった順に並び替えられるようにする。

完了条件

  • 並び順の選択肢に「総合評価が良い順」「総合評価が悪い順」を追加する(既存の「新しい順」「古い順」に追加する形)
  • 選択した並び順で一覧をクライアント側で並び替える。API は呼び直さない(既存の並び替え・絞り込みの方針を踏襲する)
  • 評価が未完了(processing / failed で総合スコアを持たない)行の並び順の扱いを決めて実装する(推奨: 末尾に固定する)
  • S-16 履歴一覧 3章の並び順の表を更新する

やらないこと

  • 項目別スコアの表示形式の変更(別Issueで扱う)
  • 絞り込み機能(対象企業での絞り込み)の変更

触る範囲

  • frontend/src/app/(with-header)/evaluations 配下の履歴一覧の画面コンポーネント
  • documents/frontend/01_design/screens/S-16_履歴一覧.md

検証方法

cd frontend
docker compose run --rm web npm run test
docker compose run --rm web npm run lint

前提・依存

  • 依存Issue: なし
  • 適用ADR: なし

未決事項

  • 事前決定(任意): processing / failed で総合スコアがない行を、良い順・悪い順のソート時にどこへ配置するか。推奨案は「常に末尾に固定する」

参考

  • S-16 履歴一覧 3章・5.1章 — 現行の並び順と、評価未完了行の扱い
Dominant language
HTML
Stars
1
Forks
0
Avg merge
1h 19m
Merged PRs (30d)
76

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from study-basic-hackathon/hanasu

All issues in study-basic-hackathon/hanasu

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.