papyrix-reader icon indicating copy to clipboard operation
papyrix-reader copied to clipboard

Folder of books read

Open sairris1996-arch opened this issue 4 months ago • 3 comments

The ability to move the book to the read folder after reading the book or on the page of read books instead of the Delete button is sorely missing.

That is, I suggest such an opportunity in the Recent section instead of the Delete button, to make the Readed button and when you click it, move this book to the folder with the books you have read.


Очень не хватает возможности переместить книгу в папку с прочитанными после прочтения книги или на странице читаемых книг вместо кнопки Удалить.

То есть, предлагаю такую возможность в разделе Recent вместо кнопки Delete, сделать кнопку Прочитано и при её нажатии, перемещать эту книгу в папку с прочитанными книгами.

sairris1996-arch avatar Jul 15 '26 05:07 sairris1996-arch

It will be very convenient to synchronize the books you read on your computer by simply copying them from the folder with your read books.

I suggest the following logic:

  1. If you have read the book to the end and are on the last page when you press the Next button, it suggests placing the book in the folder with read books and moving it when confirmed
  2. When we are in Recent and clicked the Read button, move the book to this folder, replacing the file, if it is there, and remove the book from Recent.
  3. When on a book we go to the folder with read books and click on the book in it, instead of opening it, we offer to restore the book and move it to the root of the disk or just open the book

Alternative:

Instead of deleting files (button in the menu), physically move them to the folder where the deleted files are located, that is, some kind of trash, like on a computer, otherwise you can accidentally delete a book and then not find it. Well, the ability to return from this folder instead of opening a book. You also don’t want to completely delete books from your device and then look for them on your computer. Maybe even replace the Delete button with Read.


Очень удобно будет синхронизировать прочитанные книги на компьютере, просто копируя их из папке с прочитанными.

Логику предлагаю следующую:

  1. Если дочитали книгу до конца и находимся на последней странице при нажатии кнопки Next, предлагает поместить книгу в папку с прочитанными книгами и при подтверждении перемещать
  2. Когда находимся в Recent и нажали кнопку Прочитано, перемещать книгу в эту папку с заменой файла, если он там есть и убирать книгу из Recent.
  3. Когда на книге переходим в папку с прочитанными книгами и нажали на книгу в ней, вместо открытия предлагать восстановить книгу и переместить в корень диска или просто открывать книгу

Альтернативный вариант:

Вместо действия удаления файлов (кнопка в меню), физически перемещать их в папку, где находятся удалённые файлы, то есть некую корзину, как на компьютере, а то можно случайно удалить книгу и потом её не найти. Ну и возможность вернуть из этой папки вместо открытия книги. Также не хочется полностью удалять книги с устройства, а потом их искать на компьютере. Может даже кнопку Delete заменить на Прочитано.

sairris1996-arch avatar Jul 15 '26 05:07 sairris1996-arch

FAT filesystem on SD card should technically support plenty of odd attributes, including "hidden", which might be easier to set/remove than renames, and kinda serves same function. And then to restore the file, one can probably set "show hidden files/dirs" in options, to have those shown with some prefix/suffix in the list again. This might also be useful to keep enabled if one wants to "mark as read" insead of hiding files.

Iirc "deleting" file on FAT is "replace first byte of name with 0x<something>", and setting attribute instead can be similar write to a different byte (and without updating runtime cluster bookkeeping).

One downside of doing it this way, is that "delete all hidden files" option might be needed for proper cleanup. (or a toggle between setting that attribute and replacing filename byte, to remove files individually, but imo that's way too laborious to do once you accumulated a lot of junk files, and probably easier to go unmark ones you want to keep and remove the rest in one go)

mk-fg avatar Jul 21 '26 21:07 mk-fg

@mk-fg Rescue bin added in 1.27.0

bigbag avatar Aug 06 '26 05:08 bigbag