Commit graph

19 commits

Author SHA1 Message Date
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
Rares Sfirlogea
45e4c66565 Display slash commands outcome when previewing Markdown
Remove slash commands from Markdown preview and display their outcome next to
the text field.
Introduce new "explanation" block to our slash commands DSL.
Introduce optional "parse_params" block to slash commands DSL that allows to
process a parameter before it is passed to "explanation" or "command" blocks.
Pass path for previewing Markdown as "data" attribute instead of setting
a variable on "window".
2017-05-04 17:02:25 +02:00
Clement Ho
eb61d493f9 Autoresize markdown preview 2017-01-17 01:04:47 -05:00
Mike Greiling
dbf4d80c32 move check for preview loading class to top of method 2016-12-27 16:30:55 -06:00
Mike Greiling
8c1f287cb7 remove preview markdown ajax trigger on textarea blur 2016-12-27 16:23:57 -06:00
Mike Greiling
aa1c3ab227 fix some more eslint rules 2016-12-27 14:12:15 -06:00
Mike Greiling
75ef84df95 fix some eslint rules 2016-12-27 14:11:38 -06:00
Mike Greiling
948fd40ccd add loading class to preview element and check it to prevent multiple ajax requests 2016-12-27 14:09:40 -06:00
Mike Greiling
2b6f6e7b65 rename renderMarkdown to fetchMarkdownPreview to be less misleading 2016-12-27 14:09:08 -06:00
Mike Greiling
de427dc589 use $ sign to make it clear when dealing with jQuery object 2016-12-27 14:09:08 -06:00
Mike Greiling
4f8087d62b refactor _this usage into proper function binding 2016-12-27 14:08:40 -06:00
Mike Greiling
a6ed18cc71 remove superfluous return statements generated by coffeescript 2016-12-27 14:07:52 -06:00
Sean McGivern
4d1f583712 Merge branch 'katex-math' into 'master'
Render math in Asciidoc and Markdown with KaTeX using code blocks

Closes #13690 and #13180

See merge request !8003
2016-12-15 14:11:38 +00:00
Munken
2d170a20dc Render math in Asciidoc and Markdown with KaTeX using code blocks 2016-12-14 16:50:54 +00:00
Mike Greiling
8e0e902b13 resolve all instances of no-undef eslint rule violations 2016-12-14 02:11:13 -06:00
Luke "Jared" Bennett
7cefaea876
explicitly disable eslint inline 2016-11-15 16:30:34 +00:00
winniehell
02f94cf038 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
Jared Deckard
7f6474b269 Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
Christopher Bartz
ecb3f1eb6c Rename markdown_preview routes to preview_markdown 2016-08-11 15:54:18 +02:00
Renamed from app/assets/javascripts/markdown_preview.js (Browse further)