When users click to download a report or to update the data (by clicking the Update button), the ensuing processes may take several minutes—or fail entirely. Unfortunately, we can't tell users how long the process will take. But we will give them clear indicators of what is going on, so that they don't need to wonder—or, worse, keep clicking.
=Requirements & functionality
- **An 'Working' indicator **that the process is ongoing and not stalled. This must include
- Some type of continuing motion/animation, to clearly show that activity is ongoing.
- A message to say what's happening.
- **An error message** in the event that the process times out, which happens after 900 seconds. This must include:
- A message explaining the problem and suggesting strategies to get around it.
- A link to "Report this issue," [[ https://meta.wikimedia.org/wiki/Talk:Community_Tech/Tools_for_program_and_event_organizers | linking to the Event Metrics talk page ]].
- **When the process is complete:**
- The 'Working' indicator stops moving and the message disappears
- The page updates with a new time stamp in the "last updated" line. !![@Mooeypoo, we need to talk about how updating is going to work: specifically, does downloading a report update the on-screen metrics?]!!
=Text of messages
===[For the 'Working' indicator]
**Metrics updating...**
This might take a while. Please leave this tab open.
===[For the timed-out error message]
**This process took too long and was stopped **
Please use the Settings page to reduce the event time period, wikis included, number of participants or categories. Also [[ https://meta.wikimedia.org/wiki/Talk:Community_Tech/Tools_for_program_and_event_organizers | please report this issue]].
=Designs
|'**Working' indicator** | **Timed-out message** |
| !!to come from @Prtksxna !! | !!to come!! |