Giter Club home page Giter Club logo

plugin-emoji-picker-2.x's Introduction

Emoji Picker Plugin for Flex UI 2.x

A Flex Plugin for Twilio Flex Programmable Contact Center. emoji-picker-gif

About the project

The emoji picker component was built from scratch using Twilio Paste. This means that it will blend in with Flex UI styling and look the part when Flex UI is in dark mode. For customizing styling please refer to the Paste design tokens.

Screenshot 2022-07-08 at 14 26 00

To add/remove emojis from the rendered list, simply modify the src/emojis.json file. If adding an emoji, please make sure to specify the category as one of the following. "Smileys & People", "Animals & Nature", "Food & Drink", "Activity", "Travel & Places", "Objects", "Symbols", "Flags".

It is also worth noting that Flex UI uses the 'Inter' font for displaying messages which is not compatible with all emojis. To avoid having a mis-rendered emoji appear in chat, these unsupported emojis have been removed from the picker.

Setup

Clone the repository and enter the main directory:

cd plugin-emoji-picker-2.x

Make sure you have Node.js as well as npm. We support Node >= 10.12 (and recommend the even versions of Node). Afterwards, install the dependencies by running:

# If you use npm
npm install

Make a copy of the example appConfig.js file.

cp public/appConfig.example.js public/appConfig.js

Next, please install the Twilio CLI by running:

brew tap twilio/brew && brew install twilio

Finally, install the Flex Plugin extension for the Twilio CLI:

twilio plugins:install @twilio-labs/plugin-flex

To run the plugin locally (for testing purposes) run:

twilio flex:plugins:start

To deploy the plugin run:

twilio flex:plugins:deploy --changelog "WRITE YOUR CHANGELOG HERE"

For further details on Flex Plugins refer to our documentation on the Twilio Docs page.

Contributing

Any contributions are welcome to this project. Create a pull request, get it approved and make the project better :)

Code of Conduct

Please read the Code of Conduct for further details.

plugin-emoji-picker-2.x's People

Contributors

mannehedlund avatar

Stargazers

Prakhar Bhardwaj avatar Carlos Severo avatar Stu Crew avatar

Watchers

James Cloos avatar  avatar

plugin-emoji-picker-2.x's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.