Find History Plugin - extra folders

Open
#25 4 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
lua
Domain
tooling

Research direction

Start by locating the Find History plugin and tracing how it selects the Home folder for searching. Confirm how additional paths such as /mnt/us/koreader/zotero/storage/ and /mnt/us/pictures should be included while preserving existing Home-folder behavior, then verify those files appear in History.

Written by the indexing model from the issue text.

Description

@Hzj-jie

Thank you very much for this plugin!

It recently saved me a lot of time when I needed to recover after data wipe (Kindle update).

Can you please help me add other folders to search through besides Home folder?

The thing is, I use Zotero plugin. It saves downloaded PDF articles in /mnt/us/koreader/zotero/storage/ folder, whereas my Home folder for books is /mnt/us/books/. Another folder outside Home is /mnt/us/pictures - where I have helping pictures for books (maps, diagrams, etc - very useful to have them in History so I can go back via gesture).

As a workaround, for now I can temporarily set Home folder as /mnt/us/ just for the Find History plugin.
I can, of course, put pictures in Home folder too…

The problem is that when I use the plugin again, it leaves Zotero articles and Pictures behind.

Admittedly, I’d need to do this maybe only a few time more (after I find more books’ backups I lost last time), but I don’t want to loose these articles after each time.

Thank you!

Dominant language
Lua
Stars
467
Forks
98
Avg merge
20h 14m
Merged PRs (30d)
17

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from koreader/contrib

All issues in koreader/contrib

Similar issues

More Lua issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.