lbry-desktop/ui/constants/icons.js

184 lines
6.2 KiB
JavaScript
Raw Permalink Normal View History

2019-01-22 21:36:28 +01:00
// React Feather icons
// https://github.com/carmelopullara/react-feather
// Note: Icons should be named for their purpose, rather than the actual icon.
// The goal being to reduce multiple uses of the same icon for different purposes.
Playlistorder (#7442) * Add horizontal layout (#636) * Test out a horizontal scroll for upcoming (tile only for now) * - add support for list layout - add following label on home page - clan up css and naming conventions * Update header type + show only if scheduled streams are showing * [Playlist] Pull in sorting changes from desktop + Add Drag-n-Drop + Handle unavailable/deleted claims (#641) * Add ordering Icons * Refactor doCollectionEdit - It required claims as parameter, when only uris are used to populate the collection, so that was changed to pass down the uris instead. - There were unused and mostly unnecessary functions inside, for example the parameter claimIds was never used so it would never enter the claimSearch function which again would be used to generate uris, so it's better to just use uris as parameter * Add List Reordering changes * Add toggle button for list editing * Add toggle on content page collection sidebar * Enable drag-n-drop to re-order list items https://www.youtube.com/watch?v=aYZRRyukuIw * Allow removing all unavailable claims from a List * Fix <g> on icons * Fix section buttons positioning * Move preventDefault and stopPropagation to buttons div instead of each button, preventing clicking even if disabled opening the claim * Change dragging cursor * Fix sizing * Fix dragging component * Restrict dragging to vertical axis * Ignore shuffle state for ordering * Fix console errors * Mobile fixes * Fix sidebar spacing * Fix grey on mobile after click * cleanup Co-authored-by: Dan Peterson <dan@dan-peterson.ca> Co-authored-by: saltrafael <76502841+saltrafael@users.noreply.github.com>
2022-01-27 16:20:21 +01:00
export const REWARDS = 'Award';
2018-03-26 23:32:43 +02:00
export const LOCAL = 'Folder';
export const ALERT = 'AlertCircle';
export const INFO = 'InfoCircle';
export const COPY = 'Clipboard';
2018-03-26 23:32:43 +02:00
export const ARROW_LEFT = 'ChevronLeft';
export const ARROW_RIGHT = 'ChevronRight';
export const DOWNLOAD = 'Download';
2019-06-28 09:33:07 +02:00
export const PUBLISH = 'UploadCloud';
export const FETCH = 'Fetch';
export const REMOVE = 'X';
2019-06-11 20:10:58 +02:00
export const ADD = 'Plus';
export const SUBTRACT = 'Subtract';
export const EDIT = 'Edit';
2019-01-22 21:36:28 +01:00
export const DELETE = 'Trash';
2018-03-26 23:32:43 +02:00
export const REPORT = 'Flag';
export const HELP = 'HelpCircle';
2019-01-22 21:36:28 +01:00
export const CHAT = 'MessageCircle';
2020-06-21 21:19:26 +02:00
export const FEEDBACK = 'MessageSquare';
2018-03-26 23:32:43 +02:00
export const SEARCH = 'Search';
2019-01-22 21:36:28 +01:00
export const CHANNEL = 'AtSign';
2018-03-26 23:32:43 +02:00
export const REFRESH = 'RefreshCw';
2019-01-22 21:36:28 +01:00
export const HISTORY = 'Clock';
2018-03-26 23:32:43 +02:00
export const HOME = 'Home';
2019-06-17 22:32:38 +02:00
export const OVERVIEW = 'Activity';
export const WALLET = 'List';
2021-03-25 12:24:49 +01:00
export const COIN_SWAP = 'CoinSwap';
2018-03-26 23:32:43 +02:00
export const PHONE = 'Phone';
2019-01-22 21:36:28 +01:00
export const COMPLETE = 'Check';
export const COMPLETED = 'CheckCircle';
2020-09-03 22:05:38 +02:00
export const NOT_COMPLETED = 'Circle';
2019-06-28 09:33:07 +02:00
export const SUBSCRIBE = 'Heart';
export const SUBSCRIBED = 'HeartSolid';
2019-02-07 07:28:37 +01:00
export const UNSUBSCRIBE = 'BrokenHeart';
2020-11-02 17:51:08 +01:00
export const BELL = 'Bell';
export const BELL_ON = 'BellOn';
export const UNLOCK = 'Unlock';
2019-09-30 23:48:30 +02:00
export const LOCK = 'Lock';
2019-01-22 21:36:28 +01:00
export const WEB = 'Globe';
export const SHARE = 'Share2';
export const EXTERNAL = 'ExternalLink';
2018-06-19 00:16:22 +02:00
export const PLAY = 'Play';
export const PLAY_PREVIOUS = 'Play Previous';
2018-09-12 18:42:15 +02:00
export const FACEBOOK = 'Facebook';
export const TWITTER = 'Twitter';
2020-03-27 19:57:03 +01:00
export const TELEGRAM = 'Telegram';
export const REDDIT = 'Reddit';
export const LINKEDIN = 'LinkedIn';
export const EMBED = 'Embed';
export const MORE = 'More';
export const SHARE_LINK = 'ShareLink';
export const COPY_LINK = 'CopyLink';
2019-04-01 01:04:01 +02:00
export const ACCOUNT = 'User';
2018-10-19 22:38:07 +02:00
export const SETTINGS = 'Settings';
export const FILTER = 'Filter';
2019-01-22 21:36:28 +01:00
export const INVITE = 'Users';
export const FILE = 'File';
2019-05-26 08:18:47 +02:00
export const FULLSCREEN = 'Maximize';
2019-02-18 18:24:56 +01:00
export const OPTIONS = 'Sliders';
export const YES = 'ThumbsUp';
export const NO = 'ThumbsDown';
export const UP = 'ChevronUp';
2021-12-02 07:00:55 +01:00
export const UP_TOP = 'ChevronUpTop';
export const DOWN = 'ChevronDown';
2021-12-02 07:00:55 +01:00
export const DOWN_BOTTOM = 'ChevronDownBottom';
Playlistorder (#7442) * Add horizontal layout (#636) * Test out a horizontal scroll for upcoming (tile only for now) * - add support for list layout - add following label on home page - clan up css and naming conventions * Update header type + show only if scheduled streams are showing * [Playlist] Pull in sorting changes from desktop + Add Drag-n-Drop + Handle unavailable/deleted claims (#641) * Add ordering Icons * Refactor doCollectionEdit - It required claims as parameter, when only uris are used to populate the collection, so that was changed to pass down the uris instead. - There were unused and mostly unnecessary functions inside, for example the parameter claimIds was never used so it would never enter the claimSearch function which again would be used to generate uris, so it's better to just use uris as parameter * Add List Reordering changes * Add toggle button for list editing * Add toggle on content page collection sidebar * Enable drag-n-drop to re-order list items https://www.youtube.com/watch?v=aYZRRyukuIw * Allow removing all unavailable claims from a List * Fix <g> on icons * Fix section buttons positioning * Move preventDefault and stopPropagation to buttons div instead of each button, preventing clicking even if disabled opening the claim * Change dragging cursor * Fix sizing * Fix dragging component * Restrict dragging to vertical axis * Ignore shuffle state for ordering * Fix console errors * Mobile fixes * Fix sidebar spacing * Fix grey on mobile after click * cleanup Co-authored-by: Dan Peterson <dan@dan-peterson.ca> Co-authored-by: saltrafael <76502841+saltrafael@users.noreply.github.com>
2022-01-27 16:20:21 +01:00
export const DRAG = 'DragAndDrop';
2019-03-05 05:46:57 +01:00
export const SECURE = 'Lock';
export const MENU = 'Menu';
2019-03-28 17:53:13 +01:00
export const BACKUP = 'Database';
export const TRANSACTIONS = 'FileText';
2019-03-29 16:23:45 +01:00
export const LBRY = 'Lbry';
2020-09-02 22:08:37 +02:00
export const LBC = 'LBC';
2019-04-01 01:04:01 +02:00
export const DISCOVER = 'Compass';
2019-04-03 07:56:58 +02:00
export const VISUALIZER_ON = 'Eye';
export const VISUALIZER_OFF = 'EyeOff';
export const MUSIC_DETAILS_ON = 'AlignLeft';
export const MUSIC_DETAILS_OFF = 'AlignLeft';
export const MUSIC_ART_ON = 'Image';
export const MUSIC_ART_OFF = 'Image';
export const MUSIC_ALBUM = 'Disc';
export const MUSIC_ARTIST = 'Mic';
export const MUSIC_SONG = 'Music';
export const MUSIC_EQUALIZER = 'Sliders';
2019-06-17 22:32:38 +02:00
export const LIGHT = 'Sun';
export const DARK = 'Moon';
export const LIBRARY = 'Folder';
2019-07-11 20:16:39 +02:00
export const TAG = 'Tag';
2019-07-17 20:04:50 +02:00
export const SUPPORT = 'TrendingUp';
export const BLOCK = 'Slash';
export const MUTE = 'VolumeX';
export const UNBLOCK = 'Circle';
2019-08-13 07:35:13 +02:00
export const VIEW = 'View';
2019-08-20 14:29:59 +02:00
export const EYE = 'Eye';
export const EYE_OFF = 'EyeOff';
2019-08-21 22:54:44 +02:00
export const SIGN_OUT = 'SignOut';
export const SIGN_IN = 'SignIn';
export const SIGN_UP = 'Key';
2020-01-02 17:30:27 +01:00
export const TRENDING = 'Trending';
export const TOP = 'Top';
2020-01-07 22:08:39 +01:00
export const NEW = 'New';
export const MORE_VERTICAL = 'MoreVertical';
2020-01-28 20:52:17 +01:00
export const IMAGE = 'Image';
export const AUDIO = 'HeadPhones';
export const VIDEO = 'Video';
export const VOLUME_MUTED = 'VolumeX';
2020-01-28 20:52:17 +01:00
export const TEXT = 'FileText';
export const DOWNLOADABLE = 'Downloadable';
2020-07-29 22:30:26 +02:00
export const POST = 'Post';
2020-01-31 17:43:14 +01:00
export const REPOST = 'Repeat';
2020-02-12 20:10:35 +01:00
export const VALIDATED = 'Check';
export const SLIDERS = 'Sliders';
export const SCIENCE = 'Science';
2020-03-18 18:33:17 +01:00
export const ANALYTICS = 'BarChart2';
export const PURCHASED = 'Key';
export const CIRCLE = 'Circle';
export const PINNED = 'Pinned';
2020-06-01 19:03:19 +02:00
export const BUY = 'Buy';
export const SEND = 'Send';
export const RECEIVE = 'Receive';
2020-06-29 21:54:07 +02:00
export const CAMERA = 'Camera';
2020-06-21 21:19:26 +02:00
export const OPEN_LOG = 'FilePlus';
export const OPEN_LOG_FOLDER = 'Folder';
export const LBRY_STATUS = 'BarChart';
2020-07-23 16:22:57 +02:00
export const NOTIFICATION = 'Bell';
2020-08-21 17:49:13 +02:00
export const LAYOUT = 'Layout';
2020-08-24 19:35:21 +02:00
export const REPLY = 'Reply';
2020-09-03 22:05:38 +02:00
export const YOUTUBE = 'Youtube';
export const UPVOTE = 'Upvote';
export const DOWNVOTE = 'Downvote';
export const CONTROVERSIAL = 'Controversial';
2021-03-06 03:34:47 +01:00
export const RABBIT_HOLE = 'Droplet';
export const TECH = 'Speaker';
export const NEWS = 'Aperature';
export const FINANCE = 'DollarSign';
export const ENLIGHTENMENT = 'Anchor';
export const GAMING = 'Gaming';
export const COMMUNITY = 'Community';
2020-10-06 23:34:26 +02:00
export const FIRE_ACTIVE = 'FireActive';
export const SLIME_ACTIVE = 'SlimeActive';
export const FIRE = 'Fire';
export const SLIME = 'Slime';
export const PIN = 'Pin';
export const BEST = 'Best';
2020-10-27 17:24:31 +01:00
export const CREATOR_LIKE = 'CreatorLike';
export const CHEF = 'Chef';
export const ANONYMOUS = 'Anonymous';
export const CHANNEL_LEVEL_1 = 'ChannelLevel1';
export const CHANNEL_LEVEL_2 = 'ChannelLevel2';
export const CHANNEL_LEVEL_3 = 'ChannelLevel3';
export const CHANNEL_LEVEL_4 = 'ChannelLevel4';
export const CHANNEL_LEVEL_5 = 'ChannelLevel5';
export const MOVIES = 'Movies';
2021-03-06 03:34:47 +01:00
export const WILD_WEST = 'WildWest';
export const UNIVERSE = 'Universe';
export const CHEESE = 'Cheese';
export const PEACE = 'Peace';
export const PORK_BUN = 'PorkBun';
2021-04-13 05:52:50 +02:00
export const MIND_BLOWN = 'MindBlown';
wip wip wip - everything but publish, autoplay, and styling collection publishing add channel to collection publish cleanup wip bump clear mass add after success move collection item management controls redirect replace to published collection id bump playlist selector on create bump use new collection add ui element bump wip gitignore add content json wip bump context add to playlist basic collections page style pass wip wip: edits, buttons, styles... change fileAuthor to claimAuthor update, pending bugfixes, delete modal progress, collection header, other bugfixes bump cleaning show page bugfix builtin collection headers no playlists, no grid title wip style tweaks use normal looking claim previews for collection tiles add collection changes style library previews collection menulist for delete/view on library delete modal works for unpublished rearrange collection publish tabs clean up collection publishing and items show on odysee begin collectoin edit header and css renaming better thumbnails bump fix collection publish redirect view collection in menu does something copy and thumbs list previews, pending, context menus, list page enter to add collection, lists page empty state playable lists only, delete feature, bump put fileListDownloaded back better collection titles improve collection claim details fix horiz more icon fix up channel page style, copy, bump refactor preview overlay properties, fix reposts showing as floppydisk add watch later toast, small overlay properties on wunderbar results, fix collection actions buttons bump cleanup cleaning, refactoring bump preview thumb styling, cleanup support discover page lists search sync, bump bump, fix sync more enforce builtin order for now new lists page empty state try to indicate unpublished edits in lists bump fix autoplay and linting consts, fix autoplay bugs fixes cleanup fix, bump lists experimental ui, fixes refactor listIndex out hack in collection fallback thumb bump
2021-02-06 08:03:51 +01:00
export const STACK = 'stack';
export const TIME = 'time';
2021-06-16 04:27:58 +02:00
export const GLOBE = 'globe';
2021-07-02 18:38:19 +02:00
export const RSS = 'rss';
export const APPEARANCE = 'Appearance';
export const CONTENT = 'Content';
2021-07-07 20:10:59 +02:00
export const STAR = 'star';
2021-07-22 23:29:57 +02:00
export const MUSIC = 'MusicCategory';
export const BADGE_MOD = 'BadgeMod';
export const BADGE_STREAMER = 'BadgeStreamer';
export const REPLAY = 'Replay';
export const REPEAT = 'Repeat';
export const SHUFFLE = 'Shuffle';
2021-10-01 19:41:00 +02:00
export const HOLD_PHONE = 'HoldPhone';
2021-09-30 15:01:24 +02:00
export const LIFE = 'Life';
export const ARTISTS = 'Artists';
export const MYSTERIES = 'Mysteries';
export const TECHNOLOGY = 'Technology';
Bringing in emotes, stickers, and refactors from ody (#7435) * [New Feature] Comment Emotes (#125) * Refactor form-field * Create new Emote Menu * Add Emotes * Add Emote Selector and Emote Comment creation ability * Fix and Split CSS * [New Feature] Stickers (#131) * Refactor filePrice * Refactor Wallet Tip Components * Add backend sticker support for comments * Add stickers * Refactor commentCreate * Add Sticker Selector and sticker comment creation * Add stickers display to comments and hyperchats * Fix wrong checks for total Super Chats * Stickers/emojis fall out / improvements (#220) * Fix error logs * Improve LBC sticker flow/clarity * Show inline error if custom sticker amount below min * Sort emojis alphabetically * Improve loading of Images * Improve quality and display of emojis and fix CSS * Display both USD and LBC prices * Default to LBC tip if creator can't receive USD * Don't clear text-field after sticker is sent * Refactor notification component * Handle notifications * Don't show profile pic on sticker livestream comments * Change Sticker icon * Fix wording and number rounding * Fix blurring emojis * Disable non functional emote buttons * new Stickers! (#248) * Add new stickers (#347) * Fix cancel sending sticker (#447) * Refactor scrollbar CSS for portal components outside of main Refactor channelMention suggestions into new textareaSuggestions component Install @mui/material packages Move channel mentioning to use @mui/Autocomplete combobox without search functionality Add support for suggesting Emotes while typing ':' Improve label to display matching term Add back and improved support for searching while mentioning Add support for suggesting emojis Fix non concatenated strings Add key to groups and options Fix dispatch props Fix Popper positioning to be consistent Fix and Improve searching Add back support for Winning Uri Filter default emojis with the same name as emotes Remove unused topSuggestion component Fix text color on darkmode Fix livestream updating state from both websocket and reducer and causing double of the same comments to appear Fix blur and focus commentCreate events Fix no name after @ error * desktop tweaks Co-authored-by: saltrafael <76502841+saltrafael@users.noreply.github.com> Co-authored-by: Thomas Zarebczan <tzarebczan@users.noreply.github.com> Co-authored-by: Rafael <rafael.saes@odysee.com>
2022-01-24 17:07:09 +01:00
export const EMOJI = 'Emoji';
export const STICKER = 'Sticker';