Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ready for review - bufficorn avatar builder for ethdenver 2020 #5636

Merged
merged 10 commits into from
Feb 5, 2020

Conversation

owocki
Copy link
Contributor

@owocki owocki commented Dec 13, 2019

Screen Recording 2020-01-17 at 12 47 PM

This PR adds a new avatar builder to the site.. which can be toggled back and forth between multiple avatars (right now the standard 2d one and the 3d one)

@owocki owocki changed the title WIP - DO NOT MERGE; bufficorn avatar builder WIP - DO NOT MERGE; bufficorn avatar builder for ethdenver 2020 Dec 13, 2019
@codecov
Copy link

codecov bot commented Dec 17, 2019

Codecov Report

Merging #5636 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #5636   +/-   ##
=======================================
  Coverage   29.36%   29.36%           
=======================================
  Files         270      270           
  Lines       23100    23100           
  Branches     3355     3355           
=======================================
  Hits         6784     6784           
  Misses      16027    16027           
  Partials      289      289

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 15c7451...15d9be5. Read the comment docs.

@owocki owocki changed the title WIP - DO NOT MERGE; bufficorn avatar builder for ethdenver 2020 ready for review - bufficorn avatar builder for ethdenver 2020 Jan 17, 2020
@owocki owocki marked this pull request as ready for review January 17, 2020 19:50
@owocki
Copy link
Contributor Author

owocki commented Jan 17, 2020

this is ready for review now!

Copy link
Contributor

@danlipert danlipert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few changes and then we're good to go

@@ -856,13 +856,25 @@ def onboard(request, flow=None):
profile.preferred_payout_address = eth_address
profile.save()
return JsonResponse({'OK': True})

theme = request.GET.get('theme', '3d')
from avatar.views_3d import get_avatar_attrs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move to top of file?


response = {'ids': ids, 'by_category': category_list, }
return response
response = {'ids': ids, 'by_category': category_list, }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this isnt actually a response, please change to a better name :)

@@ -0,0 +1,8062 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 23.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

be careful with this svg and our svg optimizer because will remove all the css, I recommend to try this tool and check what you get if is fine use it instead. https://jakearchibald.github.io/svgomg/

@octavioamu
Copy link
Contributor

image
not sure why but this seems to have some travis errors but not related to the actual code

@thelostone-mc thelostone-mc merged commit 073a011 into master Feb 5, 2020
@thelostone-mc thelostone-mc deleted the kevin/bufficorn_avatar-builder_2 branch June 27, 2020 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants