Feature Request: sort by matches in search results

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
30/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
cpp
Lĩnh vực
desktop

Hướng nghiên cứu

Start by reading the “Settings/Interface/Panels” option for showing match counts, then trace how search results are listed and sorted. The issue does not name files or tests, so locate those entry points in the project before estimating the change. Done means search results can be sorted by match count, with alphabetical or date sorting as a tie-breaker; clarify whether this should apply only during searches.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Importance: Low Type: Feature

In "Settings/Interface/Panels", there is an option to "Show the number of matches in each note".
It is certainly a useful feature, especially when searching for common key-words, and most of the time common keywords means that the result list is big.

I guess it's not that easy as it seems,
same widget listing all notes not using a database (a good thing, I am pro-portability),
but if it is possible,
it would be nice to have the ability to sort notes by matches as a first(?) parameter, always "on" or just in search results(?). Sort "Alphabetical" and "By date" will work as a second parameter for the "same number of matches" notes.

Sorry, not a QT dev, Just a thought ...

Ngôn ngữ chính
C++
Star
5.9k
Fork
499
Merge trung bình
4 giờ 4 phút
Pull request đã merge (30 ngày)
3

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

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

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 pbek/QOwnNotes

Tất cả issue của pbek/QOwnNotes

Issue tương tự

Thêm issue về C++

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.