Commit Graph

232 Commits

Author SHA1 Message Date
Clement Ho 46031d63cd [skip ci] Convert panel related class names to card 2018-04-10 12:11:34 -05:00
Clement Ho 35991d1662 [skip ci] Replace hidden-sm 2018-04-09 16:36:25 -05:00
Clement Ho 3e7a17d475 Replace .pull-left with .float-left 2018-04-09 12:36:21 -05:00
Clement Ho aa4942a213 Merge branch 'master' into 'bootstrap4'
# Conflicts:
#   app/helpers/issuables_helper.rb
#   app/views/projects/_home_panel.html.haml
#   app/views/projects/commits/_commit.html.haml
2018-04-09 17:04:05 +00:00
Clement Ho 3ae87eef06 Replace .btn-group-justified with .btn-group.d-flex 2018-04-09 11:57:53 -05:00
Clement Ho 917b7e0dd9 Rename .btn-default to .btn-secondary 2018-04-09 11:49:18 -05:00
Fatih Acet 52b232ca5d Merge branch '44939-epic-comment-thread-backports' into 'master'
Resolve "Follow-up from "Refactor discussions/notes code""

Closes #44939

See merge request gitlab-org/gitlab-ce!18190
2018-04-06 10:09:01 +00:00
Kushal Pandya 223eeae1a7 Return noteableType from app initial config 2018-04-06 14:26:39 +05:30
Clement Ho 93869c63bc Merge branch '44870-remove-extra-space-around-comment-form-on-merge-requests' into 'master'
Resolve HTML/CSS inconsistent comment forms on Issue and Merge Request

Closes #44870

See merge request gitlab-org/gitlab-ce!18120
2018-04-05 15:24:02 +00:00
Takuya Noguchi 058909e7c5 Refactor and tweak margin for note forms on Issuable
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2018-04-04 22:27:15 +09:00
Jan Provaznik 65664c2eae Refactor discussions/notes code 2018-04-03 16:03:00 +00:00
Simon Knox 39ee707c0a Don't show Jump to Discussion button on issue notes 2018-03-28 16:11:06 +11:00
Fatih Acet fdc9ae2edf
Prettify notes. 2018-03-16 23:16:21 +03:00
Filipa Lacerda 93c6842fbf
Use mapState instead of a getter 2018-03-13 10:39:07 +00:00
Filipa Lacerda e84c943fa0
Fix loading icon being visible in the wrong button 2018-03-12 17:08:05 +00:00
Mike Greiling f248be7257
require jQuery to be explicitly imported 2018-03-09 15:18:09 -06:00
Filipa Lacerda 51b8874148 Removes btn-transparent and btn-clipboard as default classes for clipboard button component
Changes after review
2018-03-06 21:05:46 +00:00
Fatih Acet 059ab73b8e Render MR Notes with Vue with behind a cookie 2018-02-28 00:10:43 +00:00
Filipa Lacerda c33245e999
Reuse getter
Add loading button for better UX
2018-02-12 16:49:41 +00:00
Filipa Lacerda 853c80a9f7
Put back class names used in shared test 2018-02-12 08:54:31 +00:00
Filipa Lacerda d637f87f88
Makes close/reopen issue request to inside the vue app 2018-02-09 18:56:41 +00:00
Simon Knox 2ee08f4770 Resolve "Cancelling a second comment edit doesn't return its state to before the edit" 2018-02-07 21:45:53 +00:00
Annabel Dunstone Gray 857cd6338c
Remove trailing space after author name in note header 2018-01-18 11:45:27 -07:00
Eric Eastwood 333c1723ab Fix Ctrl+Enter keyboard shortcut saving comment/note edit
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/41956
2018-01-11 20:28:56 -06:00
Filipa Lacerda 7e3405d76c
Fix last eslint rules 2018-01-08 20:48:27 +00:00
Filipa Lacerda 349d06688f
Fix more eslint rules 2018-01-08 20:01:49 +00:00
Filipa Lacerda 7c7f526684
[ci skip] Fix more rules 2018-01-05 14:31:12 +00:00
Filipa Lacerda cdc4938834
[ci skip] Fix more rules 2018-01-05 00:45:32 +00:00
Filipa Lacerda b299198e1e
Adds `eslint-plugin-vue`, fixes linter errors and adds docs 2018-01-03 23:14:55 +00:00
Filipa Lacerda ba5b539548 Merge branch '37619-fix-vue-typeerror-not-failing-the-build' into 'master'
Stop "ERROR: TypeError{}" from being logged to the console and fail tests

Closes #37619

See merge request gitlab-org/gitlab-ce!15830
2017-12-12 10:49:50 +00:00
Fatih Acet 8d739237de Merge branch 'issue-note-rename' into 'master'
rename remaining issue_ prefixed files

See merge request gitlab-org/gitlab-ce!15818
2017-12-11 21:56:50 +00:00
Filipa Lacerda 4ccbd556d9 Merge branch 'url-utility-es-module' into 'master'
Moved URL utility methods into exported es modules

See merge request gitlab-org/gitlab-ce!15783
2017-12-11 18:44:17 +00:00
Eric Eastwood 9469979a91 Try to clean up legit Vue error that was patched over
See https://gitlab.com/gitlab-org/gitlab-ce/issues/37619#note_50422859
2017-12-10 05:10:38 -06:00
Fatih Acet f4fbe61a9e Merge branch 'note-preview' into 'security-10-2'
prevent potential XSS when editing comment

See merge request gitlab/gitlabhq!2238

(cherry picked from commit 80ed6d25a46c0f70ec8baea78b5777118d63876c)

7480e462 prevent potential XSS when editing comment
2017-12-08 13:48:23 -08:00
Simon Knox 874deb4142 rename remaining issue_ prefixed files 2017-12-09 07:24:52 +11:00
Phil Hughes e0bbadc2d2
use exported methods instead of gl.utils 2017-12-08 08:54:51 +00:00
Mike Greiling 2c569be63b Resolve "Display member role per project" 2017-12-07 09:11:41 +00:00
Simon Knox bf85a90037 issue note component rename 2017-12-04 16:19:07 +00:00
Simon Knox f8efaf1bf8 issue note store 2017-11-30 22:44:41 +00:00
Luke "Jared" Bennett d0f7e4df34 Resolve "lock/confidential issuable sidebar custom svg icons iteration" 2017-11-16 16:44:16 +00:00
Luke "Jared" Bennett 8ba8800660
Disable issue action button whilst submitting and test 2017-11-06 11:42:11 +00:00
Phil Hughes b20381204a
karma spec updates 2017-11-01 09:26:16 +00:00
Tim Zallmann 980f29716f Resolve "Convert autosize.js library to be a Yarn managed library" 2017-10-31 09:18:30 +00:00
Filipa Lacerda 6d7384f595 Merge branch 'es-module-autosave' into 'master'
Remove Autosave class from global namespace

See merge request gitlab-org/gitlab-ce!14856
2017-10-30 02:01:38 +00:00
Filipa Lacerda 1ab8aeeefd
Moves placeholders components into shared folder with documentation. Makes them easier to reuse in MR and Snippets comments 2017-10-19 10:39:47 +01:00
Mike Greiling b0c2772a90
convert Autosave into pure es module and remove global export 2017-10-12 11:31:29 -05: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
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
Fatih Acet 4d0dea7bc1 Disable comment textarea while submitting a new comment. 2017-10-03 15:06:37 +03:00
Jarka Kadlecova c488bcd13e Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into 18608-lock-issues-v2
# Conflicts:
#	db/schema.rb
2017-10-03 09:37:48 +02:00