EffectiveAF / effective

Effective: end-to-end encrypted project management for activists and human rights organizations. Making activists 10x more powerful via ultra effective communities of action and autonomous software. [deprecated]

Home Page:https://effective.af/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make task description editing Android-friendly

elimisteve opened this issue · comments

@4xdk draft-js doesn't work on Android! 😦 I ran into this, sadly: http://engineering.mindlinksoft.com/why-draftjs-doesnt-work-on-android/

@4xdk @Moe-Shoman One of you guys want to do this? Let's just use https://github.com/cryptag/leapchat/blob/32bfca06ddc20c35b437d086f7b04c475256236b/src/components/chat/Message.js#L11-L57 but add the keyboard shortcuts that I added to the current editable descriptions version:

and
if (e.keyCode === 13 /* `enter` key */ && hasCommandModifier(e)) {
.

I should work on auth and backend stuff instead, to prep for Tuesday, but I can jump on this if you guys don't have time in the next 4 days or so!

I'll have a look at this today.

Did you mean to link to https://github.com/cryptag/leapchat/blob/32bfca06ddc20c35b437d086f7b04c475256236b/src/components/chat/MessageForm.js instead? Message.js contains only stuff related to displaying a message, nothing about editing there.