3 ms·
> A popup notification that runs without concern for what the user is doing is hostile behavior. Notice how there's no API in any OS for "is now a good time to
by goblin89 12y ago
> A popup notification that runs without concern for what the user is doing is hostile behavior. Notice how there's no API in any OS for "is now a good time to interrupt the user?". Maybe there should be.
This isn’t correct, actually. There is the Do Not Disturb mode in OS X that disables any non-essential notifications and alerts. It can be toggled manually for one day, or according to user-set daily start and end times.
Of course, even though the API exists, apps use it differently and somewhat inconsistently: for example, Apple’s native FaceTime will not distract you in DND mode, but Skype will if someone calls you.
Point being, there is an example of such API that tells any app that asks whether is now a good time to interrupt the user. (Not to argue that actually inferring what you do and avoiding distracting and stealing focus in the middle of typing, as in your example, would take it to another level.)