Legend-Mama / legend-mama

Monorepo for Legend Mama!
https://eecs.engineering.oregonstate.edu/project-showcase/projects/?id=itglaptdWQL2Q8D9
0 stars 1 forks source link

Character creation submits API request + remove GP purchase prompts + add preset choices #49

Closed kevy-kev closed 6 months ago

kevy-kev commented 6 months ago

Added preset options

Options are from https://docs.google.com/document/d/1nC8yE41VKEKRrG_xo-Sxzk-MY3mSE6uo-KQhAJOcwkA/edit

image

Submits POST request to /character-sheet

Submits a JSON body adhering to CharacterDetails schema

Added short backstory input field to fit the schema

image

UI updates

https://github.com/Legend-Mama/legend-mama/assets/113942748/dbde07ea-db7e-4575-94e4-0f215e55f909

Removed info about purchasing GP, updated GP info

Added tooltip on question mark, and right now we just reset GP to 3 every day so the purchase button was removed

image

Changed "pricing info" to "usage info" and added info about image generation GP cost

image

github-actions[bot] commented 6 months ago

Preview Deployment

Your preview deployment is hosted at: ~~ :sparkles: :sparkles: ~~ This preview deployment has been deleted after the PR was closed

megw-school commented 6 months ago

For personalityTraits, I put array, but an object makes more sense. We can update it or I can parse it on my end, whichever works best. If we updated it: personalityTraits: { extraversion: "value", agreeableness: "value", conscientiousness: "value", neuroticism: "value", openness: "value" }