Commit graph

26 commits

Author SHA1 Message Date
Phil Hughes
4678e22b5f Markdown toolbar inserts code blocks
Closes #19173
2016-06-27 16:12:03 +01:00
Phil Hughes
14d08d1400 Updated design of markdown buttons 2016-06-17 11:52:22 +01:00
Jacob Schatz
7717cb727f Move buttons to upper right. 2016-06-17 11:52:22 +01:00
Connor Shea
f0f8efeb34
Fix error on non-issue pages with comment areas. 2016-06-05 12:24:36 -06:00
Connor Shea
ccc8d419e6
Add confidential issue notice in comment box. 2016-06-03 15:00:04 -06:00
Yatish Mehta
8b813277b0 Fixed typo in zen.scss and corresponding views 2016-05-04 14:04:13 -07:00
Phil Hughes
eceada9a68 Fix issue with go full screen triggering attach file 2016-04-16 09:43:49 +01:00
Robert Speicher
f03b5c4fde Remove tab stop from "Write", "Preview", "Go full screen" links
Closes #15089
2016-04-09 20:02:36 -04:00
Phil Hughes
3c2b0e7572 Added toolbar to comment form 2016-04-04 10:48:49 +01:00
Phil Hughes
0331fa3f3d Restyling on elements in comment form 2016-04-04 10:48:49 +01:00
Dmitriy Zaporozhets
03090a88d8
Replace all navigation menu with nav-links class
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-01-13 15:58:04 +01:00
Douglas Barbosa Alexandre
0decc7f941 Fix specs 2015-12-03 19:46:30 -02:00
Douglas Barbosa Alexandre
c204aca83b Improve style of the warning when mentioning many people in a comment 2015-12-03 15:30:10 -02:00
Douglas Barbosa Alexandre
f1bbd8119d Style warning about mentioning many people in a comment 2015-12-02 22:03:43 -02:00
Robert Speicher
73eca2a95e Decouple Markdown previews from DropzoneInput 2015-11-25 16:36:04 -05:00
Yorick Peterse
f3980e230f Don't use link_to/image_tag where not needed
In these particular instances we can just use HAML tags directly. This
can shave off some time spent loading issue pages, though this depends
on the amount of comments being displayed.

When viewing https://gitlab.com/gitlab-org/gitlab-ce/issues/2164 locally
these changes reduce loading time by about 400 ms in total.
2015-10-15 12:05:01 +02:00
Dmitriy Zaporozhets
31fc6b26d8
Style comment form
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-09-08 01:47:36 +02:00
Robert Speicher
42ca87ebf7 Add negative tabindex to Markdown Write and Preview tabs
Closes #1757
2015-06-10 16:34:51 -04:00
Douwe Maan
5256b5cc06 Prefer jQuery on to bind, and don't use .js class. 2015-06-05 12:13:02 +02:00
Douwe Maan
4ae67fcaef Show warning when a comment will add 10 or more people to the discussion. 2015-06-05 12:07:13 +02:00
Dominik Sander
34b976fd27 Make issue preview look like the result 2015-04-21 22:16:53 +02:00
Vinnie Okada
9e9ce95d62 Merge branch 'master' into rails-4.1.9
Conflicts:
	app/views/dashboard/_project.html.haml
	app/views/events/event/_common.html.haml
	app/views/explore/projects/_project.html.haml
	app/views/groups/_projects.html.haml
	app/views/projects/_home_panel.html.haml
	app/views/projects/_issues_nav.html.haml
	app/views/projects/issues/_discussion.html.haml
	app/views/projects/issues/_issues.html.haml
	app/views/projects/issues/show.html.haml
	app/views/projects/merge_requests/_discussion.html.haml
	app/views/projects/merge_requests/_show.html.haml
	app/views/projects/milestones/index.html.haml
	app/views/projects/notes/_edit_form.html.haml
	app/views/shared/_issuable_filter.html.haml
2015-02-19 20:53:05 -07:00
Douwe Maan
080449f8af Make sure Markdown previews always use the same styling as the eventual destination. 2015-02-17 17:58:08 +01:00
Vinnie Okada
76aad9b76e Upgrade to Rails 4.1.9
Make the following changes to deal with new behavior in Rails 4.1.2:

* Use nested resources to avoid slashes in arguments to path helpers.
2015-02-14 11:09:23 -07:00
Vinnie Okada
f9e423b499 Fix long line in view 2014-10-18 18:16:20 -05:00
Vinnie Okada
5700842ba8 Add Markdown preview to more forms
Enable Markdown previews when creating and editing issues, merge
requests, and milestones, and when editing notes.
2014-10-15 23:52:33 -05:00