Commit Graph

29 Commits

Author SHA1 Message Date
GitLab Bot 5ecacec304 Add latest changes from gitlab-org/gitlab@master 2019-10-04 15:06:38 +00:00
Chris Toynbee 64a32d6cf0 Encapsulate file view modes with constants 2019-07-23 22:13:36 +00:00
Denys Mishunov ff1a4a4241 Initiate editor for any file without content
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
2019-07-05 15:37:33 +02:00
Paul Slaughter 9e185534b7
Fix IDE editor to update dimensions on show change 2019-06-28 10:38:24 -05:00
Mike Greiling f666026d71
Prettify all spec files 2018-10-17 11:18:17 -05:00
Johann Hubert Sonntagbauer 6f5723a169 enable jasmine/new-line-before-expect 2018-10-17 06:57:29 +02:00
Paul Slaughter adbf6149cf Keep IDE RightPane views alive
**Why?**
- This is needed for the Web Terminal feature.
  https://gitlab.com/gitlab-org/gitlab-ee/issues/5426

**Notes:**
- Introduces a `pane` Vuex module.
- Some views should not be kept alive (i.e. job details).
  This is why a `keepAlive` flag was introduced for views.
2018-09-28 15:03:39 -05:00
Phil Hughes cded268ca1 Enable deleting files in the Web IDE 2018-07-26 14:56:56 +00:00
Phil Hughes cf22366d79
Resets state correctly when switching to merge request in IDE
Closes #47763
2018-06-13 10:17:49 +01:00
Mike Greiling 2729205b39
remove monacoLoader and import monaco directly within Editor class 2018-06-07 23:36:37 -05:00
Phil Hughes fff2b4f6e4
fixed spec 2018-05-23 08:50:16 +01:00
Phil Hughes 23a7c3896e
added spec 2018-05-22 17:55:19 +01:00
Phil Hughes a769e1ed95
Fixed none merge request files not being openable in the web IDE 2018-05-10 16:44:57 +01:00
Phil Hughes 8c9fad9d32
fixed repo_editor_spec 2018-05-02 16:22:13 +01:00
Phil Hughes 2dc3d43c64
changed which element is hidden 2018-05-01 14:42:55 +01:00
Tim Zallmann 674702e02e Merge branch 'ide-diff-marker-cache-fix' into 'master'
Fixed IDE diff markers being cached too long

See merge request gitlab-org/gitlab-ce!18311
2018-04-19 11:47:20 +00:00
Phil Hughes 35d2804502
Merge branch 'master' into ide-staged-changes 2018-04-17 10:29:42 +01:00
Phil Hughes f2bf23feb9
fixed spec with checking cached events 2018-04-11 13:10:12 +01:00
Phil Hughes 84475288ff
correctly dispose editor instance in specs 2018-04-10 18:46:24 +01:00
Phil Hughes d245b7233e
fixed mock URL that was causing request to fail 2018-04-10 17:34:17 +01:00
Phil Hughes 2ec6a7e101
Fixed markdown preview in IDE not working for new files 2018-04-10 16:48:02 +01:00
Phil Hughes 7c20403f28
fixed failing tests because of passed `null`
added spec to check for `head` file
2018-04-07 10:27:56 +01:00
Filipa Lacerda 0c60e781c0 Merge branch 'ide-diff-inline' into 'master'
Change IDE diff view responsively

Closes #44305

See merge request gitlab-org/gitlab-ce!18049
2018-04-05 15:23:00 +00:00
Tim Zallmann c88cc0c0ec Web IDE markdown preview 2018-04-05 11:12:40 +00:00
Phil Hughes f1ddfac4b0
added specs 2018-04-05 10:19:15 +01:00
Tim Zallmann 8f7cf2ede5 Fixed Code review Comments 2018-03-28 12:17:30 +02:00
Tim Zallmann 38d56a8b7c Added Tests for all new functionality 2018-03-28 12:17:30 +02:00
Phil Hughes af22ddafe4
updated file references in specs 2018-03-20 14:16:38 +00:00
Phil Hughes f527e6e185
Move IDE to CE
This also makes the IDE generally available
2018-03-20 14:12:48 +00:00