]> git.koha-community.org Git - koha.git/commit
Bug 15794: Add an emoji picker to tag entry in OPAC
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 29 Jan 2018 12:54:53 +0000 (09:54 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 16 Feb 2018 21:12:55 +0000 (18:12 -0300)
commite11fd3060fc49634ffbdf8a5e62192ac48080e6a
tree81c777346665737ca3afdff19193a83d0a7b7733
parent358d5f2ab2856322f3138a35fd08fd879e16bf24
Bug 15794: Add an emoji picker to tag entry in OPAC

This patch introduces an emoji picker int othe OPAC's tag entry form.
It relies on the emoji-picker library [1]

To test:
- Apply the patches
- Restart all services (just in case some caching is taking place):
  $ restart_all
- Log into the OPAC
- Do a search, pick a record
- On the detail page for the record, click on 'Add tags'
=> SUCCESS: An input form is displayed, with an emoji picker on the
    right.
=> SUCCESS: Choosing an emoji populates the input with it
- Set 'TagsModeration' and retry
=> SUCCESS: Proposed tags are displayed correctly on the staff interface
    for tag moderation
- Sign off :-D

Sponsored-by: Hotchkiss School
[1] https://github.com/OneSignal/emoji-picker

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
20 files changed:
koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt
koha-tmpl/opac-tmpl/lib/emoji-picker/css/emoji.css [new file with mode: 0644]
koha-tmpl/opac-tmpl/lib/emoji-picker/css/emoji.css.map [new file with mode: 0644]
koha-tmpl/opac-tmpl/lib/emoji-picker/img/IconsetSmiles.png [new file with mode: 0644]
koha-tmpl/opac-tmpl/lib/emoji-picker/img/IconsetSmiles_1x.png [new file with mode: 0644]
koha-tmpl/opac-tmpl/lib/emoji-picker/img/IconsetW.png [new file with mode: 0644]
koha-tmpl/opac-tmpl/lib/emoji-picker/img/IconsetW_1x.png [new file with mode: 0644]
koha-tmpl/opac-tmpl/lib/emoji-picker/img/blank.gif [new file with mode: 0644]
koha-tmpl/opac-tmpl/lib/emoji-picker/img/emoji_spritesheet_0.png [new file with mode: 0644]
koha-tmpl/opac-tmpl/lib/emoji-picker/img/emoji_spritesheet_1.png [new file with mode: 0644]
koha-tmpl/opac-tmpl/lib/emoji-picker/img/emoji_spritesheet_2.png [new file with mode: 0644]
koha-tmpl/opac-tmpl/lib/emoji-picker/img/emoji_spritesheet_3.png [new file with mode: 0644]
koha-tmpl/opac-tmpl/lib/emoji-picker/img/emoji_spritesheet_4.png [new file with mode: 0644]
koha-tmpl/opac-tmpl/lib/emoji-picker/js/config.js [new file with mode: 0644]
koha-tmpl/opac-tmpl/lib/emoji-picker/js/emoji-picker.coffee [new file with mode: 0644]
koha-tmpl/opac-tmpl/lib/emoji-picker/js/emoji-picker.js [new file with mode: 0644]
koha-tmpl/opac-tmpl/lib/emoji-picker/js/emoji-picker.js.map [new file with mode: 0644]
koha-tmpl/opac-tmpl/lib/emoji-picker/js/jquery.emojiarea.js [new file with mode: 0644]
koha-tmpl/opac-tmpl/lib/emoji-picker/js/util.js [new file with mode: 0644]