Page MenuHomePhabricator

Add Baby Globe inactivity (dreaming) interaction
Closed, ResolvedPublic

Description

When the user is inactive for some amount of time - Baby Globe should play a "transition to dreaming" animation, then loop the dreaming animation of Baby Globe.

When the user becomes active again - Baby Globe should play a "transition from dreaming" animation, then loop the respective idle animation.

On Minerva Baby Globe should be woken up only when in view. In order to not use MutationObserver for this - scroll tracking will be used and the "wake up" call will happen only if the user scrolls to the top of the page.

What will be considered user activity:

  • Mouse movement
  • Mouse click
  • Scroll

Event Timeline

Change #1238702 had a related patch set uploaded (by ATitkov; author: ATitkov):

[mediawiki/extensions/WP25EasterEggs@master] Implement sleep interaction for companions

https://gerrit.wikimedia.org/r/1238702

After a discussion on slack it was decided to move forward with the following functionality

  • If I tab away from baby globe we start a timer.
  • If I return to baby globe 5 minutes or later I see baby globe sleeping on the page.
  • If I interact with baby globe he wakes up (e.g. I hover my mouse over him or click him)
  • Mouse movement and scrolling shouldn't effect baby globe.

Change #1238702 merged by jenkins-bot:

[mediawiki/extensions/WP25EasterEggs@master] Implement sleep interaction for companions

https://gerrit.wikimedia.org/r/1238702

Bugreporter subscribed.

Extension will be gone.

A_smart_kitten changed the task status from Declined to Resolved.Apr 12 2026, 11:59 AM
A_smart_kitten subscribed.

(Adjusting status to 'resolved' -- as a patch to the extension was merged for this task, I’m assuming that this may have already been resolved prior to the extension being disabled)