Skip to content

Fix #492 - Add image filters (#694) - #756

Merged
gideonthomas merged 1 commit into
mozilla:masterfrom
gideonthomas:instagram-with-styling2
May 10, 2017
Merged

Fix #492 - Add image filters (#694)#756
gideonthomas merged 1 commit into
mozilla:masterfrom
gideonthomas:instagram-with-styling2

Conversation

@gideonthomas

Copy link
Copy Markdown

Moved over from #694 and contains @timmoy's work.

updated code to load hidden image and use that url to load our canvas; indentation fixes, added basic error handling for callback of line 24
attempt to take the code from filters.js and put it into ImageViewer.js fixes the swatches not loading and allows canvas to be shown for multiple images, but save problem persists
First fixes
Abstract base64 to buffer conversion logic
Cleanup image filter code
Update main.js
"added a comma to fix build error"
got rid of extra lines that weren't working with current build
reverted change to dimensionString
fixed a capitalization typo for Image.js require
updated caman library with comment block for details of license, url, etc
updated base64toBuffer to be in fileUtils
fixed a variable name typo [FileUtils] to [FilerUtils]
updated to make text fixes (IMAGE_FILTER to IMAGE_FILTERS_TITLE and alignment), and removed the filesystemRefresh function (seems stable from my testing)
Some styling updates to the image filter UI.
Added a progress spinner
De-selecting selected filter after it's applied to the image.
Hard to force a style override and fixed a nit.
Code style fixes
@gideonthomas
gideonthomasforce-pushed the instagram-with-styling2 branch from 19b22f5 to a78c247CompareMay 10, 2017 04:50
@gideonthomas
gideonthomas merged commit a78c247 into mozilla:masterMay 10, 2017
@gideonthomas

Copy link
Copy Markdown
Author

I finished this PR up with a few small changes. @timmoy thank you very much for your contribution! You have added a really neat feature to Thimble that a lot of people will be excited to see. Also thanks to @flukeout for design fixes.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@gideonthomas@timmoy