Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Add sort by priority button inside each column 🔃

Đang mở
#264 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

@sidd51 đang làm issue này rồi.

Từ ngày 15/8/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

good first issue

Add sort by priority button inside each column 🔃

File: client/src/components/Board/Column.jsx

Tasks inside a column have no sorting!
High priority tasks get buried under low ones 💀

Fix: add sort toggle in column header:
const [sorted, setSorted] = useState(false)

const displayTasks = sorted
? [...tasks].sort((a, b) => {
const order = { high: 0, medium: 1, low: 2 }
return order[a.priority] - order[b.priority]
})
: tasks

<button onClick={() => setSorted(v => !v)}
className="text-[10px] text-[#555]
hover:text-purple-400 transition">
{sorted ? '🔃 sorted' : '🔃 sort'}

~10 lines! No backend needed 🎯

Ngôn ngữ chính
JavaScript
Star
39
Fork
105
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
27

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của anoopcodehack/DevBoard

Tất cả issue của anoopcodehack/DevBoard

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.