Winnie Hellmann
514ee63826
Move some tests from Karma to Jest
2019-03-23 17:53:46 +01:00
Paul Slaughter
c49d4a4985
Improve files_decorator performance
...
**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.
2019-03-07 09:22:05 +00:00
Mike Greiling
ef6311d689
Upgrade webpack and monaco-editor to latest
2019-01-25 08:22:35 +00:00
gfyoung
23cdae8eee
Enable "prefer-destructuring" in JS files
...
Partially addresses #47006 .
2018-06-25 11:53:57 -07:00
Isaac Smith
5104098fab
Fix #47796 "Web IDE autocomplete should be disabled in markdown files"
2018-06-15 13:22:56 -05:00
Mike Greiling
4653820d37
refactor monaco-editor import and stop storing as class property within editor
2018-06-08 00:09:59 -05:00
Mike Greiling
15993df1d6
remove need to pass monaco around through DI
2018-06-07 23:53:45 -05:00
Mike Greiling
2729205b39
remove monacoLoader and import monaco directly within Editor class
2018-06-07 23:36:37 -05:00
Phil Hughes
96785e7713
added specs
2018-05-09 11:09:26 +01:00
Phil Hughes
1180b74b7c
hide edit/preview tabs in review & commit mode
...
only make diff mode editable in review mode
2018-05-01 10:46:28 +01:00
Phil Hughes
fc11520e51
fixed repo_tabs_spec
...
fixed editor_spec
2018-04-23 08:55:59 +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
e8221b47ac
Fixed IDE diff markers being cached too long
2018-04-11 12:29:16 +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
Phil Hughes
891164f10b
set `renderSideBySide` when creating diff instance
2018-04-05 10:24:18 +01:00
Phil Hughes
bc64e20cab
updated wordWrap option be `on`
2018-04-05 10:19:16 +01:00
Phil Hughes
f1ddfac4b0
added specs
2018-04-05 10:19:15 +01:00
Phil Hughes
c0dddb511c
Merge branch 'master' into ide-pending-tab
2018-04-03 10:59:29 +01:00
Phil Hughes
53707c83a5
remove pending tab when opening a file from the left sidebar
2018-03-28 14:08:33 +01:00
Phil Hughes
bead083c58
updated specs
2018-03-28 14:08:32 +01:00
Tim Zallmann
38d56a8b7c
Added Tests for all new functionality
2018-03-28 12:17:30 +02:00
Phil Hughes
fb5f908deb
Enable word wrap in IDE
...
Closes #44303
2018-03-27 11:21:57 +01:00
Phil Hughes
e10bd302a5
Disable cursor for review mode in the IDE
...
Also disables occurrences highlights & the line highlight for the review
mode.
Closes #44307
2018-03-23 12:27:20 +00: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