chandevel / Clover

Clover - imageboard browser for Android (moved from Floens/Clover)
https://chandevel.github.io/Clover/
GNU General Public License v3.0
784 stars 261 forks source link

Request: Retain 404'd threads #172

Open nepflux opened 8 years ago

nepflux commented 8 years ago

As of now, when a thread 404's it's no longer browsable. These threads should still be re-visitable, and at the bottom where it usually says Loading or Archived, it should say 404 in those cases and display whatever is cached (all text replies, whatever images were loaded, etc.)

The X in the bookmarked threads list that marks deleted / 404 should remain as the sole indicator.

floens commented 8 years ago

Well, Post models are actually not saved in the db. Threads do stay in memory as long as the app is running, removed threads actually show "404" in the status bar. It's not an easy task to add saving posts to the database because it adds some overhead and a lot of refactoring will be needed to achieve it. That said, I will keep this issue open for further thoughts and ideas. Like we could just hack it and save the json to a file.

Z-WolF commented 7 years ago

A solution could be the the option of "Download Thread" similar to "Download Album" but instead of only download images, also it creates (or downloads from the 4chan API) the most recent JSON for said thread in the same folder. That way, the app, can have a "Archived/Downloaded Threads" section where it just simply scans the folder looking for the .json files inside thread folders.

patch-imp commented 6 years ago

Another app named Overchan uses Dollscript to save threads. Overchan: https://github.com/miku-nyan/Overchan-Android Dollscript: https://github.com/SthephanShinkufag/Dollchan-Extension-Tools/blob/master/README.markdown