[Feature Request] - Pinned notes and marking notes visible to sub-directory

オープン
#1,321 コメント 10 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cpp
領域
desktop

調査の方向性

Start by locating the note-list and note context-menu entry points, then read how the app represents folders and sorts notes. The request covers pinning notes, showing parent notes in subdirectories, ordering those groups, and adding visibility toggles. Done means these behaviors work together as described; the issue names no files or tests to run.

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

説明

Importance: Low Type: Feature

I manage course work etc. with QOwnNotes and I often like to create subfolders to keep everything sorted. So I might have directory structure like

  • notes_root_dir/
    • TODO.md
    • course_root_dir/
      • Description.md
      • Schedule.md
      • Course Progress.md
      • week_1/
        • Assignment 1.md
        • Assignment 2.md
      • week_2/
        • Assignment 3.md
        • Assignment 4.md
    • another_course_root_dir/

I often find myself needing to make edits to TODO.md and Course Progress.md while mainly working on e.g. assignment 2.md.

It would be really helpful if I could right-click a note in the list and select something like pin this note that then displays the note at the top of any note list of any directory.

Also I'd love if I could right-click the note and select something like make note visible in sub-directories that does just that: e.g. setting it for Course Progress.md would show it e.g. when week_1/ is selected but not when another_course_root_dir/ is selected.

As for the note listing, here's a mockup I made

I used the bookmark symbol (🔖) to denote a pinned note, those should IMO be on top.

The notes that are located in a higher level directory and marked visible to subdirectories I denoted with the ↑ symbol and I'll refer to them as ↑-notes below. IMO those should be listed below pinned notes, but above notes of the sub directory.

As for the ordering of notes amidst the two groups

  • Pinned notes can be located anywhere, so they can only be sorted in alphabetical order or by time last edited. It's most likely enough if they obey the global setting for note sorting.

  • As for the ↑-notes, there could be additional setting group ↑-notes by directory level, that displays the notes so that ↑-notes of the parent directory are sorted just above the sub-directory notes, the ↑-notes of grand parent directory are sorted among themselves above the parent directory ↑-notes etc.

In addition to the unpin and don't display note in sub-directories buttons, general toggle settings Hide pinned notes and Hide notes marked to be visible in subdirectories would be helpful as one doesn't have to edit a dozen notes if they want to hide them when they want to focus on a task.

主要言語
C++
スター
5.9k
フォーク
499
平均マージ
4時間 4分
マージ済み PR(30日)
3

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pbek/QOwnNotes のほかの issue

pbek/QOwnNotes の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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