Commit c19b9e4
* add avatar builder view and create basic components
* improve layout responsiveness, add color picker, add completed bullet
* further improve responsive layout
* Add section navigation
* Begin adding assets
* Finish filling in options for body and background
* Add face preview
* add preview for all face sections
* Create all preview layers and order properly
* add short hairstyles and hair color picker
* add long hairstyles in black
* Add remaining hair colors
* Add one color of clothing
* Get accessory preview (mostly) working
* Fix avatar layer positioning
Ported all existing options to new organization except accessories
* Add Facial Hair
* split avatar builder js into its own file
* split avatar builder css into separate file
* move layers logic to js
* display notification when avatar complete
* add skin and hair color pickers
* add fantasy hair colors
* fix style errors
* fix plaid clothing asset
* Add some clothing color options and refactor color picker
* Add 4242F4 clothing option
* Add 43B9F9 clothing option
* add final clothing color F48914
* add button styling
* add placeholder submit action
* fix facial hair positioning
* fix bug where facial hair preview color would not update
* UX and styling tweaks
* add selected style for color picker
* remove selected style for old option in all but accessories section
* make selected state work correctly for accessories
* add checkmark to selected style
* add option hover style
* implement removal of optional layers
* add removeable styles
* standardize some styles
* move avatar builder to onboarding flow and restore functionality
* move avatar builder to onboarding flow
also restored functionality and fixed non-layout styles
* add avatar model
* add renamed avatar builder template
* add avatar migrations and view to set avatar
* move css static file references to css
* optimize images
* create process for rendering and serving a single avatar config
* Switch to background-image instead of img src for correct positioning
optimized svgs lose their size attributes
* tweak beard positioning and add config POST to save btn
* use data attributes as a more cross-browser way to set paths
* switch to rem units for relevant css rules
* merge migration'
* save avatar
* Fix migrations and rename avatar template for onboard usage
* Add BE for template and asset based avatar generation and S3 asset saving
* Add avatars prefix to upload path
* Add custom avatar rendering to profile page
* Add avatar lookup and render before performing standard avatar rendering logic
* Fix
* Changes image path on change of color
* Fixes the buttons in the FTUX flow and avatar page
* Show visual indication for saving and saved
* onboard: minor changes after feedback
- updated content on github.html
- move icons on GitHub page
- green check mark to come after GitHub unlocked ( and metamask )
- reduction spacing between buttons & increase size
- font lighter
- link contributing guide
- remove contributor tips
- remove border-radius on wizard edged
- remove capitalize aka camelcase
- increased min-height of avatar-builder
- added margin-top to avatar section to align it with builder
- updated height of avatar-preview
- updated default background color in avatar
* Dont show button when logged in or metamask locked
* Adjust save avatar response to json and modify update avatar handling
* Update avatar save to record useraction
* Makes the swatches and the avatar area into proper grid
* Update media storage handling to use local FS for local
* Redirect to login in onboard and link on index page
* Save avatar and load it on reload
* Add two new colors to skin
* Reorder color palette for skin
* Whoops
* Fix frontend issues in avatar page
- Rename text in success alert
- Remove the text "Your avatar is complete" which appear when the avatar is saved
- Hide alert when you move to next page
- Move Save button above previous and next
- When all the items in a category (like accessories ) are unchecked -> the left sidebar should reflect status as unchecked (should become a square instead of tick)
- Reduce spacing between heading "Pick your xxx" and the avatar builder
* Adjust avatar on github step
* onboard: fixes
- hide video is user is logged in to metamask
- remove line breaks between first two para
- updated text in Metamask
- rename suggest skills -> suggest skills that apply
- reduce the bullet size of tips section
- link the Get Started here on the footer to the funder form
* Reduce spacing between heading 'Pick your xxx' and the avatar builder
* Re-enable analytics for non-prod envs...
* removed csrf from avatar.html
* when skills autopopulates -> change to plus icon to tick on highlighted skills
* Move existing avatar logic to the avatar app
* added UI for avatar in settings/account
* Add png field to store GH avatars on Avatar and temp file handling
* Fixes avatar reload for non compulsory items
* Adds check for ids in localstorage
* Add onboard url to welcomebot
* Remove 3F2A18 and add EEE3C1 skintones
* Change quickstart link copy
* Do this later button changestep
* Adjust pallete to palette
* hide do later button on save, show on error
* Typos and disable login redirect to accommodate the ftux github login step
* Fixes some more things suggested by Alisa
- Removes shadow from buttons
- Make buttons look same throughout FTUX
- 3 buttons as shown in the screenshot by alisa for avatar
- Do this later works
- Do this later button disabled on saving
* Updates for account settings for avatar editing
* Adjust use_github_avatar on svg av save
* Fix taking to the next step after saving
* Minor avatar handling adjustments
* yapf
* Consolidate migrations
1 parent 5381f5c commit c19b9e4
472 files changed
Lines changed: 2057 additions & 255 deletions
File tree
- app
- app
- assets/v2
- css
- forms
- images
- avatar
- Accessories
- Clothing
- Ears
- Eyes
- FacialHair
- HairStyle
- Head
- Mouth
- Nose
- dataviz
- ios
- social
- js
- pages
- avatar
- migrations
- templates
- accessories
- earring
- glasses
- hat
- clothing
- ears
- eyes
- facial_hair
- beard
- mustache
- hair
- head
- mouth
- nose
- tests
- dashboard
- migrations
- templates
- _dashboard
- ftux
- media
- retail/templates
- settings
- ops/lambdas/welcomebot
- requirements
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | | - | |
| 41 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
232 | 233 | | |
233 | 234 | | |
234 | 235 | | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | 236 | | |
239 | 237 | | |
240 | 238 | | |
| |||
467 | 465 | | |
468 | 466 | | |
469 | 467 | | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
470 | 476 | | |
471 | 477 | | |
472 | 478 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
80 | 82 | | |
81 | 83 | | |
82 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
83 | 88 | | |
84 | 89 | | |
85 | 90 | | |
| |||
145 | 150 | | |
146 | 151 | | |
147 | 152 | | |
148 | | - | |
149 | | - | |
| 153 | + | |
| 154 | + | |
150 | 155 | | |
151 | 156 | | |
152 | 157 | | |
| |||
352 | 357 | | |
353 | 358 | | |
354 | 359 | | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
355 | 363 | | |
356 | 364 | | |
357 | 365 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
42 | | - | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
0 commit comments