Giter VIP home page Giter VIP logo

Comments (6)

danirabbit avatar danirabbit commented on May 18, 2024 3

We should probably hook up to the scrollbox overshoot signal and do a pull-to-refresh

from mail.

cassidyjames avatar cassidyjames commented on May 18, 2024

Mail automatically frequently polls the server and shows a spinner (at the bottom-left of the window which is not the best place, but that's a different issue) when doing so. I don't believe adding a refresh button wouldn't actually make it poll any more often.

from mail.

kdekooter avatar kdekooter commented on May 18, 2024

If you hook up the refresh button to the code doing the actual polling it should work.

If retrieval of mail is dependent on polling (instead of server push like with IMAP-IDLE) the user should be able control the polling by being able to configure the frequency of polling and by being able to manually trigger this.

Besides all major email clients having this feature there is a genuine use case. For instance when you signed up for a website and are waiting for the confirmation email.

from mail.

cassidyjames avatar cassidyjames commented on May 18, 2024

Adding configurable polling options is a separate issue with its own design considerations.

@tintou how will this work in the EDS rewrite? Can we know whether the account is push or poll based, and if it's poll-based, add a refresh action somehow?

@elementary/ux thoughts? :)

from mail.

danirabbit avatar danirabbit commented on May 18, 2024

From a pure UX perspective, I like this mockup. It's very clear with the loading spinner and the toast afterwards that lets you know the operating was completed successfully:

The use of the accent color here is really nice to look at:

iOS Mail used to also show information about when the last update was like so:

from mail.

danirabbit avatar danirabbit commented on May 18, 2024

Gonna close this since we added a refresh button

from mail.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.