Page MenuHomePhabricator

Design: Determine Loading View for Revision Details Pop-up in WWT
Open, Needs TriagePublic

Description

As an engineer, I want to know the visual requirements for the revision details pop-up when the data is loading, so that I can implement a user-friendly pop-up.

Acceptance Criteria:
• Provide a mockup/visual example of the revision details when some of the data (i.e. edit summary) is still loading
• Provide a visual indicator of the loading state within the pop-up

Event Timeline

ifried created this task.Fri, Aug 23, 7:37 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFri, Aug 23, 7:37 PM
ifried renamed this task from Determine Loading View for Revision Details Pop-up in WWT to Design: Determine Loading View for Revision Details Pop-up in WWT.Fri, Aug 23, 7:44 PM

So, will we need both partial and full loading states? What all would have already loaded in the partial state?

ifried updated the task description. (Show Details)Mon, Aug 26, 6:09 PM
ifried updated the task description. (Show Details)Mon, Aug 26, 6:23 PM

Before being opened, the pop-up will already have access to: username, userId, revisionId, revisionTime, and score (authorship percentage of the page).

ifried updated the task description. (Show Details)Mon, Aug 26, 11:02 PM

I've updated the ticket. In short, there may be times when the data Sam listed ( username, userId, revisionId, revisionTime, and score) will be presented, but the edit summary may not immediately load. We'll want to give some visual indicator to the user, so they understand that more data will be generated soon.

If the edit summary is the only thing that we'll be waiting to load we could use a content placeholder with an animation, and then switch it out with the summary once we have it - https://codepen.io/prtksxna/pen/OJLmVXZ (data will load after 3 seconds)

@Prtksxna Thank you! I have updated the associated ticket: T231115. Let me know if it looks good to you or if you have any concerns.

ifried moved this task from Backlog to In progress on the Who-Wrote-That board.Tue, Sep 10, 8:38 PM