1. 22 Aug, 2019 1 commit
    • Denys Mishunov's avatar
      Always pre-select "Start a new merge request" · 371e1ed3
      Denys Mishunov authored
      One exception: there is an existing MR for the current branch and the
      branch is non-default and non-protected.
      
      Extended mock_data for ide/stores to have different types of branches:
      default, protected and regular
      
      Cleaned new MR checkbox view
      371e1ed3
  2. 12 Aug, 2019 1 commit
  3. 23 Jul, 2019 1 commit
  4. 19 Jul, 2019 2 commits
  5. 18 Jul, 2019 1 commit
    • Paul Slaughter's avatar
      FE remove create branch call in IDE commit · d4cc92db
      Paul Slaughter authored
      Previously `start_sha` was intercepted on the frontend to create the
      correct branch in a separate API call. Now that the commits API supports
      the `start_sha` parameter directly this workaround is not needed
      anymore.
      d4cc92db
  6. 05 Jul, 2019 1 commit
    • Denys Mishunov's avatar
      Initiate editor for any file without content · ff1a4a42
      Denys Mishunov authored
      Important to get file data for any file that has no content set yet: we
      need this information in order to build a previe for changed/staged
      files if they were not yet opened in the editor
      ff1a4a42
  7. 02 Jul, 2019 1 commit
    • Denys Mishunov's avatar
      Allow adding new entries to existing path · 5a7834e5
      Denys Mishunov authored
      If an entry has been removed from the tree and later, during the same
      session, a user is trying to add a new item with the same name/path we
      should allow for that as long as the original entry is marked with
      `deleted`.
      5a7834e5
  8. 26 Jun, 2019 1 commit
    • Denys Mishunov's avatar
      Re-name entries in one commit · f0fc5358
      Denys Mishunov authored
      Update window's URL after entry's re-name
      
      Set proper hook for correct fileLanguage
      
      Filtered out `moved` entries from the tree
      f0fc5358
  9. 25 Jun, 2019 1 commit
    • Denys Mishunov's avatar
      Keep empty folders in the tree list · 875cba9d
      Denys Mishunov authored
      When removing the last file from a folder in WebIDE, do not remove the
      folder from the view. We keep those to give users possibility to
      re-upload files to the same folders.
      
      Closes #60860
      875cba9d
  10. 21 Jun, 2019 1 commit
  11. 17 Jun, 2019 1 commit
  12. 07 Jun, 2019 1 commit
    • Paul Slaughter's avatar
      IDE trigger files change event · 1bafad51
      Paul Slaughter authored
      - On CMD+S when editor is focused
      - On editor blur
      - When file is created in tree
      - When file is removed in tree
      - When file is renamed in tree
      1bafad51
  13. 06 Jun, 2019 1 commit
    • Sam Bigelow's avatar
      Default MR checkbox to true in most cases · bf8ab124
      Sam Bigelow authored
      - Pull the new MR option out into it's own component
      - Default MR checkbox to true when creating a new MR and committing to a
        branch that does not have an MR
      - Still change the MR checkbox to false when a user is on a branch that
        already has an MR
      - Hide MR option when on a branch that already has an MR and committing
        to current branch
      - Don't default to true when committing directly to master
      bf8ab124
  14. 03 Jun, 2019 1 commit
  15. 29 May, 2019 1 commit
  16. 30 Apr, 2019 1 commit
  17. 25 Apr, 2019 1 commit
  18. 24 Apr, 2019 1 commit
  19. 23 Apr, 2019 1 commit
  20. 22 Apr, 2019 1 commit
  21. 17 Apr, 2019 1 commit
    • Denys Mishunov's avatar
      Stores 'binary' and 'rawPath' attr after upload · 166c3ea2
      Denys Mishunov authored
      - When uploading a file, we need to flag binary files correspondingly
      so that it gets propagated all the way to RepoEditor as it decides on
      whether to show editor for this or that file or not (shouldHideEditor())
      
      - rawPath needs to be propagate all the way to ContentViewer as well so
      that uploaded images could be rendered as a base64 image right away
      instead of raw base64 string
      166c3ea2
  22. 11 Apr, 2019 1 commit
  23. 05 Apr, 2019 1 commit
    • Paul Slaughter's avatar
      Fix IDE detecting MR from fork branch · 59ac0924
      Paul Slaughter authored
      **Why?**
      Currently the IDE loads a merge request based on only the
      `source_branch` name. This means it loads MR's from
      forks that have the same branch name (not good).
      
      - This required updating the BE API to accept `source_project_id`
      59ac0924
  24. 04 Apr, 2019 4 commits
    • Sam Bigelow's avatar
      Shortcut to create MR in web IDE · 2571856f
      Sam Bigelow authored
      Before the user had to choose between committing to a new branch,
      committing to a new branch AND creating an MR, or committing to the
      current branch regardless of whether or not it already has an MR.
      
      This commit separates the creation of an MR from whether or not they
      commit to an existing or new branch
      2571856f
    • Paul Slaughter's avatar
      Fix vue render error for IDE status bar · bd1122ee
      Paul Slaughter authored
      **What?**
      
      A Vue warning that `ide_status_bar` sent a `Boolean` to a `String`
      property (`img-src).
      
      **What was the fix?**
      
      Previously, `latestPipeline` could be one of the following values:
      
      |          |        |
      |----------|--------|
      | `null`   | The pipeline hasn't loaded yet |
      | `false`  | The pipeline has loaded, but nothing was returned. |
      | `Object` | The piepline has loaded. |
      
      Giving a semantic meaning to different falsey values hurts
      maintainability. This commit fixes the above problem by removing the
      `false` value and introducing a `hasLoadedPipeline` state property.
      bd1122ee
    • Denys Mishunov's avatar
      Set tree list accounting for already-opened files · 5e0423eb
      Denys Mishunov authored
      Since we can create files from URL now, this means that these files will
      not exist in the tree returned from API: they exist on the client
      only before the first commit. In order to still show the newly-created
      files in the tree, we should not override the tree, but merge the tree
      existing on the client and the one coming from API.
      
      Changelog entry
      
      Moved trees merging into mutation
      5e0423eb
    • Denys Mishunov's avatar
      f6a038b3
  25. 25 Mar, 2019 1 commit
  26. 07 Mar, 2019 1 commit
    • Paul Slaughter's avatar
      Improve files_decorator performance · c49d4a49
      Paul Slaughter authored
      **How?**
      Previously the files_decorator inserted parent folders inefficiently.
      It started at the first part and ensured each was inserted.
      
      Since the file entries are given to use in alphabetical order, we can
      start at the last part of the blob's parents. If this exists, we can
      short circuit and be done inserting parents.
      
      **What else?**
      - Improve performance of decorateData. The object spread operator is
      not needed because the object is brand new.
      c49d4a49
  27. 04 Mar, 2019 2 commits
    • Denys Mishunov's avatar
      Extended Web IDE API to get MRs for a certain branch in a project · a1b0b3e4
      Denys Mishunov authored
       New `Api.projectMergeRequests` allows:
       - to query for all MRs on a project without specifying `mergeRequestId`
       - to filter the returned MRs using parameters from
       https://bit.ly/2H7We4V
      
       The new API request is used for fetching information about MRs
       associated with a particular branch in Web IDE to have IdeSidebar
       behave consistently in both scenarios:
       - getting to a branch from and MR (where we already have info about
       relevant MR), or
       - getting to a branch somehow differently directly
      
      For cases where there are several merge requests that the current branch
      is associated with, mark the most recent one as 'current'
      
      Closes gitlab-org/gitlab-ce#49663
      a1b0b3e4
    • Natalia Tepluhina's avatar
      Fixed mutation for root · d9ba40aa
      Natalia Tepluhina authored
      - fixed test spec
      - added warning only if file is deleted
      d9ba40aa
  28. 04 Feb, 2019 1 commit
  29. 28 Nov, 2018 1 commit
  30. 21 Nov, 2018 2 commits
  31. 20 Nov, 2018 3 commits
  32. 15 Nov, 2018 1 commit