debian-mirror-gitlab/app/assets/javascripts/emoji/constants.js

24 lines
605 B
JavaScript
Raw Normal View History

2021-04-17 20:07:23 +05:30
export const FREQUENTLY_USED_KEY = 'frequently_used';
export const FREQUENTLY_USED_COOKIE_KEY = 'frequently_used_emojis';
export const CATEGORY_ICON_MAP = {
[FREQUENTLY_USED_KEY]: 'history',
activity: 'dumbbell',
people: 'smiley',
nature: 'nature',
food: 'food',
travel: 'car',
objects: 'object',
symbols: 'heart',
flags: 'flag',
};
export const EMOJIS_PER_ROW = 9;
export const EMOJI_ROW_HEIGHT = 34;
export const CATEGORY_ROW_HEIGHT = 37;
2022-01-26 12:08:38 +05:30
export const CACHE_VERSION_KEY = 'gl-emoji-map-version';
export const CACHE_KEY = 'gl-emoji-map';
2022-07-23 23:45:48 +05:30
export const NEUTRAL_INTENT_MULTIPLIER = 1;