nextcloud / mail

💌 Mail app for Nextcloud
https://apps.nextcloud.com/apps/mail
GNU Affero General Public License v3.0
833 stars 258 forks source link

»Retry« button on error views #314

Open jancborchardt opened 7 years ago

jancborchardt commented 7 years ago

All the error views »Couldn’t load message« or »Couldn’t load folder« should have a »Retry« button below. :)

@ChristophWurst let me know which JS it should trigger and I can try to put it in. :)

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/42308338-retry-button-on-error-views?utm_campaign=plugin&utm_content=tracker%2F44154351&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F44154351&utm_medium=issues&utm_source=github).
ChristophWurst commented 7 years ago

Yeah well there isn't one JS we have to trigger. It really depends on the action.

jancborchardt commented 7 years ago

Ok, I can do a dummy button for one or a few views and open a PR. :)

jancborchardt commented 7 years ago

See starting PR in https://github.com/nextcloud/mail/pull/323 :)

ChristophWurst commented 7 years ago

Started to slowly introduce this enhancement with https://github.com/nextcloud/mail/pull/298/files#diff-5296e1b4af7f07b162127ad05d28b52a. The error view now can trigger a retry event if specified. We just have to make use of it.