stevencohn / OneMore

A OneNote add-in with simple, yet powerful and useful features
Mozilla Public License 2.0
2.42k stars 202 forks source link

Hastag search in all notebooks I have access to. #1449

Open jasonjac2 opened 3 days ago

jasonjac2 commented 3 days ago

Problem to Solve

I couldn't work out why my hashtags weren't showing up in my search till I opened the OneMore.DB.

It looks like it only scans My notebooks (personal or Work) and not ones shared with me.

It is really important that it scans all ones I have access to (as in opened on this PC) OR at least gives me the option. 5 of us own our own notebooks, but share them and I started using hashtags as reviewer comments etc #TODO_JAC:2407:JAC:02/07/2024 Great page.

When users action them they coment and change them to #Done_JAC. So we have a workflow of someone creates todo's and someone clears them once all actioned.

I thought it was a bug, but it looks like it is by design. Can it be changed?

jasonjac2 commented 3 days ago

Also for clarity, does the hastag_notebook table hold all notebooks scanned or only ones where there is 1 or more hit? I would actually be interested in a build of OM that logged all notebooks, section and pages to a) check performance and b) give me a really cheap / poor mans inventory of pages.

stevencohn commented 2 days ago

Hi Jason. Were the shared notebooks added to your open collection after the initial hashtag scan? The scanner does not implicitly include new notebooks that you've added because of the new scheduling feature that tries to defer load on the system until off-hours. So you can schedule a scan (or immediately) to include these new notebooks.

If the notebooks have always been open in your instance of OneNote, then yes, it may be something that needs investigating.

jasonjac2 commented 1 day ago
jasonjac2 commented 1 day ago
jasonjac2 commented 1 day ago

Just for clarity. There is the initial scan after install of OneMore, then does it do a full scan every so often or from then on it is every few minutes, but it will only check pages that have been modified since the last scan?

What are the rules on which notebooks get scanned on the incremental scan?