Commit Graph

86 Commits

Author SHA1 Message Date
Tim Zallmann c57529556c Revert "Merge branch 'tz-reorganise-digests-json' into 'master'"
Reverts the loading of emojis and its images to move forward with RC
2019-04-10 11:49:06 -07:00
Jacopo fa976454c1 Makes emoji picker full width on mobile 2019-03-22 21:50:03 +01:00
Tim Zallmann d07919de90 Moved all emojis to the public folder
Created new emojis map in public folder

Renamed folder to emojis

Loading now the emojis from Localstorage or from Server

Moved all emojis to the public folder

Loading the emojis.json file now through AJAX

Loads now the map in the web element instead when building the emoji tag

Updated the custom Element Setup to modern method

Fixed Emoji Karma Specs for async loading

Loading now the emojis from Localstorage or from Server

Loads now the map in the web element instead when building the emoji tag

Fixed problem with FIXTURE_PATH for emojis fixtures

Fixes Linting Error in gemojione.rake

Fixed Emoji Karma Specs

Fix static type check in gemojione and check if already registered

Testing if the Emoji Support Check is failing Rspec

Change of CLass Name, returning true on check to test

Fixes failing Emoji RSpec Tests

Moved Emojis into public/-/emojis/1/

Fixed Linting Errors in gl_emoji

Fix to fixtures creation for emojis

Fixed path spec for new subdirectory -/emojis

Optimized emojis.json output

Fix for Emoji Spec failure due to unicode dataset

Better catch handling for emojis
2019-03-07 09:33:03 +00:00
Dimitrie Hoekstra 7cdab4da83 Changed default tooltip position to be top, instead of bottom
- Tooltips, by default, will display at the top of the element, instead
of at the bottom
- Note actions and emoji awards tooltips are now top-positioned
2019-02-06 13:28:25 +00:00
Dennis Tang 4edcb02f94 Resolve "Add status message from within user menu" 2018-10-04 08:19:51 +00:00
Chantal Rollison 009c4f7fb8 Allows author to vote on their own issue 2018-08-24 10:13:41 +00:00
Winnie Hellmann 1c10e0147f Restyle status message input on profile settings 2018-08-07 21:31:43 +02:00
Felipe Artur 3e66795ef1 Changes tab VUE refactoring 2018-06-21 12:22:40 +00:00
Clement Ho f8705d4fa1 Replace tooltip('destroy') with tooltip('dispose') 2018-04-19 14:16:18 -05:00
Clement Ho 1536c69f6a Convert fixTitle to _fixTitle for regenerating tooltip titles 2018-04-19 10:40:23 -05:00
Kushal Pandya 1f27c63825 Use `isInVueNoteablePage` from dom_utils 2018-04-05 13:54:59 +05:30
Jan Provaznik 65664c2eae Refactor discussions/notes code 2018-04-03 16:03:00 +00:00
Mike Greiling f248be7257
require jQuery to be explicitly imported 2018-03-09 15:18:09 -06:00
Fatih Acet 059ab73b8e Render MR Notes with Vue with behind a cookie 2018-02-28 00:10:43 +00:00
Jacob Schatz 35c8fd5586 Update to jQuery 3. 2018-02-20 22:20:48 +00:00
Jared Deckard 37a396560c Don't reset the awards block when the emoji search is clicked 2018-02-07 08:28:16 -06:00
Clement Ho 10a2d95a7b Remove namespaced internationalization import 2018-01-31 21:53:40 +00:00
Clement Ho 3c0aa44fa9 Replace $.post in awards handler with axios 2018-01-29 12:32:22 +00:00
Phil Hughes fa2af5e0f5
Flash is now a ES6 module
Reduced the technical debt around our JS flash function by making it a
module that is imported rather than relying on the global function.
The global function still exists mainly for technical debt with how
some requests are being completed, but new JS should import the module
directly.

Also reduces some tech debt in the file by removing the need for jQuery.
Instead Flash is now 100% vanilla JS.
2017-10-10 10:14:22 +01:00
Fatih Acet 3446262169 Merge branch 'emoji-dom-size' into 'master'
Improve emoji menu rendering performance

Closes #36949

See merge request gitlab-org/gitlab-ce!14233
2017-09-22 09:49:00 +00:00
Bryce Johnson 014bbe6562 Remove eslint-disable, and use arrow function. 2017-09-20 15:17:08 -04:00
Bryce Johnson 8349782f7f Reverse order in showMenuElement for readability. 2017-09-20 15:11:36 -04:00
Bryce Johnson 8990410ec8 Remove emoji-menu from the render tree when hidden. 2017-09-19 19:56:59 -04:00
Filipa Lacerda 6a1b84c7b4 Use modules in common utils 2017-09-09 09:54:24 +01:00
Fatih Acet 48acfb5c05 IssueNotesRefactor: Show Cmd+Enter to comment tooltip. 2017-08-21 21:48:09 +03:00
Fatih Acet a75de77e10 IssueNotesRefactor: Fix award handler. 2017-08-18 19:02:00 +03:00
Fatih Acet 200cc4f167 IssueNotesRefactor: Stop making request for disabled emojis. 2017-08-18 03:18:10 +03:00
Filipa Lacerda e4f8aa719b Merge branch 'master' into issue-discussions-refactor
* master: (162 commits)
  Since mysql is not a priority anymore, test it less
  Add container registry and spam logs icons
  Fix different Markdown styles
  Backport to CE for:
  Make new dropdown dividers full width
  Bump GITLAB_SHELL_VERSION and GITALY_VERSION to support unhiding refs
  Install yarn via apt in update guides
  Use long curl options
  Remove monkey-patched Array.prototype.first() and last() methods
  Openshift Getting Started
  35659 Rename Pipelines tab to CI / CD in new navigation
  Don't bother going through an entire Banzai pipeline for empty text
  Add active state for pipelines settings on old nav
  Bump rspec to 3.6.0
  Resolve "Specific Async Script Loading by using a Page Variable"
  Revert "Merge branch 'rs-warm-capybara-only-in-ci' into 'master'"
  another rubocop style fix
  Use mixin for new dropdown style
  Migrate Repository#last_commit_for_path to Gitaly
  Migrate blame loading to Gitaly
  ...
2017-08-04 19:38:37 +01:00
Tim Zallmann dab08be606 Resolve "Specific Async Script Loading by using a Page Variable" 2017-08-03 20:31:53 +00:00
Filipa Lacerda 7a98970bd8 [ci skip] Removes Vue from awards handler code 2017-08-01 18:23:59 +01:00
Filipa Lacerda 9ff88aa283 [ci skip] Uses jquery to get correct note in awards 2017-07-29 23:42:30 +01:00
Fatih Acet 3d4d9c5ab9 IssueNotesRefactor: Fix adding main note awards. 2017-07-21 22:35:25 +03:00
Fatih Acet a32f291a9e IssueNotesRefactor: Separate mounted blocks to methods. 2017-07-21 22:35:25 +03:00
Fatih Acet 7edc1bc3a6 IssueNotesRefactor: Implement awarding emoji from emoji dropdown. 2017-07-21 22:35:25 +03:00
Mike Greiling f26d477865 dynamically import emoji helpers for AwardsHandler class 2017-06-28 13:04:34 -05:00
Mike Greiling 88e12ac94b revert removal of requestAnimationFrame and move to a separate MR/discussion 2017-06-27 08:51:52 -05:00
Mike Greiling a2a276a815 rename getEmojiCategoryMap and remove unnecessary parameter 2017-06-27 08:51:52 -05:00
Mike Greiling 9d6bbc92c9 move glEmojiTag method to emoji helper 2017-06-27 00:54:34 -05:00
Mike Greiling 82d67f700e namespace emoji helper methods within AwardsHandler class 2017-06-26 16:03:36 -05:00
Mike Greiling 8455e8c481 move emoji category index to helper method 2017-06-26 14:10:02 -05:00
Mike Greiling 73c5c00133 move emojiAlias logic into helper module 2017-06-26 14:10:02 -05:00
Mike Greiling a7b603a2ac fix method definition styling 2017-06-26 14:10:01 -05:00
Mike Greiling b7a0044a70 move normalizeEmojiName method to emoji helper module 2017-06-26 14:10:01 -05:00
Mike Greiling 35ee21d992 remove problematic use of requestAnimationFrame 2017-06-26 14:10:01 -05:00
Mike Greiling d099744dd4 centralize emoji helper methods 2017-06-23 14:23:20 -05:00
Mike Greiling 3b4c07ac5f refactor AwardsHandler into es class syntax 2017-06-17 22:28:37 -05:00
Kushal Pandya d586b6cced Add ES lint support to identify poorly written Promises 2017-04-20 11:11:51 +00:00
Alfredo Sumaran eeaeb2752a Merge branch '27655-clear-emoji-search-after-selection' into 'master'
Clear emoji search in awards menu after picking emoji

Closes #27655

See merge request !10524
2017-04-17 05:35:34 +00:00
barthc 04e2dde538 frontend prevent authored votes 2017-04-14 09:33:28 +01:00
Eric Eastwood 0370c7c838 Clear emoji search in awards menu after picking emoji
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/27655
2017-04-13 02:22:57 -05:00