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

Style the 'All Raids' page #67

Closed

Conversation

pbteja1998
Copy link
Contributor

Fixes #17

Copy link
Contributor

@nobrayner nobrayner left a comment

Choose a reason for hiding this comment

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

Off the top of my head, things that stand out:

  • Filters and Raids labels aren't baseline-aligned with each other - it looks quite strange with filters hanging off in space on its own
  • The gap between the filters and the raid cards is off-puttingly large IMO
  • The filter only applies on pressing the enter key... This is very strange behaviour for me. I was expecting live filtering or something (not sure if that's due to my original thining about how it should work or not)
  • Now that I actually see the tabs in real life, I realise the visual affordance of just bold text vs not bold text is horrible 🤦‍♂️ That's on me, though

Some other requests:

  • We already have a Card component - can you use that instead?
  • Please use a $ prefix for styled elements
  • Please place the styled elements after the component

@nobrayner
Copy link
Contributor

Thanks for working on this! Teaching me about how bad my wireframes are 😛

Copy link
Contributor

@codyarose codyarose left a comment

Choose a reason for hiding this comment

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

Other than what @nobrayner has already mentioned, the things that really stick out to me are:

  • there needs to be a max width on the page content, otherwise the 'Raids' and 'Filter' sections just spread apart continuously as the screen widens
  • responsiveness breaks between 800px and 640px screen width
  • I think we should shoot for everything being responsive down to 320px screen width

@tigerabrodi
Copy link
Contributor

@codyarose @nobrayner I also noticed pixels are being used, should we not use REM? 🤔

Asking since no one of you mentioned that, hence am wondering.

@codyarose
Copy link
Contributor

@codyarose @nobrayner I also noticed pixels are being used, should we not use REM? 🤔

Asking since no one of you mentioned that, hence am wondering.

Spacing, font size, or any other properties that could use our sizing variables should be using those variables. If it's a property like width that doesn't have a variable, we should prefer rem for consistency

<div>
<label
htmlFor="dungeonInput"
className="block text-sm font-medium text-gray-700"
Copy link
Contributor

Choose a reason for hiding this comment

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

i don't see styles for these classes and we should be using styled components, no?

</Tabs>

<Raids>
{filteredData.map((s) => (
Copy link
Contributor

Choose a reason for hiding this comment

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

im not sure if everyone agrees, but im not really a fan of single letter variables.

Comment on lines +130 to +136
<span role="img" aria-label="cross">
</span>
<span> No raids here </span>
<span role="img" aria-label="cross">
</span>
Copy link
Contributor

@YPAzevedo YPAzevedo Jan 29, 2021

Choose a reason for hiding this comment

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

We have the Emoji component for this :)

@pbteja1998
Copy link
Contributor Author

Thanks everyone for the feedback. Unfortunately, I don't know when I will find some more free time to address these changes. So, if this is a time sensitive issue or someone is ready to work on this, please do it. Until then, I am closing this PR, so that I am not holding off anyone. Will reopen it if/when I fix all the things that are needed to be fixed.

@pbteja1998 pbteja1998 closed this Jan 29, 2021
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.

All Raids Screen
5 participants