Page MenuHomePhabricator

/Create fixes + others

Authored by WyldBot on Jan 22 2019, 6:10 PM.



Upgraded image cropper to latest
Modified cropper settings to work better on mobile and allow nearly any sized image file
Displays are name to users before they save as draft or create post
Uses ternary operators in places to clean up code
Started using template literals to clean up code
Fixed addLineBreak function
Only adds a period to text, if - the text is empty and they are trying to upload a picture.. i.e. we would need to create a draft
Hides comment box and post tools when no post
Adds indention for bullet points

Fixes T302, T239, T241, and T242

Test Plan

Test images on mobile
Try a really large image
Test that comment box and post editing tools are removed when there isnt a post

Diff Detail

rWCL Web Client
Lint Not Applicable
Tests Not Applicable

Event Timeline

WyldBot retitled this revision from Will edit on phab to Create fixes + others.Jan 22 2019, 6:13 PM
WyldBot edited the summary of this revision. (Show Details)
WyldBot edited the test plan for this revision. (Show Details)
WyldBot added a reviewer: CLOVIS.
WyldBot retitled this revision from Create fixes + others to /Create fixes + others.
WyldBot edited the summary of this revision. (Show Details)

incorrect indent

This revision now requires changes to proceed.Jan 22 2019, 6:22 PM

Honestly, this is out of my area of expertise. Sorry.

This revision is now accepted and ready to land.Jan 28 2019, 11:06 AM
This revision was automatically updated to reflect the committed changes.