Commit Graph

19 Commits

Author SHA1 Message Date
GitLab Bot fc96671f81 Add latest changes from gitlab-org/gitlab@master 2019-10-15 12:06:06 +00:00
GitLab Bot 0d46bf0638 Add latest changes from gitlab-org/gitlab@master 2019-10-04 12:06:14 +00:00
GitLab Bot d948f526ea Add latest changes from gitlab-org/gitlab@master 2019-09-19 15:06:08 +00:00
GitLab Bot d2798d607e Add latest changes from gitlab-org/gitlab@master 2019-09-16 12:06:26 +00:00
Mike Greiling 7fd4e21c77
Prettify blob behaviors and cycle_analytics modules 2018-10-16 11:52:34 -05:00
Nick Thomas 25bd49e4f5
Backport project template API to CE 2018-10-05 11:34:43 +01:00
Mike Greiling f248be7257
require jQuery to be explicitly imported 2018-03-09 15:18:09 -06:00
Valery Sizov 387c4b2c21 Backport of multiple_assignees_feature [ci skip] 2017-05-04 17:11:53 +03:00
Bryce Johnson f564cbb21a Make file templates easy to use and discover 2017-04-03 17:54:40 +00:00
Bryce Johnson faf7865c26 Lightly refactor js files related to file template selectors. 2017-03-22 20:10:54 -04:00
winniehell 572f9782d5 Remove .es6 from file extensions (!9241) 2017-03-05 21:22:40 +01:00
Bryce Johnson 16097bbeda Delete leftover usertabs and template_selector es5 files. 2016-10-05 11:25:06 +02:00
Joseph Frazier e12f7a3b71 Combine requestFileSuccess arguments into `opts`
See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6149#note_14830172
2016-10-03 12:16:02 -04:00
Joseph Frazier ad2b6cae0b Append issue template to existing description
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/21733

Add two newlines before the template if the existing description isn't
empty. This makes it easier to see where the template begins.

Don't append the template when "Reset template" is selected, of course.

Don't append template if it equals the existing description. This makes
it so that selecting a template twice doesn't duplicate it.
2016-10-03 12:16:02 -04:00
Fatih Acet 247ae13174 Merge branch 'issue-description-scroll-fix' into 'master'
Trigger autosize update after template selection

## What does this MR do?

Triggers an autosize update after selecting an issue template.

The autosize plugin doesn't react to value changes and therefore doesn't automatically update when the user selects the template. This merge request adds it so that it detects if the editor the template selector is a jQuery object (not Ace editor) & then triggers the autosize event to allow the user to scroll the textarea.

## Screenshots (if relevant)

![resize](/uploads/1ab04b4202309b13f1178e04c0953112/resize.gif)

## What are the relevant issue numbers?

Closes #21982

See merge request !6282
2016-09-15 15:06:18 +00:00
Phil Hughes 287663b2b1 Trigger autosize update after template selection
Closes #21982
2016-09-09 15:11:37 +01:00
Jared Deckard 7f6474b269 Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
Felipe Artur 2872672945 Load issues and merge requests templates from repository 2016-08-16 15:50:17 -03:00
Fatih Acet aaa9509d12 ES6ify all the things! 2016-07-24 23:45:11 +03:00