Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • frontend frontend
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 25
    • Issues 25
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CP - Planta
  • frontendfrontend
  • Merge requests
  • !40

Merged
Created Nov 29, 2024 by Augusto Ely Missiaggia@augusto.missiaggiaDeveloper

US08 T1 - Ajustes Visuais - Alertas, Popups & Modais

  • Overview 0
  • Commits 1
  • Pipelines 2
  • Changes 1

Updated imports: Replaced the DefaultModal component with Toast, removing the old modal and adding the new import.

Added useEffect: Introduced an effect to automatically close the toast after 3 seconds when the isSuccessModalOpen state is true.

Modified JSX return:

Removed the DefaultModal component with the fixed message. Added the Toast component displaying the message "Added successfully," conditionally rendered based on the isSuccessModalOpen state.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: us08-t1-ajustes-visuais-alertas-popups-e-moais