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: Create Reports Filter Component #207

Merged
merged 11 commits into from
Aug 17, 2022
Merged

Conversation

chadstewart
Copy link
Contributor

@chadstewart chadstewart commented Aug 16, 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 adds the feature of the reports filter.

Details:

Created two atoms, Select and Select Option for the select drop down as well as a story for the select component. These filters are used in the created SelectReportsFilter component. The SelectReportsFilter takes an array of filterOption objects and a callback that accepts the value from the select dropdown option. The intention of the callback is that the person who uses the SelectReportsFilter (the reports page in the future) can get access to the selected value to leverage in any business logic.

Related Tickets & Documents

Fixes #166

Mobile & Desktop Screenshots/Recordings

localhost_6006__path=_story_design-system-molecules-reports-filter--select-reports-filter-molecule
deploy-preview-207--design-insights netlify app__path=_story_design-system-atoms-select--default (1)

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?

@netlify
Copy link

netlify bot commented Aug 16, 2022

βœ… Deploy Preview for design-insights ready!

Name Link
πŸ”¨ Latest commit 3bad0c1
πŸ” Latest deploy log https://app.netlify.com/sites/design-insights/deploys/62fbfcf0b0e3970008542a0a
😎 Deploy Preview https://deploy-preview-207--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.

@netlify
Copy link

netlify bot commented Aug 16, 2022

βœ… Deploy Preview for oss-insights ready!

Name Link
πŸ”¨ Latest commit 3bad0c1
πŸ” Latest deploy log https://app.netlify.com/sites/oss-insights/deploys/62fbfcf02071c80008c07327
😎 Deploy Preview https://deploy-preview-207--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.

@chadstewart chadstewart marked this pull request as ready for review August 16, 2022 14:20
Copy link
Member

@bdougie bdougie left a comment

Choose a reason for hiding this comment

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

Everything looks good. I just got confused on why the Supbase name in the stories was and noticed you importing from supabase. Perhaps copy pasted spelling error?

@chadstewart
Copy link
Contributor Author

Everything looks good. I just got confused on why the Supbase name in the stories was and noticed you importing from supabase. Perhaps copy pasted spelling error?

We still use the Supabase UI library for a lot of our atoms. We import the component and then add a wrapper around it so we can add whatever we need and still have access to the component's APIs. Whenever I create an atom, I try to differentiate it what is coming from Supabase from what we're using by that naming convention.

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 except typos and types, but will open different issues for this as it is a global problem.

@bdougie bdougie merged commit efced23 into beta Aug 17, 2022
@bdougie bdougie deleted the 166-create-select-component branch August 17, 2022 04:33
github-actions bot pushed a commit that referenced this pull request Aug 17, 2022
## [1.2.0-beta.1](v1.1.3-beta.3...v1.2.0-beta.1) (2022-08-17)

### πŸ• Features

* Create Reports Filter Component ([#207](#207)) ([efced23](efced23)), closes [#166](#166)
@github-actions
Copy link

πŸŽ‰ This PR is included in version 1.2.0-beta.1 πŸŽ‰

The release is available on GitHub release

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

github-actions bot pushed a commit that referenced this pull request Aug 20, 2022
## [1.2.0](v1.1.3...v1.2.0) (2022-08-20)

### πŸ• Features

* **data:** adds live repo data and SWR ([#198](#198)) ([b6d80c3](b6d80c3)), closes [#191](#191) [#191](#191) [#206](#206) [#206](#206)
* Create Reports Filter Component ([#207](#207)) ([efced23](efced23)), closes [#166](#166)
* eChart for Contributors Component ([#216](#216)) ([7d5837b](7d5837b)), closes [#221](#221) [#213](#213) [#221](#221)
* Implement Card Profile Component ([#232](#232)) ([efae3c5](efae3c5))
* Implement Card Repo List component ([#234](#234)) ([4a58eea](4a58eea))

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

* Add another version of the logo in the design system ([#236](#236)) ([f25b3a5](f25b3a5))
* Move Dashboard and Repositories into their own component ([#228](#228)) ([8b40fd8](8b40fd8)), closes [#208](#208) [#201](#201) [#202](#202)
* replace context-filter-option with radio component ([41ed2b3](41ed2b3))

### πŸ› Bug Fixes

* **bug:** add require props ([#239](#239)) ([b9f0942](b9f0942))
* added Radio and SuperlativeSelector component stories ([06d956c](06d956c))
* eslint errors ([c191e26](c191e26))
* Removed gap from navbar and tools display ([#206](#206)) ([a3de620](a3de620))
@github-actions
Copy link

πŸŽ‰ This PR is included in version 1.2.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.2.0-beta.1](open-sauced/app@v1.1.3-beta.3...v1.2.0-beta.1) (2022-08-17)

### πŸ• Features

* Create Reports Filter Component ([#207](open-sauced/app#207)) ([efced23](open-sauced/app@efced23)), closes [#166](open-sauced/app#166)
ElpisHelle added a commit to ElpisHelle/next.js-tailwindcss that referenced this pull request Aug 17, 2023
## [1.2.0](open-sauced/app@v1.1.3...v1.2.0) (2022-08-20)

### πŸ• Features

* **data:** adds live repo data and SWR ([#198](open-sauced/app#198)) ([b6d80c3](open-sauced/app@b6d80c3)), closes [#191](open-sauced/app#191) [#191](open-sauced/app#191) [#206](open-sauced/app#206) [#206](open-sauced/app#206)
* Create Reports Filter Component ([#207](open-sauced/app#207)) ([efced23](open-sauced/app@efced23)), closes [#166](open-sauced/app#166)
* eChart for Contributors Component ([#216](open-sauced/app#216)) ([7d5837b](open-sauced/app@7d5837b)), closes [#221](open-sauced/app#221) [#213](open-sauced/app#213) [#221](open-sauced/app#221)
* Implement Card Profile Component ([#232](open-sauced/app#232)) ([efae3c5](open-sauced/app@efae3c5))
* Implement Card Repo List component ([#234](open-sauced/app#234)) ([4a58eea](open-sauced/app@4a58eea))

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

* Add another version of the logo in the design system ([#236](open-sauced/app#236)) ([f25b3a5](open-sauced/app@f25b3a5))
* Move Dashboard and Repositories into their own component ([#228](open-sauced/app#228)) ([8b40fd8](open-sauced/app@8b40fd8)), closes [#208](open-sauced/app#208) [#201](open-sauced/app#201) [#202](open-sauced/app#202)
* replace context-filter-option with radio component ([41ed2b3](open-sauced/app@41ed2b3))

### πŸ› Bug Fixes

* **bug:** add require props ([#239](open-sauced/app#239)) ([b9f0942](open-sauced/app@b9f0942))
* added Radio and SuperlativeSelector component stories ([06d956c](open-sauced/app@06d956c))
* eslint errors ([c191e26](open-sauced/app@c191e26))
* Removed gap from navbar and tools display ([#206](open-sauced/app#206)) ([a3de620](open-sauced/app@a3de620))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants