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

chore: remove superfest #1368

Open
wants to merge 15 commits into
base: develop
Choose a base branch
from
Open

chore: remove superfest #1368

wants to merge 15 commits into from

Conversation

tcheee
Copy link
Contributor

@tcheee tcheee commented Oct 4, 2024

No description provided.

Copy link

vercel bot commented Oct 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
jumper-exchange ❌ Failed (Inspect) Oct 7, 2024 10:36am

@tcheee tcheee marked this pull request as ready for review October 4, 2024 13:00
Copy link

github-actions bot commented Oct 4, 2024

Playwright test results

passed  13 passed
skipped  1 skipped

Details

stats  14 tests across 2 suites
duration  2 minutes, 35 seconds
commit  3ff7757

Skipped tests

chromium › e2e.spec.ts › Jumper full e2e flow › Should be able to navigate to Supefest

src/components/ProfilePage/QuestCard/QuestCard.style.ts Outdated Show resolved Hide resolved
src/components/ProfilePage/QuestCard/QuestCard.style.ts Outdated Show resolved Hide resolved
src/components/ProfilePage/QuestCard/QuestCard.style.ts Outdated Show resolved Hide resolved
src/components/ProfilePage/QuestCard/QuestCard.style.ts Outdated Show resolved Hide resolved
position: 'relative',
bottom: '16px',
right: '32px',
padding: '6px',
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
padding: '6px',
padding: theme.spacing(0.75),

Copy link
Contributor Author

Choose a reason for hiding this comment

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

why sometimes using theme.spacing and sometimes just removing "px"?

Copy link
Contributor

@dennyscode dennyscode Oct 7, 2024

Choose a reason for hiding this comment

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

Good point, I messed up if I did and in the perfect world, I´d stick with one approach:

We can discuss in the team, if we can agree on a certain approach: For me properties like margin, padding, gap are related to spacings. I try to avoid theme.spacing on any styles like borderRadius, height, width, whatsoever...

borderRadius: '128px',
justifyContent: 'center',
}));

export interface XPDisplayBoxProps extends Omit<BoxProps, 'component'> {
active?: boolean;
}

export const XPDisplayBox = styled(Box, {
shouldForwardProp: (prop) => prop !== 'active',
})<XPDisplayBoxProps>(({ active }) => ({
Copy link
Contributor

Choose a reason for hiding this comment

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

If those suggestions make use of theme we must make sure, it´s provided. Just flying over it, I have not double-checked on each styled-component if theme is available!! ⚠️

Comment on lines +8 to +9
height: '416px',
width: '272px',
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
height: '416px',
width: '272px',
height: 416,
width: 272,

height: '416px',
width: '256px',
borderRadius: '8px',
width: '272px',
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
width: '272px',
width: 272,

src/components/Quests/QuestCard/QuestCard.tsx Outdated Show resolved Hide resolved
@dennyscode
Copy link
Contributor

Nice! Much better already but let´s also come back and reduce number of "QuestCards" (currently used in "Quests" and "ProfilePage" folders) or maybe rename such components. The same with QuestCardSkeleton.
image

We already discussed, this is just a note.

@tcheee
Copy link
Contributor Author

tcheee commented Oct 7, 2024

Nice! Much better already but let´s also come back and reduce number of "QuestCards" (currently used in "Quests" and "ProfilePage" folders) or maybe rename such components. The same with QuestCardSkeleton. image

We already discussed, this is just a note.

A bit different from what we discussed. But yes agree with you, let's clean the naming or remove one of them, good call.

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