Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Only show progress messages if the computation takes > 0.1s #392

Merged
merged 2 commits into from
Feb 4, 2020

Conversation

ndmitchell
Copy link
Collaborator

At the moment it flickers a progress bar a lot, which is annoying. I first tried 0.3s but that made it almost never show, which felt wrong. 0.1 seems to have reasonable ergonomics.

@ocharles
Copy link
Contributor

Theres a rule of thumb in UI that sub 100ms stuff is snappy enough to not need feedback, 100-1000 is noticeable and beyond 1000 is basically "come back later". So 0.1s seems about right here!

Copy link
Collaborator

@cocreature cocreature left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs rebasing but apart from that I’m happy to merge this 👍 Thank you!

@ndmitchell
Copy link
Collaborator Author

Thanks. Rebased.

@cocreature cocreature merged commit 3d60ddc into haskell:master Feb 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants