Skip to content

feat: long-press back button on MainMenu to delete a book with confirmation#32

Closed
illiaboyko wants to merge 2 commits into
CidVonHighwind:mainfrom
illiaboyko:feature/long-press-delete
Closed

feat: long-press back button on MainMenu to delete a book with confirmation#32
illiaboyko wants to merge 2 commits into
CidVonHighwind:mainfrom
illiaboyko:feature/long-press-delete

Conversation

@illiaboyko

@illiaboyko illiaboyko commented Jun 1, 2026

Copy link
Copy Markdown

This is a small feature borrowed from crosspoint; it lets you long-press a book title for 800ms to enter a deletion dialogue. The "Microreader" header turns into "Delete?" and book title turns into "Back=No Sel=Yes " instructions. If confirmed it deletes both EPUB and MRB from library.
As someone who reads a lot of articles on the device I found it quite handy, hope it works for more people.

@CidVonHighwind

Copy link
Copy Markdown
Owner

I dont have anything agains that feature but I am not sure how to integrate it in a sensible way. Here are the problems I have with the current implementation:

  • books now open on button release, feels worse (small problem)
  • the opening button can lead you to accidentally deleting the book you wanted to read
  • the ui is pretty strange I would say
  • reindexing on delete shouldnt be needed, it should just be possible to remove the one entry without the need to rescan everything.
grafik grafik

@illiaboyko

Copy link
Copy Markdown
Author

fair enough!
will take a look at it over the weekend :)

@pablohc

pablohc commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Thank you very much for this idea, @illiaboyko. Based on this need, I've implemented it in my fork https://github.com/pablohc/microreader/tree/feat/delete-file

@illiaboyko

Copy link
Copy Markdown
Author

ah, lovely job @pablohc, thanks a lot!

i'm not a developer at all, but if you or any contributors/maintainers ever get around to wifi implementation, i would be happy to help with the web ui if needed
all the best!

@illiaboyko illiaboyko closed this Jun 3, 2026
@pablohc

pablohc commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

@illiaboyko improvement submitted to upstream: #41

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants