orgzly-revived / orgzly-android-revived

Outliner for taking notes and managing to-do lists
https://www.orgzlyrevived.com
GNU General Public License v3.0
678 stars 42 forks source link

Search for notebooks by title and file name #291

Open contrapunctus-1 opened 4 months ago

contrapunctus-1 commented 4 months ago

I have a lot of notebooks and I often have to manually scan through the notebook list to find them.

The notebook widgets help, but it's extra setup, and not everyone wants to clutter their homescreen(s) with additional icons and folders.

Currently, the search bar in the notebooks list searches for notebook headings. I'm sure that's useful for someone, but on that screen I almost always want to search for notebooks by their filename and Org title.

Please implement this in the notebook list searchbar. Maybe also allow users to easily switch between the notebook search and the content search, and remember the one they used last.

contrapunctus-1 commented 4 months ago

Just noticed that this was also requested in the original Orgzly repo and seems to be desirable to a number of users.

https://github.com/orgzly/orgzly-android/issues/780

jarofromel commented 2 months ago

I also consider this feature quite useful.

I see it as a subset of the searching inside the level zero (aka buffer level / file level). Many of my org-mode files have some information inside level zero and this information is not searched by orgzly.

#+title:     file title
#+filetags:  :tag1:tag2:

summary/introduction/description of the file content - on the level 0 - currently not searched by orgzly

* first heading on the level 1
text
* second heading on level 1
text

There are some quirks which need to clarified. There are three valid ways of properties/attributes/metadata declaration on the level zero and they are not equivalent to my knowledge Setting Properties for org-mode whole buffers

--------------------------------------1st
#+title:      file title
#+filetags: tag1:tag2

--------------------------------------2nd
:PROPERTIES:
:YEAR: 2015        
:END:

--------------------------------------3rd
#+PROPERTY:  YEAR 2015
alxleroux commented 1 week ago

I would love to see this implemented. I don't use orgzly at the moment for this reason.