1. 07 May, 2021 2 commits
    • Andrew Fontaine's avatar
      Display File-Based Alerts on the WebIDE · 4cf8a898
      Andrew Fontaine authored
      Provides a way to display alerts attached to files within the WebIDE.
      
      The first alert shows guidance to users who are editing their CI
      configuration about environments, if we are reasonably certain they
      don't know about environments.
      
      We need to request the parsed CI configuration while the user edits it,
      and accomplish this by watching the content. This watcher is
      conditionally created and destroyed when the config file is active.
      4cf8a898
    • Andrew Fontaine's avatar
      Add Store Configuration for Environment Guidance · 78375ddc
      Andrew Fontaine authored
      The getAlert function searches through all available alerts (added
      previously), returning the first alert where its show function returns
      true, or null if none is found.
      
      Actions to fetch the CI configuration for its given current
      content (when it is being edited), as well as to dismiss the callout for
      environment guidance are added here.
      
      We parse the CI configuration during the mutation to only retain whether
      or not we have:
      
      - sucessfully parsed the CI config, and
      - found an environment within the config.
      78375ddc
  2. 06 May, 2021 38 commits