Helpers: Add hierarchy to the chooseFolder helper
@jgclark y travaille déjà.
Depuis le 11/4/2024.
Évaluation
Cette issue n'a pas encore été évaluée.
Description
We now use the chooseFolder helper in a lot of places. But one thing I find frustrating is that I am often filtering for something, like the word project. It shows me lots of choices for that term, and some of them are indented, and visually seem to be indented under items above them, but they actually may not be in that folder at all. So I sometimes move a note to a folder that is not actually the one I wanted.
In the above example, you would assume all these subfolders are inside the folder "Travel", but in fact, they are not!
On the other hand, something I really like about your getFolderListMinusExclusions() function is that it solves this issue by putting the whole path in the choice. So when you filter, you actually see the whole path to that folder on the line.
I would like to suggest/recommend that we change chooseFolder to use the format/output of getFolderListMinusExclusions() rather than making its own folder list with just icons/indents.
I guess we could make it another parameter for format, but I think the getFolderListMinusExclusions() approach is better and I would recommend we just change the chooseFolder helper to use it instead so all plugins that use it just get better.
- Langage dominant
- JavaScript
- Étoiles
- 204
- Forks
- 83
- Merge moyen
- 5 h 56 min
- PR mergées (30 j)
- 1
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de NotePlan/plugins
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
-
bug
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
-
Dashboard: Task "Comment"Ouverte
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
-
Tidy: Issue with plugin.jsonPeut-être à nouveau libre @jgclark l’a pris il y a 65 jours, et aucune pull request n’est ouverte. Ouvertebug
Toutes les issues de NotePlan/plugins
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
FuRongJun-1999/dsh-memory#56 ·
Les mainteneurs répondent en général sous 1 jour
-
Bug
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
pgadmin-org/pgadmin4#10503 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
521xueweihan/HelloGitHub#3856 ·
-
needs-ac
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Ikalus1988/MisakaNet#2845 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
neondatabase/website#6038 ·
Les mainteneurs répondent en général sous 1 jour