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

feat: add Brazilian grade context (closes #358) #359

Merged
merged 1 commit into from
Nov 11, 2023

Conversation

enapupe
Copy link
Contributor

@enapupe enapupe commented Nov 10, 2023

This PR introduces and links Brazilian Crux grade to the backend.

@musoke This was my first interaction with graphql so I'm not sure if there's any missing pieces, the codebase seemed ready to accept a new context without much tweaking.

@enapupe enapupe force-pushed the enapupe/add-brazilian-grade branch from e02ddef to 57f2f71 Compare November 10, 2023 12:21
src/graphql/schema/Climb.gql Outdated Show resolved Hide resolved
@enapupe enapupe requested a review from musoke November 10, 2023 12:26
Copy link
Contributor

@musoke musoke left a comment

Choose a reason for hiding this comment

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

Looks good!

src/model/__tests__/MutableClimbDataSource.ts Outdated Show resolved Hide resolved
@enapupe enapupe force-pushed the enapupe/add-brazilian-grade branch from 57f2f71 to d9df965 Compare November 10, 2023 12:37
@musoke
Copy link
Contributor

musoke commented Nov 10, 2023

@musoke This was my first interaction with graphql so I'm not sure if there's any missing pieces, the codebase seemed ready to accept a new context without much tweaking.

Check against the PR where I added Australian: d44abd6

You can also try testing with a local version of the frontend.

If there are issues that arise, tests should be expanded.

@musoke musoke requested a review from vnugent November 10, 2023 12:43
@enapupe enapupe force-pushed the enapupe/add-brazilian-grade branch 3 times, most recently from 0e46088 to 814c414 Compare November 10, 2023 13:00
@enapupe
Copy link
Contributor Author

enapupe commented Nov 10, 2023

Check against the PR where I added Australian: d44abd6

I was missing a few bits, I think I got it all now. There's only that minor comment.

src/db/ClimbTypes.ts Outdated Show resolved Hide resolved
src/graphql/schema/Climb.gql Outdated Show resolved Hide resolved
Define BR context. Brazil uses vscale for bouldering, WI placeholder ice/snow related. AID is currently matching the general AID definition though it has to be confirmed later if they are the same or if there will be a fork.
@enapupe enapupe force-pushed the enapupe/add-brazilian-grade branch from 814c414 to e6d69f5 Compare November 10, 2023 15:21
@enapupe enapupe requested a review from vnugent November 10, 2023 15:23
@vnugent vnugent merged commit 4186818 into develop Nov 11, 2023
1 check passed
@vnugent
Copy link
Contributor

vnugent commented Nov 11, 2023

I'll have to check the database to see if we need to set this new context for Brazil at the country level so that areas can inherit it.

@vnugent
Copy link
Contributor

vnugent commented Nov 11, 2023

@all-contributors add @enapupe for code

Copy link
Contributor

@vnugent

I've put up a pull request to add @enapupe! 🎉

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.

3 participants