Codeminer42/cm42-central

View on GitHub
app/models/welcome_tour.rb

Summary

Maintainability
A
0 mins
Test Coverage
class WelcomeTour
  STEPS = [
    {
      title: 'welcome_tour.create_story.title',
      text: 'welcome_tour.create_story.text',
      attachTo: '[data-step="add-story"] bottom'
    },
    {
      title: 'welcome_tour.chilly_bin.title',
      text: 'welcome_tour.chilly_bin.text',
      attachTo: '[data-step="chilly-bin"] bottom'
    },
    {
      title: 'welcome_tour.backlog.title',
      text: 'welcome_tour.backlog.text',
      attachTo: '[data-step="backlog"] bottom'
    },
    {
      title: 'welcome_tour.in_progress.title',
      text: 'welcome_tour.in_progress.text',
      attachTo: '[data-step="in-progress"] bottom'
    },
    {
      title: 'welcome_tour.done.title',
      text: 'welcome_tour.done.text',
      attachTo: '[data-step="done"] bottom'
    },
    {
      title: 'welcome_tour.project_velocity.title',
      text: 'welcome_tour.project_velocity.text',
      attachTo: '[data-step="velocity"] bottom'
    },
    {
      title: 'welcome_tour.members.title',
      text: 'welcome_tour.members.text',
      attachTo: '[data-step="members"] bottom'
    }
  ].freeze
end