## Background
Define and implement the Toast component to Codex.
### Description
A short and temporary pop-up notification, meant to be noticed without interrupting the user experience.
### User stories
- As a user, I need Toast notifications to provide quick, temporary feedback about my actions without disrupting my workflow.
### History
Various projects are already using a Toast component, a message that pops in and is displayed temporarily:
- WikiLambda (see [[ https://github.com/wikimedia/mediawiki-extensions-WikiLambda/blob/b7fe214e8b5ecc5904227219da0163f3d2b9294a/resources/ext.wikilambda.edit/components/base/Toast.vue | code ]])
- MachineVision (see [[ https://github.com/wikimedia/mediawiki-extensions-MachineVision/blob/master/resources/components/base/ToastNotification.vue | code ]] and [[ https://phabricator.wikimedia.org/T233234 | this task ]] that includes a design artifact)
- Mobile
The WikiLambda component looks like the [[ https://doc.wikimedia.org/codex/main/components/message.html | Message ]] component, while the MachineVision and mobile versions simply have a black background with white text.
##### Other use cases
| {F57791841} | Wkifunctions |
| {F57791866} | Minerva |
| {F57791855} | Edit Check |
### Known use cases
//Describe known use cases for this component, including the project, team, and timeline//
### Existing implementations
These artifacts are listed for historical context. The figma spec, linked below, is the source of truth for the new component.
**Wikimedia community:**
- **Design style guide:** //add [[ https://design.wikimedia.org/style-guide/index.html | Design Style Guide ]] link, if applicable//
- **OOUI:** //add the relevant OOUI widget name(s) here, if applicable. See [[ https://doc.wikimedia.org/oojs-ui/master/demos/?page=widgets&theme=wikimediaui&direction=ltr&platform=desktop | OOUI demos ]].//
- **Vue:** //add any existing Vue implementations, if applicable. See [[ https://www.mediawiki.org/wiki/Vue.js#Projects_using_Vue.js | Projects using Vue.js ]].//
**External libraries:**
- //Add links to any examples from external libraries//
---
### Component Drivers
Designer: @OTichonova / @bmartinezcalvo
Engineer: @AnneT
### Open questions
- //List any current open questions here//
### Design spec
| [[ https://www.figma.com/design/O0obdtdcaMwL3G2GPwVDtN/Toast-component---T303612?node-id=0-1&t=Wa65npateiUytWBg-1 | Component spec sheet ]] |
### Guidelines
| [[ https://docs.google.com/document/d/1qiF1kZ86TB9wVObmlju0cPwXN8-rFq9xntlY46ZCh-g/edit?tab=t.0 | Doc with guidelines ]] |
#### Anatomy
//Designer should list the structure and properties of the component.//
#### Style
//Designer should list the visual features of the component.//
#### Interaction
//Designer should list interaction specifications.//
#### Documentation
//Designer should describe how the component should be documented, including configurable and standalone demos.//
### To do
[] Link to WikiLambda designs
[] Figure out where the toast lives in MobileFrontEnd (or possibly MinervaNeue?) code
[] Determine whether we want to add this component to the design system. If so...
[x] Name the component (It will be finally named "Toast" for simplification)
[] Build out this task with process details and acceptance criteria for design, implementation, and QA