fastruby / fastruby/ruby_or_rails
[Feature Request] Add an action to mark a puzzle as duplicate
- Ngôn ngữ chính
- Ruby
- Star
- 5
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- rails, ruby
- Lĩnh vực
- database, frontend, full-stack
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 55/100