Skip to content

Improve completion of emoji and team members

Created by: riyad

Improves on #1539 and #1551

  • Adds completion for all emoji
  • Only load auto-completion data if it's actually used (e.g. someone types @) This also improves loading times for pages with notes.
  • Use API for auto-completion of team members
  • Introduce the .gfm-input class for fields that accept GFM (works only with notes at the moment) and use them for setting up auto-completion.

Preparing the emoji data (when rendering) still slows the request down (try commenting out the call to the helper ;) ). But impact has been minimized by using to_s instead of to_json and doing the format mapping in JS (client-side) instead in Ruby (server-side).

Merge request reports