Page MenuHomePhabricator

Show loading indicator for draft loading
Closed, ResolvedPublic1 Estimated Story Points

Description

While resuming the draft, there is no indication that the draft content is being fetched. The translation column is empty and suddenly it get filled with draft content. If there is network delay or error, this can cause the translator to think all their draft is 'lost'

Event Timeline

santhosh claimed this task.
santhosh raised the priority of this task from to Medium.
santhosh updated the task description. (Show Details)
santhosh subscribed.

This is what is being attempted

  • Restoring
    screenshot2.png (69×1 px, 4 KB)
  • Success:
    screenshot2.png (68×1 px, 4 KB)
  • Failed:
    screenshot2.png (71×1 px, 5 KB)

Change 243918 had a related patch set uploaded (by Santhosh):
Show progress, success, fail indication of draft restore

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

Refactored the save indicator logic a bit to accommodate this kind
of messages too. While doing that autosave failured are changed
from big yellow error to subtle error message.

As follow up tasks, we need to have a retry logic for save.
Also an eventlogging to measure how many draft restore failures
are happening

Change 243918 merged by jenkins-bot:
Show progress, success, fail indication of draft restore

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

Amire80 subscribed.

Verified.