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

[MyMeta] Use Magic: The Gathering's Five Colored Disposition Matrix #384

Closed
wants to merge 32 commits into from

Conversation

dysbulic
Copy link
Member

@dysbulic dysbulic commented Mar 5, 2021

This changeset addresses #312 which requests the removal of the Enneagram for personality typing to be replaced with Magic's five color dispositions.

The design renames the basic colors to descriptive adjectives. To break from the extensive canon of writing on the MTG system is an arguable decision, but it is further complicated by the fact that one of the existing MTG combinations (red/black/blue/green) has the same name, "Chaos", as is used in the MetaGame renaming scheme for Red.

Also, the original design was a two-phase configuration. First the user selected the colors they wanted from the base set of five, then they adjust the ratios of those colors by sliding the borders between a set of percentages.

The thing is that it is the choice of which colors from the base set is what determines disposition in the MTG scheme. Additional adjustment beyond their selection is unnecessary, and opens the possibility of reducing colors to zero or other pathological cases.

This implementation represents all the colors in a set as equal in proportion. The combinations are referenced according to their MTG designation, and there's a link to an as of yet incomplete site which will give an overview of each combination.

@dysbulic dysbulic added WIP frontend Front end related issues / features labels Mar 5, 2021
@dysbulic dysbulic self-assigned this Mar 5, 2021
@vercel
Copy link

vercel bot commented Mar 5, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/metafam/the-game/BibvpcL3QMAhi3Lcan1ZLbWLQXyY
✅ Preview: Failed

[Deployment for 59127fe failed]

Copy link
Member Author

@dysbulic dysbulic left a comment

Choose a reason for hiding this comment

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

I think I've caught just about everything…

hasura/metadata/tables.yaml Outdated Show resolved Hide resolved
hasura/metadata/tables.yaml Outdated Show resolved Hide resolved
@@ -25,7 +25,7 @@
},
"dependencies": {
"@chakra-ui/icons": "1.0.3",
"@chakra-ui/react": "1.1.5",
"@chakra-ui/react": "^1.3.3",
Copy link
Member Author

Choose a reason for hiding this comment

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

I was getting an error about an object assignment function that I could only resolve by upgrading Chakra.

packages/web/assets/empty.svg Outdated Show resolved Hide resolved
@@ -56,7 +56,7 @@ export const LoginButton: React.FC = () => {
fontWeight="normal"
title={hasEditedProfile ? 'Edit profile' : 'Setup profile'}
>
<SettingsIcon w={7} h={7} color="cyan.400"/>
<SettingsIcon h='1.25rem' w='1.25rem' color="cyan.400"/>
Copy link
Member Author

Choose a reason for hiding this comment

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

For whatever reason, these were displaying as 7px⨯7px. Why, I don't know, but this was the simplest solution.

@@ -282,7 +284,7 @@ export const PageHeader: React.FC = () => {
WebkitBackdropFilter: 'blur(10px)',
}}
/>
{/* ToDo: switch to BoxedNextImage */}
Copy link
Member Author

Choose a reason for hiding this comment

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

This is the bottom of the app drawer and it is surprisingly difficult to style, particularly when combined with Next.js's Image class. It is not worth the time to get this to work.

{getPlayerDescription(player).length > BIO_LENGTH && (
{show
? description
: `${description.substring(0, MAX_BIO_LENGTH - 9)}…`
Copy link
Member Author

@dysbulic dysbulic Mar 5, 2021

Choose a reason for hiding this comment

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

The - 9 is to remove characters to be replaced with "Read more". Otherwise, my blurb of 243 characters is longer when shortened than it would be otherwise.

@@ -50,7 +51,7 @@ export const SetupTimeZone: React.FC<SetupTimezoneProps> = ({timeZone, setTimeZo

return (
<FlexContainer>
<MetaHeading mb={10} mt={-64} textAlign="center">
Copy link
Member Author

Choose a reason for hiding this comment

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

This pushed the header off the top of the screen in mobile.

@dysbulic
Copy link
Member Author

dysbulic commented Mar 11, 2021

After discussing the design with @peth-yursick, I made a variety of changes. These were based off the @mymeta/profile-edit-nav branch, and it is now the place to look for the most up to data code.

So, I'm closing this request…

@dysbulic dysbulic closed this Mar 11, 2021
@dysbulic dysbulic deleted the @mymeta/colored-personality branch March 19, 2021 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Front end related issues / features ready-for-review Add this label to your PR when its ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant