From 3d64f9647c4e650037754d0d9f9fd5cd8c61d11a Mon Sep 17 00:00:00 2001 From: Sean King Date: Fri, 16 Oct 2020 10:55:35 -0600 Subject: [PATCH] Work on using Emoji Mart picker --- app/application.js | Bin 432 -> 247 bytes .../soapbox_config/components/icon_picker.js | Bin 0 -> 89 bytes .../components/icon_picker_dropdown.js | Bin 0 -> 6204 bytes .../icon_picker_dropdown_container.js | Bin 0 -> 546 bytes app/soapbox/features/soapbox_config/index.js | Bin 17601 -> 17362 bytes .../features/soapbox_config/utils/async.js | Bin 0 -> 116 bytes app/styles/forms.scss | 96 ++---------------- package.json | 2 - yarn.lock | 17 +--- 9 files changed, 12 insertions(+), 103 deletions(-) create mode 100644 app/soapbox/features/soapbox_config/components/icon_picker.js create mode 100644 app/soapbox/features/soapbox_config/components/icon_picker_dropdown.js create mode 100644 app/soapbox/features/soapbox_config/containers/icon_picker_dropdown_container.js create mode 100644 app/soapbox/features/soapbox_config/utils/async.js diff --git a/app/application.js b/app/application.js index 910d2af8d507b149196e1ae5ef6a977398abe6eb..c0f54ff1d5832a5b10e120baca9ec9db194e5906 100644 GIT binary patch delta 10 RcmdnM{GD+^_hc8w8~_+$1PcHF delta 192 zcmey)xPf^>cYRT6VQFSjs)o8lT7F(hW^#UBL1uDxYLR|XYGQJUE}CFUW^su=s+e9< tVsWZ&Nk(dJsvcO6UUG4@5wD=F45 b04s%3>egIbsTE)&s<{-P#^`X>T5|ya!S^3D literal 0 HcmV?d00001 diff --git a/app/soapbox/features/soapbox_config/components/icon_picker_dropdown.js b/app/soapbox/features/soapbox_config/components/icon_picker_dropdown.js new file mode 100644 index 0000000000000000000000000000000000000000..57bff99342d3211ddfda2416884d77ea0b617d66 GIT binary patch literal 6204 zcmbtY%W~Yt72WeIni~U?;$RYGW7C2hN21HDNG409Dhrp3g#mgvEn(1Obc56co`sj* zJK5(8;!Ubjm8|?J`T_q!?xWG&7>;Nrno?0fKW^XWxu>C4Yu#G$QWm8Zi&n2h(&BUS z>4D;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n_ysVaTjTwOsQ>>!(Zzy~DUL}12>Otypd&=?DW z%Dg>q<&BcJc~9sR&)y;7d4FdpUXMuk1uzY>Yw0DhRIAp0cs9iI@eER*Uno@}%i*7V zOLX0_IB_5Ce&*8b1E}|+1%3=%t=_ycvN|Euj_D?F*pQXO{gUceds;DZJlE!yvv0~8LtML{F;oB#p#4N^4{aAT6{af#*zU9Kx5`>DmVE5QNkXm2bbzKV>R6f zGAQ;x;=LGf6bc;j_9cMoa243qHoB&unBRy;;xY6rxHNw$)%DVf&qOlU@SS9pz)d)T zHE>}cDiM?ROI67@!VidR>=^1=y1CTX*VM3583~|}v&NVjnTssmiPA%vLH8HmeJA)K z&*3J1(jYcQcOrk6q865MW`)#o(HmPaxC$aBB;5QX0!zA#vlXyRY8iV^is za`Ozj9OTf>6)#rXl*L*mK`(bs?At*rFCN;#B?Wx{g~HWYT#oP+vf?eEO`L>|Wzea- z4^1K?-otX3)kKhWBnXoNXP}EHdxpuy|4T_YW=DZo`IH56g`&fm59cX&xQVAD3FNek z*{CzRv6yHeDH{w5piWN64Xx^AI#S_*5XPyk{2x>(RB$ zlR?V3e-AaZy`z7avBmrpB)-l2-$r&g$^=9`?8 QykO)I=YhdTdnw9)0XdDqrT_o{ literal 0 HcmV?d00001 diff --git a/app/soapbox/features/soapbox_config/containers/icon_picker_dropdown_container.js b/app/soapbox/features/soapbox_config/containers/icon_picker_dropdown_container.js new file mode 100644 index 0000000000000000000000000000000000000000..abd8bd9cf233026fd2422685546946f603de0128 GIT binary patch literal 546 zcmZWm!ES>v488Lez7eES?nT|HJM>m*+queuQL{qA;-Gax{QFD@E9;~vlI`dB>}TC} z)_E8}Sz}On7@>Byh18)`K6hC4x3o<33_CLFq}3JO!P%~|UnZir+d^5!7&M*=&9HM9 zaOWxl?<52CgwL)0(7$5bK0nsf)=+^{nYbrmD)P|E?!`-wulB@z1bd(@Hf+MYU7Rh8>`cGP?;y-J)h1zprC%&t zi2%s55{d$l8f|>eAo<>4&H=(~?Zw(F6|QfPa$DyiOah~>L97(BDD-EHC{l)ok^eES dinnmk3TxRnemSdnFmN+D`d~&T{-2l4`vC@`xWE7a literal 0 HcmV?d00001 diff --git a/app/soapbox/features/soapbox_config/index.js b/app/soapbox/features/soapbox_config/index.js index cb10bb2688e2756146adf4e634755b944f7780fb..d4c360140786b4dca0b3c0aee245813efd8cf803 100644 GIT binary patch delta 228 zcmX@u$#|)qal>(z$y}^D4w<U#Rg z`9LLksd**E`k6pg@daRI@hK2>n~hknDNJsVW}lp(mdlixGI^uA&IOSk;I63^uPynxK)?9?KKw4(f61$BosplBvgv;ZusUzD1dT%wCA zIC(FN*=BRrOA3<})Qu*;Qk~3GT$)r|Qk0pOu3@G*SwT&5@_j}A$roffHm_IvCnZ~u zlbD>Ek)M;2T4bdVP?TQ~Qdy8%tOwCC`GdLaePc%b5fH_6hLlK*Wpr7 zsI{K_&`w$l#4pxS$j@`mNX$!5)ln!*%qay@If+TBIXcK@Oiple<0!~4C@oO8*j9sG zqM&GNtDvr~V6UK_mZ*@HsH?7^4N;(A1)*yd^728RQ%o*NO$k7Rjcqkj0Mshz108)p KQ*!bKXC(lf{hO-* diff --git a/app/soapbox/features/soapbox_config/utils/async.js b/app/soapbox/features/soapbox_config/utils/async.js new file mode 100644 index 0000000000000000000000000000000000000000..42866579ba52282e4404b2778d759609a9fae594 GIT binary patch literal 116 zcmYeTD9A4=QAjJzOD@UG&r|SB&d&?TOwLX%($G|>=2B27N-ZfZ%2UY91*y}}*HS1? zO)5xC&UVfy&CB*n%uTgYP|5^qiZ1}`Qc}>;SJ%_iPtFHw$V<&DDb`1lRoArUs^tOz DW&