traPtitech / traPtitech/anke-to
選択肢系の項目を変えると過去の選択肢の回答が混ざる
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 8
- Forks
- 4
- Avg merge
- 6d 14h
- Merged PRs (30d)
- 3
Description
resultでresponseテーブル中の回答をoptionsテーブルと紐付けずに取り出しているため、消された選択肢の回答が混ざってしまう。
良くないのでdeprecatedみたいなマークをつけるなり、過去タブに分けるなりして分けたい。
どちらにしろ、サーバー側でoptionsテーブルとJOINして紐付ける必要がある。
例)
2/16(月)という選択肢を2/16(火)という選択肢に変えたところ、↓のようになった
https://anke-to.trap.jp/results/797
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the server-side result handling that reads answers from the response and options tables. Check the result shown at https://anke-to.trap.jp/results/797 and trace how changed choices are returned. Done means answers for deleted choices are separated or marked as historical, with current choices linked through the options table.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend, database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100