fastruby / fastruby/ruby_or_rails

[Feature Request] Add an action to mark a puzzle as duplicate

オープン
#129 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Ruby
スター
5
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

We have some puzzles that are kinda duplicated (similar content but for the same method). These are from before "cloning" was a feature.

We have the filter to hide cloned puzzles but then some puzzles are similar to others but not hidden, and we can end up sharing really similar puzzles too close to each other.

It would be great to have an option to mark a puzzle as a duplicate of another puzzle, so we can filter them out too when looking for things to clone to avoid this.

The idea would be to have a new "duplicated" or "duplicated_puzzle_id" column and a way to mark a puzzle as a duplicate of another puzzle (I imagine the button in the UI opens a popup to input the id of the other puzzle), and then have a new filter to hide duplicated puzzles.

This should only be done on one of the puzzles when there's a duplication, so one does not get hidden when filtering things out.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start with the existing cloning filter and puzzle UI, then trace how puzzle attributes are stored and filtered. Define the duplicate column and the UI action or popup for entering another puzzle ID, and verify that filtering hides only the puzzle marked as duplicated while leaving its original visible.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
rails, ruby
領域
database, frontend, full-stack
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
55/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。