accumulator / Quickddit

Reddit client for Jolla's SailfishOS, Ubuntu Touch and Nokia N9
GNU General Public License v3.0
53 stars 21 forks source link

Some kind of a way to preserve a message when RATELIMIT hits #24

Closed szopin closed 7 years ago

szopin commented 8 years ago

Not sure what would be the best way to handle this, move back to comment view only after 'success' reply, or storing it temporarily, does not crash at least :)

accumulator commented 7 years ago

Using the dialog it is far from straightforward to fix this properly, and leads to a couple of nasty UI hacks to make it work & look good.

Instead I'm planning to move the new, reply and edit operations inside the comment tree. This makes it similar to the website, has the added advantage of having the context visible when replying, and even allows working on multiple replies at the same time or navigate deeper into the pagestack without losing the text.

The https://github.com/accumulator/Quickddit/tree/inline-edit branch has some work in this direction for those interested

accumulator commented 7 years ago

fixed with merge of inline-edit branch ff27f559f16c497fbf705efcb627fc14c90dd517

accumulator commented 7 years ago

Reopened, still not handling errors correctly for

  1. reply to private message
  2. edit post
accumulator commented 7 years ago

fixed reply to private message case in commit 48f169c592a15022e242723e81466c7e9d2e0ee2