Commit Graph

25 Commits

Author SHA1 Message Date
Filipa Lacerda cf347a5739
Remove Diff class from globalnamespace 2017-10-19 10:57:25 +01:00
Felipe Artur b54203f0ad Commenting on image diffs 2017-10-07 04:25:17 +00:00
Sean McGivern a68a39e341 Merge branch '18608-lock-issues-v2' into 'master'
Resolve "Lock issue and merge request"

Closes #18608

See merge request gitlab-org/gitlab-ce!14531
2017-10-06 16:47:27 +00:00
Douwe Maan b74c643c66 Only copy old/new code when selecting left/right side of parallel diff 2017-10-02 18:39:25 +02:00
Luke "Jared" Bennett 00ee7a9f27
FE review changes app code 2017-10-01 16:45:48 +01:00
Luke "Jared" Bennett fea7b9e682
Fix diff commenting on commits 2017-09-20 15:40:29 +01:00
Luke "Jared" Bennett 6d59795ebb
Review changes 2017-09-15 10:19:43 +01:00
Luke "Jared" Bennett e0e153d2d7
Dont allow diff commenting if MR locked 2017-09-14 14:35:57 +01:00
Mike Greiling 5c52ca9a0c refactor SingleFileDiff class to ES module syntax 2017-07-06 13:39:28 -05:00
Bryce Johnson 81e9c28425 Render add-diff-note button with server.
This commit moves the rendering of the button back to the server, and
shows/hides it using opacity rather than display. It also removes the
transform applied to the button on hover (scale). Previously, both of these
factors automatically triggered a reflow, which creates a performance
bottleneck on pages with larger DOM size.

MR: !12103
2017-06-29 12:50:45 -04:00
Mike Greiling 5bd549187a update remaining uses of CJS syntax to ES module syntax 2017-05-16 15:52:40 -05:00
Eric Eastwood 3380ee716d Fix container issue when switching parallel "Changes" MR tab before done loading
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/29193
2017-04-03 13:42:55 -05:00
Mike Greiling 670d9a8bb6 ensure lineNumbers method always returns an array with two integers 2017-03-23 17:52:57 -05:00
Mike Greiling b47432a7e2 enable Array destructuring and polyfill Symbol class 2017-03-21 12:37:25 -05:00
Mike Greiling 8796d17a26 remove IIFEs in preparation for ES module refactor 2017-03-13 14:41:32 -05:00
winniehell 572f9782d5 Remove .es6 from file extensions (!9241) 2017-03-05 21:22:40 +01:00
Mike Greiling 4f107f3fc4 refactor Diff to es6 class syntax 2016-12-02 17:38:57 -06:00
Mike Greiling 6c978994e1 fix diff line highlighting by moving method from the MergeRequestTabs class to the Diff class. 2016-12-02 17:32:37 -06:00
Luke "Jared" Bennett 7cefaea876
explicitly disable eslint inline 2016-11-15 16:30:34 +00:00
Hiroyuki Sato bea83d2579 Remove an extra leading space from diff content 2016-11-04 14:05:49 +09:00
winniehell 02f94cf038 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
Mike Greiling 76ae5af8ce ensure the 'fixed layout' preference is honored whenever possible
see #22343 for issue description
2016-09-20 00:51:00 -05:00
Jared Deckard 7f6474b269 Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
Tim Masliuchenko b6d545df51 Add unfold links for Side-by-Side view 2016-08-04 09:09:59 +03:00
Fatih Acet aaa9509d12 ES6ify all the things! 2016-07-24 23:45:11 +03:00