As a user, I want to view the information bar when I toggle on WhoWroteThat, so that I can view WWT instructions and data in a visually-appealing manner.
- Note #1: This work is dependent on T226761 for the final product, but it can be developed independently.
- Note #2: The data displayed in the blue bar will be presented in different tickets (T226746 and T226760). This ticket only focuses on the basic implementation of the blue bar.
Requirements:
- When WWT is activated, a blue information bar should appear at the top of the article.
- The information bar should be displayed below the links ("Read," "Edit," "View History," "Article," or "Talk") and above the article title.
- The information bar should not block any links on the page.
- The whitespace dimensions at the top of the article should remain the same.
- The information bar should be sticky.
- The information bar should be implemented in such a way that it can adapt to different states. For example, if there is an API error, the bar may change (e.g. a different color). However, the actual handling of error behavior will be covered in a separate ticket.
- Technical implementation: Create three states for the bar "widget": 'ready', 'pending', and 'error'; each state's display is available in the image below. The actual calling of those states will be implemented in another ticket, but the original 'bar widget' should be ready to display the three states.
Visual Examples:
Note: For the visual specifications, you may refer to the CSS provided in the Zeplin project link. You can click on a particular element to see detailed CSS info.

