Commit Graph

14 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
Kushal Pandya 7abe27b425 Improve user experience around slash commands in instant comments 2017-06-05 09:12:15 +00:00
Eric Eastwood b8b6de4c75 Make `gfm_auto_complete` into a module and fix up tech debt 2017-05-16 18:42:06 +00:00
Eric Eastwood e6829ae88e Add enableMap to gl.GfmAutoComplete for partial re-use
EE backport of
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1800
2017-05-03 10:47:59 -05:00
Sean McGivern 2df748aa71 Merge branch 'blackst0ne/gitlab-ce-fix_emoji_parser' 2017-04-27 11:02:27 +01:00
blackst0ne 31c990cc41 Fix rendering emoji inside a string 2017-04-25 21:06:24 +11:00
Andrew Torres d36a78038a Update all instances of "fa-refresh" to "fa-spinner" 2017-04-11 15:46:59 -07:00
Mike Greiling 8796d17a26 remove IIFEs in preparation for ES module refactor 2017-03-13 14:41:32 -05:00
Eric Eastwood ee9930145f Update emojis to use harmony modules (import/export) 2017-03-08 11:27:14 -06:00
Eric Eastwood e6fc0207cb Use native unicode emojis
- gl_emoji for falling back to image/css-sprite when the browser
   doesn't support an emoji
 - Markdown rendering (Banzai filter)
 - Autocomplete
 - Award emoji menu
    - Perceived perf
    - Immediate response because we now build client-side
 - Update `digests.json` generation in gemojione rake task to be more
   useful and  include `unicodeVersion`

MR: !9437

See issues

 - #26371
 - #27250
 - #22474
2017-03-06 12:54:46 -06:00
winniehell 572f9782d5 Remove .es6 from file extensions (!9241) 2017-03-05 21:22:40 +01:00
Rémy Coutable 0eea8c8857 Support slash commands in noteable description and notes
Some important things to note:

- commands are removed from noteable.description / note.note
- commands are translated to params so that they are treated as normal
  params in noteable Creation services
- the logic is not in the models but in the Creation services, which is
  the right place for advanced logic that has nothing to do with what
  models should be responsible of!
- UI/JS needs to be updated to handle notes which consist of commands
  only
- the `/merge` command is not handled yet

Other improvements:

- Don't process commands in commit notes and display a flash is note is only commands
- Add autocomplete for slash commands
- Add description and params to slash command DSL methods
- Ensure replying by email with a commands-only note works
- Use :subscription_event instead of calling noteable.subscribe
- Support :todo_event in IssuableBaseService

Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-08-13 00:05:57 +02:00
Douwe Maan 3f2f4bda45 Remove delay when hitting Reply... button on page with a lot of discussions 2016-08-01 16:55:24 -07:00
Fatih Acet aaa9509d12 ES6ify all the things! 2016-07-24 23:45:11 +03:00