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]
https://effective.af/
Other
84 stars 10 forks source link

Make task description editing Android-friendly #30

Open elimisteve opened 5 years ago

elimisteve commented 5 years ago

@4xdk draft-js doesn't work on Android! :frowning: 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: https://github.com/EffectiveAF/effective/blob/2ea48a03c010e58462d49423fc3cc8d003b39446/src/components/Content/RightPanel/TaskDetails/Wysiwyg/Wysiwyg.js#L114 and https://github.com/EffectiveAF/effective/blob/2ea48a03c010e58462d49423fc3cc8d003b39446/src/components/Content/RightPanel/TaskDetails/Wysiwyg/Wysiwyg.js#L15 .

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!

4xdk commented 5 years ago

I'll have a look at this today.

4xdk commented 5 years ago

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.