From 3a209e2fea381a4df24a9cd454b30384088a7b69 Mon Sep 17 00:00:00 2001 From: NEETzsche <8018262-NEETzsche@users.noreply.gitlab.com> Date: Fri, 18 Jun 2021 16:04:31 +0000 Subject: [PATCH] Schedule posts --- app/soapbox/actions/compose.js | Bin 15631 -> 16129 bytes .../compose/components/compose_form.js | Bin 12077 -> 12358 bytes .../compose/components/schedule_button.js | Bin 0 -> 1308 bytes .../compose/components/schedule_form.js | Bin 0 -> 2280 bytes .../containers/compose_form_container.js | Bin 2163 -> 2214 bytes .../containers/schedule_button_container.js | Bin 0 -> 608 bytes .../containers/schedule_form_container.js | Bin 0 -> 487 bytes app/soapbox/locales/en.json | 3 ++ app/soapbox/reducers/compose.js | Bin 14220 -> 14648 bytes app/styles/components/compose-form.scss | 13 +++++- app/styles/ui.scss | 4 ++ package.json | 1 + yarn.lock | 40 ++++++++++++++++++ 13 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 app/soapbox/features/compose/components/schedule_button.js create mode 100644 app/soapbox/features/compose/components/schedule_form.js create mode 100644 app/soapbox/features/compose/containers/schedule_button_container.js create mode 100644 app/soapbox/features/compose/containers/schedule_form_container.js diff --git a/app/soapbox/actions/compose.js b/app/soapbox/actions/compose.js index 54519c112d24f6e5232b64511b04b6015d7ab98e..bd91daaae5b351f4be489b8f96ce42578c6c4548 100644 GIT binary patch delta 305 zcmeCLYOLEJ%RBiSyQq4wvxloosE=#Bql=3I5ZEfHJNx?v_y@bjBTG%*$SHwP8|)f_ zOD#|eq*fEIImp%5Kg<=YxnQZy61=@^Yzj3s3emBfmkP77^Asm%q^6YSq^86tmQ4OH zp&$qoP>_s5d6>w~`kqPA!4SX{02Uq)xslqa+3M gC(wa9Tp-tjWUN5s delta 68 zcmZpy>#y1%%e(m=ZwK4v91%8ljr5}Y(t`NR6e|TVOTivO>!qibXsBnVsB0=%Ddd&r QbxP3Y)L+2+8v+DA>RZcFQlyoouHox%rv44ur_W(2=nH5%nh8A<2iXZui#~spFB%XaPu=AYsSsqdcPR~104;I diff --git a/app/soapbox/features/compose/components/schedule_button.js b/app/soapbox/features/compose/components/schedule_button.js new file mode 100644 index 0000000000000000000000000000000000000000..31218fcaf636b77105c55635d75cf83da84055c2 GIT binary patch literal 1308 zcmah|O^?$s5WVMD%mK-*)TV+9sB9L*Uf2U@wadNh#?!6Av4ibYEm8hEBPnRN@1y3- z2W#pdml|D6tm%L4gJF(oLEu4Z{D#i)7j!F-`X`qDUV8;yifAp#M2Q)-avrLf0L4{> zMVkR|A$G1jqG%Lup#>?nz(zv^nx{c*70U2N`G|z#pJD;14K+L%3yOQR47wGyuvnQB z{=dsr+-r>drpfw`G;t~{gB$EKB4s}68J8h4#_iK(Hy=RHNV-=sD__$ HA-e1@RvxN% literal 0 HcmV?d00001 diff --git a/app/soapbox/features/compose/components/schedule_form.js b/app/soapbox/features/compose/components/schedule_form.js new file mode 100644 index 0000000000000000000000000000000000000000..13b1d4f38d87f549fa2c41c9835255d9dff1db5d GIT binary patch literal 2280 zcmZ`*-*4MC5PtVxaeb*M%#k|`dvW9LAw`e^OA|DC8;U}a&M`NM)JUpMq56N{9Z89@ zoe6%B?>^pr_mj$ci(s9RmCN2Q7P9TMaqtDp%E8v?7Ba){q>HM1qr1l+9onew=>LUd zLBb4BX{C@%9OgzY4A%Y299H92D!fH&%V)Gpkm_$b^+~zrWes zN!)pHf(H5*Nwun_bt@m#Oj=Zy`7emKbYkLq%vX<$fWvZe$k}C6S_==+=(RR2;EO|5+fat$N>fo3DhI=Y z-MiAs3OMhf4jYmKJtK`ZOf@Pbg;S~u@3w+n=Sz>|Y|c^oiPK(4`vw2)B~>ZFv>I8> z!P{O{XHaSp`JFP7JU?mOu$cpeNZinkwglHACs|9vnUt`oFWd+!#HMJ zBwE1~0}kv&cc?hZ&>CJDUXwSu1@VRrC&fqvz@Y1m3jVx7fCOcZcjQ1g)1xQlA=Ox% zkFvhiy>cQs`~T2p(Tr7#kw&9bHq%#58{uP4Hf`VGDD;_)shK61x_0s$yQ+ASsunCw z%%#2RjiI)>GuJ%@j-0xa;)IO&EWq2hpm6UySmd0I8{Hc#-Yp^ia=4^8cECw~vC6)3%5Lf7=P zs>l?y!6k_M2FYy+d#y4zH5~BtT3{By`-`U4VncI*HD_k-+p~??k10AQJEL`ZWGN|p zPP`qeLrrzf<52iEoi#}qFZlTr-h|Tfumq-q=Q}npsJ>~AIygj<=86{U*dJ`M52U8I3!~;j4gXex}Dy02_8IV5_2=~LMz=SyQK%}CH$ZVcI&oGu-RlxVV%@_Q+6~hSG-_9mo0A2E`y5*NoTaW z+Lh`VH^b=+B}QFSR=Cp*RqT;gb%ciH#H+Q~`k3SD7vpVGjCsqGsjX}%XwG)D^6FHc z;yKOr| M7IsgCw literal 0 HcmV?d00001 diff --git a/app/soapbox/features/compose/containers/compose_form_container.js b/app/soapbox/features/compose/containers/compose_form_container.js index 0a7cefc96b6321287bff5e1b61b804ce79fb43d1..ba0f43c6942905e0bdc516f9bc6aff46043d9348 100644 GIT binary patch delta 36 lcmew?uuO2nTox_`h2rFl)RfYk)X8})G8{0@<{2!vnE~^K4MqR} delta 12 UcmZ1`_*r1XT$arjSgtVx03`YaYybcN diff --git a/app/soapbox/features/compose/containers/schedule_button_container.js b/app/soapbox/features/compose/containers/schedule_button_container.js new file mode 100644 index 0000000000000000000000000000000000000000..472155284ddbd940ed6d453963ffad591af8b1a8 GIT binary patch literal 608 zcmah{!D_=W487+o-Yqs{?Y*NLth?+s=x$>aFHzR8#16Jo3Z?%(IgZ=3mw_*mp5A+s z)pWhF9w(GWYbrg?sIBRcTT-Qeuv87l{4r}HY+LR*(bCJ{z0nhLu~?Rd>zcH8OE*Dw z-y`PQdxEN}L{Pv|XAYF&i!77H$LfvIE>b&Uo{TLzk52VluRML2cWZiwHCza>eu6k< zKxjPBDrOfyUb&v+or`v-k;#Pt9G literal 0 HcmV?d00001 diff --git a/app/soapbox/features/compose/containers/schedule_form_container.js b/app/soapbox/features/compose/containers/schedule_form_container.js new file mode 100644 index 0000000000000000000000000000000000000000..da48873008316e604236be456cbceb0cdaf544f4 GIT binary patch literal 487 zcma)(F>Avx5QTUDinmz?*V$9jE~U_|kZhq8A)gzAEg9)t0>=Nn=g3Mzrh*oozIX5G zuI&fs854}NmJDM?<6V#3lQ#V1sUFYybJj*|Z%$I^=-v5#<*I69oV;4H95!JEz8fKK zx(R_eiLVwSjYphXXG3fhNOYOR35;G3d)7<`_vzgbutQj`*u6ka8IbI@v0nWUe^_