1. 08 7月, 2021 1 次提交
  2. 29 6月, 2021 1 次提交
  3. 24 6月, 2021 2 次提交
  4. 22 6月, 2021 1 次提交
  5. 25 5月, 2021 1 次提交
    • T
      refactor: get startSha from API · b6dc0785
      Tomas Vik 提交于
      When we create new diff threads, the API requires us to submit all three
      values (start/base/head SHA) so even though we don't need startSha
      internally, we have to parse it from the response.
      b6dc0785
  6. 20 5月, 2021 2 次提交
    • T
      refactor: improve testability of WrappedRepository · e53e8981
      Tomas Vik 提交于
      This commit changes the way WrappedRepository exposes the
      GitLabNewService. We used getter which was very hard to mock in tests.
      Instead, we now use regular function (getGitLabService()) which is
      easily replaced in tests.
      
      Additionally, this commit creates a helper function for creating
      WrappedRepository, because it is going to be used in many tests in the
      future.
      e53e8981
    • T
      refactor: expose repository in the TreeView items · 8afdf918
      Tomas Vik 提交于
      This commit replaces the GitLabRepository(GitLabWorkspace) interface
      with the Wrapped repository. The original objects `{ label, uri, error}`
      were constructed by the issuable.ts.
      
      We now use the WrappedRepository and the error state is signaled by a
      new `containsGitLabProject` boolean flag. I.e. if the wrapped repository
      doesn't contain GitLab project, there has been error during fetching it.
      
      Also having access to the wrapped repository from within mr_item_model
      is going to be important in the next commit because it allows us to
      interact with the MR cache.
      8afdf918
  7. 27 4月, 2021 1 次提交
    • T
      feat: add commenting ranges for new file versions in diff · 6c22d3a7
      Tomas Vik 提交于
      We parse the MR version REST API response into hunks. These hunks tell
      us what lines have been added in the new file version on the diff.
      We then convert these lines in VS Code Ranges and return them as ranges
      on which the user might leave a comment.
      6c22d3a7
  8. 14 4月, 2021 2 次提交
    • T
      refactor: simplify closing issue item · 002b2c6e
      Tomas Vik 提交于
      Instead of registering a new command, which was basically a callback, we
      can declare what the item is supposed to do instead, reducing the amount
      of procedural code.
      
      Instead of triggering always one command which will decide what to do,
      we can decide what to do at the time when we change the status bar item.
      002b2c6e
    • T
      refactor: simplify MR status item command · c87e9c9a
      Tomas Vik 提交于
      Instead of registering a new command, which was basically a callback, we
      can declare what the item is supposed to do instead, reducing the amount
      of procedural code.
      
      Instead of triggering always one command which will decide what to do,
      we can decide what to do at the time when we change the status bar item.
      c87e9c9a
  9. 12 4月, 2021 1 次提交
  10. 30 3月, 2021 1 次提交
  11. 09 3月, 2021 1 次提交
    • T
      refactor: rename objects representing workspace · bb80c41a
      Tomas Vik 提交于
      This prevents confusion between GitLab project and VS Code workspace.
      The current legacy naming that uses the name "project" to represent
      VS Code workspace is diverging from an established naming and
      confuses contributors.
      
      The work "project" is used throughout the codebase for GitLab project
      and it was causing confusion when two variables named 'project' meant
      different things.
      bb80c41a
  12. 04 3月, 2021 1 次提交
  13. 18 2月, 2021 1 次提交
  14. 15 2月, 2021 1 次提交
  15. 01 2月, 2021 1 次提交
  16. 15 1月, 2021 1 次提交
  17. 17 12月, 2020 1 次提交
  18. 16 12月, 2020 1 次提交
  19. 07 12月, 2020 1 次提交