Commit Graph

122 Commits

Author SHA1 Message Date
GitLab Bot e7bc93852d Add latest changes from gitlab-org/gitlab@master 2020-05-21 21:08:31 +00:00
GitLab Bot 0ec841b7f9 Add latest changes from gitlab-org/gitlab@master 2020-04-30 00:09:37 +00:00
GitLab Bot ae78b85a25 Add latest changes from gitlab-org/gitlab@master 2020-02-24 12:09:00 +00:00
GitLab Bot f14507e586 Add latest changes from gitlab-org/gitlab@master 2020-02-03 09:08:42 +00:00
GitLab Bot 6305f1dc00 Add latest changes from gitlab-org/gitlab@master 2020-01-30 06:08:49 +00:00
GitLab Bot 6cd5b7dbfa Add latest changes from gitlab-org/gitlab@master 2019-09-19 11:50:12 +00:00
GitLab Bot 80f61b4035 Add latest changes from gitlab-org/gitlab@master 2019-09-18 14:02:45 +00:00
Michel Engelen dde46ac6b3 replaced `discussion` with `thread` in comment button 2019-07-02 14:30:19 +02:00
Brandon Labuschagne 25dac80988 Internationalisation of diff_note directory
This is one of many MRs opened in order to improve the overall
internationalisation of the GitLab codebase.

i18n documentation
https://docs.gitlab.com/ee/development/i18n/externalization.html
2019-05-02 13:53:44 +00:00
George Tsiolis ccd1d6826b Fix typos in comments for js 2018-11-15 14:50:40 +02:00
Mike Greiling 4d0db16f97
Prettify diff_notes diffs and droplab modules 2018-10-16 11:52:35 -05:00
Mike Greiling d76190371c Resolve "Harmonize prettier and eslint configs" 2018-10-09 15:25:53 +00:00
Tim Zallmann d3cf0c247b Fix for Karma, Static Analysis and RSPec for MR Page 2018-09-07 12:25:50 +02:00
Tim Zallmann c9bacfd682 Fixed Resolving, Loading more and Line Bugs 2018-09-07 12:25:50 +02:00
gfyoung 23cdae8eee Enable "prefer-destructuring" in JS files
Partially addresses #47006.
2018-06-25 11:53:57 -07:00
Felipe Artur 3e66795ef1 Changes tab VUE refactoring 2018-06-21 12:22:40 +00:00
Lukas Eipert 0e6441164f
remove all unused eslint-disable rules 2018-06-20 14:28:28 +02:00
Filipa Lacerda 647a4d6a3b
Updates eslint vue plugin version 2018-06-11 15:36:54 +01:00
Clement Ho ebf5f31d8c Set tooltips to have default boundary viewport 2018-06-08 04:27:36 +00:00
Clement Ho 7e88d9c7e4 Revert diff notes bundle change 2018-05-24 14:55:35 -05:00
Clement Ho 08f1ce90fa Fix diff notes spec 2018-04-24 14:45:18 -05:00
Clement Ho 1536c69f6a Convert fixTitle to _fixTitle for regenerating tooltip titles 2018-04-19 10:40:23 -05:00
Mike Greiling f248be7257
require jQuery to be explicitly imported 2018-03-09 15:18:09 -06:00
Fatih Acet 059ab73b8e Render MR Notes with Vue with behind a cookie 2018-02-28 00:10:43 +00:00
Rémy Coutable 97793a1616 Harmonize CE and EE JS code
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-02-22 13:34:35 +01:00
Clement Ho 1c2d283d50 Add dispatcher imports for bundles used in merge request show path 2018-02-15 16:50:20 -06:00
Phil Hughes eaf2f48dc7
Export and use Notes ES module 2017-12-15 16:33:36 +00:00
Filipa Lacerda 3c19c971df
Merge branch 'master' into 38869-datetime
* master: (112 commits)
  small change to make less conflict with EE version
  Add cop for use of remove_column
  Resolve merge conflicts with dev.gitlab.org/master after security release
  add index for doc/administration/operations/
  Remove RubySampler#sample_objects for performance as well
  Bugfix: User can't change the access level of an access requester
  Add spec for removing issues.assignee_id
  updated imports
  Keep track of storage check timings
  Remove a header level in the new 'Automatic CE->EE merge' doc
  Improve down step of removing issues.assignee_id column
  Fix specs after removing assignee_id field
  Remove issues.assignee_id column
  Resolve conflicts in app/models/user.rb
  Fix image view mode
  Do not raise when downstream pipeline is created
  Remove the need for destroy and add a comment in the spec
  Use build instead of create in importer spec
  Simplify normalizing of paths
  Remove allocation tracking code from InfluxDB sampler for performance
  ...
2017-12-11 19:42:58 +00:00
micael.bergeron cb6f51ec9b add support for the commit reference filter 2017-12-07 09:01:37 -05:00
Douwe Maan e4eba908cd Allow commenting on individual commits inside an MR 2017-12-07 09:01:19 -05:00
Filipa Lacerda 139ce1c445
Export date utility functions as ES6 modules 2017-12-07 11:09:17 +00:00
Phil Hughes fa2af5e0f5
Flash is now a ES6 module
Reduced the technical debt around our JS flash function by making it a
module that is imported rather than relying on the global function.
The global function still exists mainly for technical debt with how
some requests are being completed, but new JS should import the module
directly.

Also reduces some tech debt in the file by removing the need for jQuery.
Instead Flash is now 100% vanilla JS.
2017-10-10 10:14:22 +01:00
Felipe Artur b54203f0ad Commenting on image diffs 2017-10-07 04:25:17 +00:00
winh 97e81870c3 Add missing import statements 2017-09-18 12:51:57 +02:00
Phil Hughes cdb305ce68 Fix diff comment button not showing after deleting a comment 2017-09-05 10:20:40 +00:00
Phil Hughes 554afea059
Fix race condition with dispatcher.js
The dispatcher was trying to create a new instance of a class that is loaded in a file after main.js which would cause the filtered search to not work on issues. This would only happen on the first load when the JS is not cached. If the JS is cached, then everything will be fine.
2017-08-15 16:09:36 +01:00
Simon Knox 9b9c86787a fix Jump to next discussion
Notes tab was renamed to show, was previously overridden in merge_request_tabs.js
2017-07-27 20:46:53 +10:00
Filipa Lacerda aaa78199c2 Update vue-resource 2017-07-12 14:47:09 +00: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
Douwe Maan dbb78b36e1 Fix title of discussion jump button at top of page 2017-05-26 17:27:16 -05:00
Filipa Lacerda b261fb7b33 Merge branch 'adopt-es-module-syntax' into 'master'
Adopt ES module syntax

See merge request !9567
2017-05-22 16:07:43 +00:00
Bryce Johnson 3c668fa04f Consolidate user avatar Vue logic 2017-05-18 16:37:48 -04:00
Mike Greiling c594ed49f9 update diff_notes_bundle to ES module syntax 2017-05-16 15:48:57 -05:00
Simon Knox ac6556ba91 prevent dropdowns from being cut-off by scrollable tab container
rerender scrollable-tab area after Resolve Discussions button is rendered
2017-05-16 11:39:15 -05:00
Eric Eastwood 16da7f2365 Fix linking to resolved note in diff
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/32125
2017-05-12 17:48:29 -05:00
Fatih Acet 0151325dac Merge request widget redesign 2017-05-09 04:15:34 +00:00
Kushal Pandya d586b6cced Add ES lint support to identify poorly written Promises 2017-04-20 11:11:51 +00:00
Alfredo Sumaran e8561287dc Remove IIFEs from diff_notes_bundle.js 2017-04-17 01:35:56 -05:00
Sam Rose ef443a99ee Update ResolveBtn when CommentStore changes state 2017-04-13 17:22:17 -04:00
Douwe Maan bb8cc94668
Don't use original_discussion_id 2017-04-05 17:44:14 +01:00