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

Abierto
#1,321 10 comentarios 1 reacción 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
cpp
Área
desktop

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
C++
Estrellas
5.9k
Forks
499
Merge medio
4 h 4 min
PR fusionados (30 d)
3

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de pbek/QOwnNotes

Todos los issues de pbek/QOwnNotes

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.