1. 23 Sep, 2019 9 commits
    • Ezekiel Kigbo's avatar
      Added currentGroupPath getter for groupLabels request · 3def42f5
      Ezekiel Kigbo authored
      The group path is needed to fetch group
      labels, previously this was passed from the
      backend, but with the new vuex store, we can
      retrieve this from state.
      3def42f5
    • Ezekiel Kigbo's avatar
      Fix namespaced translation · 3e99ee37
      Ezekiel Kigbo authored
      Remove extra mock data
      
      Removed some extra mock data we do not
      need and added a note to migrate mocks
      to fixture specs.
      3e99ee37
    • Ezekiel Kigbo's avatar
      Check full_path exists not id · db5a6bbc
      Ezekiel Kigbo authored
      Add events to custom_stage_form_container data
      
      Remove extra class
      
      Fix spec for eventToOption
      
      Fix static analysis warnings
      
      Specify required prop
      
      Remove test events data
      db5a6bbc
    • Ezekiel Kigbo's avatar
      Moved group labels request to ~/api · 013f80f1
      Ezekiel Kigbo authored
      Added loading icon to custom stage form container
      
      Minor cleanup test createComponent call
      
      Check label fields if they are required
      
      Set the field key when calling handleClearLabel
      
      Minor cleanup to resolve differences after rebase
      013f80f1
    • Ezekiel Kigbo's avatar
      Display warning if start event changed · 53e98a67
      Ezekiel Kigbo authored
      Address review comments
      
      Remove unused `value` attribute
      
      Moved functions to utils
      
      Moved reuseable functions to a utils file
      adding specs for each function.
      
      Camelcase fields in mock data
      
      Fix unused createComponent call in spec
      53e98a67
    • Ezekiel Kigbo's avatar
      Added specs for the prepopulated form · 38b713c3
      Ezekiel Kigbo authored
      Added isDirty check to the form
      
      Added specs for cancel button
      
      Updated gitlab.pot file
      
      Minor cleanup and update gitlab.pot
      38b713c3
    • Ezekiel Kigbo's avatar
      Added label selector · ff8bc953
      Ezekiel Kigbo authored
      Bootstrap group_labels for the project
      
      Moved to new analytics ee dir
      
      Added container to provide label data
      
      Update the selected label
      
      Render custom button text when label is selected
      
      Ensure label width stays within its container
      
      Added tests for the labels_selector component
      
      Replace GlLabel with a span tag
      
      Fix css classes, fix event handlers
      
      Finished specs for start/stop label events
      ff8bc953
    • Ezekiel Kigbo's avatar
      Added custom stage form · a6e0d598
      Ezekiel Kigbo authored
      Minor cleanup form ui
      
      Load form on trigger
      
      Added Additional translations
      
      Minor rename form and boolean flag
      
      Fixed field labels and descriptions
      
      Scaffold form tests
      
      Basic tests for default states
      
      Added test data from new endpoint
      
      Filter start events from events array
      
      Added tests for dropdown behaviour
      
      Start events will have can_be_start_event=true,
      stop events can only be set after a start event,
      the stop events displayed depends on the start
      event selected.
      
      Added test for custom_stage_form submission
      
      Minor refactor test helpers
      a6e0d598
    • Ezekiel Kigbo's avatar
      Added add stage button · 26d75904
      Ezekiel Kigbo authored
      Added new button to launch the new
      stage form for customisable cycle
      analytics.
      
      Move add stage button to vue component
      
      Toggle active state of the add stage button
      
      Added customisable_cycle_analytics_form feature flag
      
      Added basic test for add stage button
      
      Move css to bootstrap classes
      
      Removes scss styling that can be applied
      via bootstrap classes and adds the relevant
      classes to html elements
      
      Update gitlab.pot file
      
      Move to ee dir
      
      Move all the add stage button
      code to the relevant ee directory
      
      Added feature tests for add stage button
      
      Moved add stage functionality to ee mixin
      
      Created addStageMixin for the add stage
      functionality needed in EE. Added a stub
      mixin to the CE dir.
      
      Additional tests for addStageForm classes
      
      Moved to analytics dir
      
      Moved the add stage button
      code to the relevant ee/analytics
      directory where it will live
      26d75904
  2. 22 Sep, 2019 10 commits
  3. 21 Sep, 2019 2 commits
  4. 20 Sep, 2019 19 commits