Skip to content

Just installed and testing things out a bit (docker version)....I have a couple of suggestions #18

Description

@pjones112000

Overall, it's looking pretty good...but, I do have a couple of suggestions:

  1. When searching (particularly a large GMVault db folder), can a spinner or a message be displayed to indicate that the search is in progress? Initially I thought that it had come back with a result but that the results weren't making any sense before I realized that it was still searching.

  2. Navigation buttons...once an email is opened, the only way back is the back button but that can present a problem if it's being executed from an iFrame. Additionally, it would be nice to be able to go to next/previous message (either the full list or the found list of results) while viewing the emails. Also a button to print the email would be nice.

  3. Faster search...maybe a background process to build an index, perhaps even a command-line utility that can be executed after GMVault does its thing? I know you are currently using the Linux "find" and "xargs" commands for full-text searching, but, perhaps something like Xapien?

Again, what you've written is a serious step up from the default GMVault (essentially great at the archival bit but severely lacking at the post-archival functionality).

Thank you very much

Activity

  1. kbadk commented on Oct 3, 2024

    @kbadk
    Owner

    Hi there,

    Thanks for the suggestions.

    1. I've implemented a spinner to indicate when a search is in progress or a page is loading, (ce17da7) and a back button (283100e).

    2. The idea of adding "previous" and "next" message buttons is excellent. However, it’s a bit more complex to implement. Currently, when an email view page loads, it doesn’t have information about other emails or their positions in the list, which is pretty important when determining the previous or next message. It's definitely doable, but not something I'll put time into right now.

    3. I use this as a backup, in case I should ever lose access to my Gmail. In such a scenario, having to wait a little for emergency searching is acceptable to me. I had–6 years ago or so–built a prototype that used ElasticSearch, but it was far too memory hungry for this project for my taste.

      The current method of using find is definitely not a good solution, and I'm a little embarrassed about it. But it works. Even using ripgrep would probably speed up things a good deal.

      Xapian looks interesting and might be something I'll look into it. It doesn't seem to requirea full DBMS or a separate daemon, so it fits with the lightweight-ish nature of the application.

    Also, PRs are of course welcome. If you decide to take a stab at something (like Xapian or prev/next buttons), I'll be happy to take a look at it. You are also welcome to reach out to me beforehand if you'd prefer (my email is on my profile).

    Almost forgot: A new version has been auto-published with the changes on https://hub.docker.com/r/kbadk/gmvault-webreader.

  2. pjones112000 commented on Oct 3, 2024

    @pjones112000
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions