fastruby / fastruby/ruby_or_rails

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

未关闭
#129 0 条评论 0 个 reaction 已指派 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.

贡献指南

这个仓库没有索引到贡献指南

调研方向

先从现有的克隆过滤器和谜题 UI 开始,然后追踪谜题属性的存储和过滤方式。定义重复项列以及用于输入另一个谜题 ID 的 UI 操作或弹窗,并验证过滤时只隐藏标记为重复项的谜题,同时保留其原始谜题可见。

由索引模型根据 Issue 内容生成。

评估

技术栈
rails, ruby
领域
database, frontend, full-stack
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。