Commit Graph

24 Commits

Author SHA1 Message Date
Eric Eastwood e51078ecfc Disable autocomplete on snippets comments
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/33594

Was supposedly fixed in MR for
https://gitlab.com/gitlab-org/gitlab-ce/issues/32086 but seeing this pop
up again
2017-06-19 13:42:12 -05:00
Eric Eastwood ea090291bb Rename "Slash commands" to "Quick actions"
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/27070

Deprecate "chat commands" in favor of "slash commands"

We looked for things like:

 - `slash commmand`
 - `slash_command`
 - `slash-command`
 - `SlashCommand`
2017-06-15 09:01:56 -05:00
Sam Rose 2434d135d6 Keep input data after creating existing tag 2017-05-10 17:39:50 -04:00
Phil Hughes 270434f737 Loads GFM once for per page
#22827
2016-10-14 10:52:48 +01:00
Phil Hughes b66a8203ca Moved loading GFM source into zen.html.haml 2016-09-16 10:52:41 +01:00
Phil Hughes cd9a2ba1aa Fixed group milestone error 2016-09-16 10:49:55 +01:00
Phil Hughes a5035ed310 Correctly loads gfm autocomplete source on pages where it is required 2016-09-16 10:49:55 +01:00
Douwe Maan f48e898619 Disable slash commands on edit forms 2016-08-12 20:19:16 -05:00
Yatish Mehta 8b813277b0 Fixed typo in zen.scss and corresponding views 2016-05-04 14:04:13 -07:00
Phil Hughes 3de09d1475 Updated all GFM forms to use new GLForm class 2016-04-14 10:28:05 +01: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
Phil Hughes b7f0b22b9f Started refactoring of note form 2016-04-04 10:48:49 +01:00
Robert Speicher 552c179acd Autosize textareas 2016-01-13 14:51:07 -05:00
Robert Speicher 89ca4f04f6 Refactor ZenMode
- No longer depends on the "hidden checkbox".
- No longer depends on manually storing/restoring the scroll position.
  Instead, we take advantage of jquery.scrollTo.
- Event-based.
- Simplifies the state-based styling.
2016-01-08 23:36:09 -05:00
Douwe Maan 97842cea74 Fix 'Attach a file' link in new tag form 2015-11-19 15:37:20 +01: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
Darby c611b6f623 Comment box/Placeholder text redo 2015-07-01 15:49:31 -07:00
Robert Speicher 82a671704d Show a random Markdown tip in the textarea placeholder 2015-06-23 21:00:10 -04:00
Darby e2e8e384bb Revert "Changed the placeholder text and modified the css class to make it visible"
This reverts commit c39c823421.
2015-06-18 13:50:33 -07:00
Darby c39c823421 Changed the placeholder text and modified the css class to make it visible 2015-06-16 14:44:13 -07:00
Dmitriy Zaporozhets c6ab8d04e8 Fix tabindex for comment form 2015-01-15 10:34:40 -08:00
Dmitriy Zaporozhets cad685e70b Refactor zen mode. Make it works in diffs 2015-01-15 00:15:12 -08:00
Ciro Santilli adaec60a50 Factor zen mode. 2014-09-20 15:32:46 +02:00