Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !33866

Add dynamic, live alerts example to docs

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Mark Otto requested to merge live-alerts into main May 07, 2021
  • Overview 7
  • Commits 3
  • Pipelines 0
  • Changes 3

Spiking out an option for #31330 (closed) to add some live examples of alerts (toasts are already there). Ideally we could include more JS folks could copy-pasta to use in their own environments, so hoping to get some help cleaning up the additions in application.js because right now it's not the best and doesn't scale beyond this one demo.

/cc @patrickhlauke as issue author /cc @planetoftheweb since he mentioned better snippets in our docs

Preview:

  • https://deploy-preview-33866--twbs-bootstrap.netlify.app/docs/5.0/components/alerts/#live-example
  • https://deploy-preview-33866--twbs-bootstrap.netlify.app/docs/5.0/components/toasts/#live-example

Fixes #31330 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: live-alerts