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

refactor: Improve the <ComponentCard> CSS #266

Merged
merged 14 commits into from
Aug 25, 2022
Merged

Conversation

eryc-cc
Copy link
Contributor

@eryc-cc eryc-cc commented Aug 25, 2022

What type of PR is this? (check all applicable)

  • πŸ• Feature
  • πŸ› Bug Fix
  • πŸ“ Documentation Update
  • 🎨 Style
  • πŸ§‘β€πŸ’» Code Refactor
  • πŸ”₯ Performance Improvements
  • βœ… Test
  • πŸ€– Build
  • πŸ” CI
  • πŸ“¦ Chore (Release)
  • ⏩ Revert

Description

This PR:

  • Removes extra padding
  • Fixes gaps between components
  • Updates eCharts (yes, we will replace it, but it can look better in the meantime)
  • Fixes alignment between components

Related Tickets & Documents

Fixes #265

Mobile & Desktop Screenshots/Recordings

Currently:

Screen Shot 2022-08-25 at 3 17 49 PM
Screen Shot 2022-08-25 at 3 18 02 PM

Previous:

image
image

Added tests?

  • πŸ‘ yes
  • πŸ™… no, because they aren't needed
  • πŸ™‹ no, because I need help

Added to documentation?

  • πŸ“œ README.md
  • πŸ““ docs.opensauced.pizza
  • πŸ• dev.to/opensauced
  • πŸ“• storybook
  • πŸ™… no documentation needed

[optional] Are there any post-deployment tasks we need to perform?

[optional] What gif best describes this PR or how it makes you feel?

@eryc-cc eryc-cc self-assigned this Aug 25, 2022
@netlify
Copy link

netlify bot commented Aug 25, 2022

βœ… Deploy Preview for oss-insights ready!

Name Link
πŸ”¨ Latest commit 1773f52
πŸ” Latest deploy log https://app.netlify.com/sites/oss-insights/deploys/6307c0555cbe9d000814910b
😎 Deploy Preview https://deploy-preview-266--oss-insights.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@eryc-cc eryc-cc requested review from bdougie, OgDev-01 and chadstewart and removed request for bdougie and OgDev-01 August 25, 2022 18:18
@eryc-cc eryc-cc added the πŸ• enhancement New feature or request label Aug 25, 2022
@eryc-cc eryc-cc marked this pull request as ready for review August 25, 2022 18:19
@eryc-cc eryc-cc added this to the Hacktoberfest Ready - Week 34 milestone Aug 25, 2022
@netlify
Copy link

netlify bot commented Aug 25, 2022

βœ… Deploy Preview for design-insights ready!

Name Link
πŸ”¨ Latest commit 1773f52
πŸ” Latest deploy log https://app.netlify.com/sites/design-insights/deploys/6307c0558b5c570009a760d3
😎 Deploy Preview https://deploy-preview-266--design-insights.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@eryc-cc eryc-cc added the needs review PRs that need review from core engineering team label Aug 25, 2022
Copy link
Contributor

@0-vortex 0-vortex left a comment

Choose a reason for hiding this comment

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

LGTM! πŸ‘

lib/hooks/useContributorData.ts Outdated Show resolved Hide resolved
@eryc-cc
Copy link
Contributor Author

eryc-cc commented Aug 25, 2022

@chadstewart @sungoldtech

Please take a closer look... I made changes to most of the components you shipped πŸ™

Let me know if you find anything that shouldn't be there

@OgDev-01
Copy link
Contributor

@chadstewart @sungoldtech

Please take a closer look... I made changes to most of the components you shipped πŸ™

Let me know if you find anything that shouldn't be there

LGTM in general πŸ•πŸ•

Copy link
Contributor

@chadstewart chadstewart left a comment

Choose a reason for hiding this comment

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

LGTM!

@eryc-cc
Copy link
Contributor Author

eryc-cc commented Aug 25, 2022

@0-vortex @bdougie

Do I "Squash and merge" or "create a merge commit"?

Screen Shot 2022-08-25 at 6 04 36 PM

1 similar comment
@eryc-cc
Copy link
Contributor Author

eryc-cc commented Aug 25, 2022

@0-vortex @bdougie

Do I "Squash and merge" or "create a merge commit"?

Screen Shot 2022-08-25 at 6 04 36 PM

@bdougie
Copy link
Member

bdougie commented Aug 25, 2022

Squash πŸ˜€

@0-vortex
Copy link
Contributor

Screenshot 2022-08-25 at 23 05 51

Like that! πŸ•

@chadstewart
Copy link
Contributor

Screenshot 2022-08-25 at 23 05 51

Like that! pizza

@pixelsbyeryc, not sure if you wrote that yourself but when I squash and merge, I don't write anything into the commit message. Whatever is in the dialog box I leave and just hit the squash and merge button.

@0-vortex
Copy link
Contributor

Screenshot 2022-08-25 at 23 05 51 Like that! pizza

@pixelsbyeryc, not sure if you wrote that yourself but when I squash and merge, I don't write anything into the commit message. Whatever is in the dialog box I leave and just hit the squash and merge button.

That is very wrong, you need to manually ensure the closes #ticketNo message is in there, hence the screenshot. If you don't do that, you get a commit message that can make more issue messages than intended, because they squash the commit messages of the incoming branch; the purpose of the squash is that those messages DO NOT get into the commit history and produce a nice friendly message from the PR title.

bad @chadstewart !!! πŸ•

@0-vortex
Copy link
Contributor

To recap this:

Screenshot 2022-08-26 at 00 21 54

Should be:

Screenshot 2022-08-26 at 00 22 26

  • that is the price of loyalty πŸ‘―β€β™‚οΈ πŸ‘―β€β™€οΈ

@eryc-cc eryc-cc merged commit 9da4d62 into beta Aug 25, 2022
@eryc-cc eryc-cc deleted the 256-improve-component-card-css branch August 25, 2022 23:52
github-actions bot pushed a commit that referenced this pull request Aug 25, 2022
## [1.3.0-beta.12](v1.3.0-beta.11...v1.3.0-beta.12) (2022-08-25)

### πŸ§‘β€πŸ’» Code Refactoring

* Improve the `<ComponentCard>` CSS ([#266](#266)) ([9da4d62](9da4d62))
@github-actions
Copy link

πŸŽ‰ This PR is included in version 1.3.0-beta.12 πŸŽ‰

The release is available on GitHub release

Your semantic-release bot πŸ“¦πŸš€

@eryc-cc eryc-cc mentioned this pull request Aug 25, 2022
19 tasks
github-actions bot pushed a commit that referenced this pull request Aug 29, 2022
## [1.3.0](v1.2.3...v1.3.0) (2022-08-29)

### πŸ§‘β€πŸ’» Code Refactoring

* Improve the `<ComponentCard>` CSS ([#266](#266)) ([9da4d62](9da4d62))
* Make the avatar component accept custom sizes ([#255](#255)) ([9076e91](9076e91)), closes [#235](#235)

### πŸ• Features

* Add Images to Scatter Chart ([#257](#257)) ([20df419](20df419))
* Add item count meta data to Highlight Card ([#254](#254)) ([693479e](693479e))
* Added Reports History component to Reports Page ([#272](#272)) ([c6a56f6](c6a56f6))
* Implement Card Horizontal Bar component ([#237](#237)) ([7bbbe40](7bbbe40))
* Implement Card Table Component ([#243](#243)) ([0cbc6ea](0cbc6ea))
* Implement contribution page ([#263](#263)) ([f41d7f9](f41d7f9))
* Implement Contributor Card Component ([#245](#245)) ([3bd55ea](3bd55ea))
* Implement Reports History Component ([#209](#209)) ([bb531e4](bb531e4))
* Implement the hacktoberfest reports page ([#229](#229)) ([0cfa5e5](0cfa5e5)), closes [#168](#168)
* Implement waitlist page ([#210](#210)) ([0826d07](0826d07)), closes [#152](#152)

### πŸ› Bug Fixes

* adjusted opinion filter on mobile screens ([#264](#264)) ([2d9785c](2d9785c))
* correct login redirect issues in supabase implemetation ([#274](#274)) ([8fcd81e](8fcd81e))
* correct login redirect issues in supabase implemetation x2 ([#275](#275)) ([0239abd](0239abd))
* correct supabase-ui default style for hover ([#267](#267)) ([a23fe4b](a23fe4b)), closes [#226](#226)
* increase truncate string number of words ([#268](#268)) ([ab47a96](ab47a96)), closes [#247](#247)
* max width removed from card ([#250](#250)) ([523969a](523969a)), closes [#249](#249)
* removes unused function ([b37de35](b37de35))
* Repo count ([#244](#244)) ([d59eef8](d59eef8))
* Update GitSense API route for repos ([#270](#270)) ([8f7e1c5](8f7e1c5))
@github-actions
Copy link

πŸŽ‰ This PR is included in version 1.3.0 πŸŽ‰

The release is available on GitHub release

Your semantic-release bot πŸ“¦πŸš€

ElpisHelle added a commit to ElpisHelle/next.js-tailwindcss that referenced this pull request Aug 17, 2023
## [1.3.0-beta.12](open-sauced/app@v1.3.0-beta.11...v1.3.0-beta.12) (2022-08-25)

### πŸ§‘β€πŸ’» Code Refactoring

* Improve the `<ComponentCard>` CSS ([#266](open-sauced/app#266)) ([9da4d62](open-sauced/app@9da4d62))
ElpisHelle added a commit to ElpisHelle/next.js-tailwindcss that referenced this pull request Aug 17, 2023
## [1.3.0](open-sauced/app@v1.2.3...v1.3.0) (2022-08-29)

### πŸ§‘β€πŸ’» Code Refactoring

* Improve the `<ComponentCard>` CSS ([#266](open-sauced/app#266)) ([9da4d62](open-sauced/app@9da4d62))
* Make the avatar component accept custom sizes ([#255](open-sauced/app#255)) ([9076e91](open-sauced/app@9076e91)), closes [#235](open-sauced/app#235)

### πŸ• Features

* Add Images to Scatter Chart ([#257](open-sauced/app#257)) ([20df419](open-sauced/app@20df419))
* Add item count meta data to Highlight Card ([#254](open-sauced/app#254)) ([693479e](open-sauced/app@693479e))
* Added Reports History component to Reports Page ([#272](open-sauced/app#272)) ([c6a56f6](open-sauced/app@c6a56f6))
* Implement Card Horizontal Bar component ([#237](open-sauced/app#237)) ([7bbbe40](open-sauced/app@7bbbe40))
* Implement Card Table Component ([#243](open-sauced/app#243)) ([0cbc6ea](open-sauced/app@0cbc6ea))
* Implement contribution page ([#263](open-sauced/app#263)) ([f41d7f9](open-sauced/app@f41d7f9))
* Implement Contributor Card Component ([#245](open-sauced/app#245)) ([3bd55ea](open-sauced/app@3bd55ea))
* Implement Reports History Component ([#209](open-sauced/app#209)) ([bb531e4](open-sauced/app@bb531e4))
* Implement the hacktoberfest reports page ([#229](open-sauced/app#229)) ([0cfa5e5](open-sauced/app@0cfa5e5)), closes [#168](open-sauced/app#168)
* Implement waitlist page ([#210](open-sauced/app#210)) ([0826d07](open-sauced/app@0826d07)), closes [#152](open-sauced/app#152)

### πŸ› Bug Fixes

* adjusted opinion filter on mobile screens ([#264](open-sauced/app#264)) ([2d9785c](open-sauced/app@2d9785c))
* correct login redirect issues in supabase implemetation ([#274](open-sauced/app#274)) ([8fcd81e](open-sauced/app@8fcd81e))
* correct login redirect issues in supabase implemetation x2 ([#275](open-sauced/app#275)) ([0239abd](open-sauced/app@0239abd))
* correct supabase-ui default style for hover ([#267](open-sauced/app#267)) ([a23fe4b](open-sauced/app@a23fe4b)), closes [#226](open-sauced/app#226)
* increase truncate string number of words ([#268](open-sauced/app#268)) ([ab47a96](open-sauced/app@ab47a96)), closes [#247](open-sauced/app#247)
* max width removed from card ([#250](open-sauced/app#250)) ([523969a](open-sauced/app@523969a)), closes [#249](open-sauced/app#249)
* removes unused function ([b37de35](open-sauced/app@b37de35))
* Repo count ([#244](open-sauced/app#244)) ([d59eef8](open-sauced/app@d59eef8))
* Update GitSense API route for repos ([#270](open-sauced/app#270)) ([8f7e1c5](open-sauced/app@8f7e1c5))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
πŸ• enhancement New feature or request needs review PRs that need review from core engineering team released on @beta released
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

[Style] Improve the <ComponentCard> CSS
5 participants