Page MenuHomePhabricator

Create Message component
Closed, ResolvedPublic5 Estimated Story Points

Description

As a DS designer and developer, I want to implement a message component in the system, because it is needed for the Query Builder hike in order to communicate the system status to users.

ACs

  • The message component is implemented according to the Figma specs. They are defined using system tokens
  • The message component-level tokens are created according to the naming convention used to style the component
  • The message component is shown in Storybook according to the specification in the specs States

Typologies:

  • Notice
  • Error
  • Warning
  • Success

Notes:

  • A Vue version of this component was already implemented during the Bridge hike. How much is that implementation reusable as a base for the system component?

Worth looking into, but it probably could take more time trying to adjust it (component-level tokens should still have to be created, etc.)

  • We can only anticipate the use of the notice and error message typologies in the context of the Query builder. Whether we should still implement the other two typologies (Warning, Success)is up for discussion.

Initial response: Adding all typologies doesn't look like a lot of work. Tentatively, we could agree to create all the typologies.

  • Is the message component using the box component?

Postponed decision: we could extract the box component later

Assets:

  • Icon: check (Success message)

  • Icon: info filled (Notice message)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Sarai-WMDE renamed this task from Create Feedback Message component to Create Message component.Oct 12 2020, 9:51 AM

TODO:

  • define responsive behavior
  • add icon assets