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

fix: reports select issue #1239

Merged
merged 2 commits into from Jun 6, 2023
Merged

fix: reports select issue #1239

merged 2 commits into from Jun 6, 2023

Conversation

OgDev-01
Copy link
Contributor

@OgDev-01 OgDev-01 commented Jun 2, 2023

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

Refactor the SelectReportsFilter component to allow for dynamic rendering of filter options and display the selected filter name in the dropdown trigger. The filterList prop is now required and the onValueChange function is added to update the selectedValue state. The selected filter name is now displayed in the dropdown trigger instead of "Select a Filter".

Generated using OpenSauced.

Note:

I removed the empty state of the select filter because it is redundant for as all filters are bond to have options and not empty options

Related Tickets & Documents

Fixes #1233

Mobile & Desktop Screenshots/Recordings

Before

Screen.Recording.2023-06-02.at.08.13.38.mov

After

Screen.Recording.2023-06-02.at.08.09.03.mov

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 Jun 2, 2023

βœ… Deploy Preview for oss-insights ready!

Name Link
πŸ”¨ Latest commit bf715b3
πŸ” Latest deploy log https://app.netlify.com/sites/oss-insights/deploys/647997eefb7ff6000851156b
😎 Deploy Preview https://deploy-preview-1239--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.

@netlify
Copy link

netlify bot commented Jun 2, 2023

βœ… Deploy Preview for design-insights ready!

Name Link
πŸ”¨ Latest commit bf715b3
πŸ” Latest deploy log https://app.netlify.com/sites/design-insights/deploys/647997eef8c51200089a367a
😎 Deploy Preview https://deploy-preview-1239--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.

@brandonroberts brandonroberts merged commit a48bc87 into beta Jun 6, 2023
17 checks passed
@brandonroberts brandonroberts deleted the 1233-reports-filter branch June 6, 2023 13:41
github-actions bot pushed a commit that referenced this pull request Jun 6, 2023
### [1.50.1-beta.3](v1.50.1-beta.2...v1.50.1-beta.3) (2023-06-06)

### πŸ› Bug Fixes

* reports select issue ([#1239](#1239)) ([a48bc87](a48bc87))
github-actions bot pushed a commit that referenced this pull request Jun 6, 2023
## [1.51.0](v1.50.0...v1.51.0) (2023-06-06)

### πŸ• Features

* add share tracking ([#1250](#1250)) ([5b7d331](5b7d331))
* implement dynamic redirect on auth ([#1240](#1240)) ([548cc4d](548cc4d))

### πŸ› Bug Fixes

* Footer Location on Smaller Screens ([#1242](#1242)) ([8b2356a](8b2356a))
* reports select issue ([#1239](#1239)) ([a48bc87](a48bc87))
* update contributors hook to use contributor API endpoint ([#1238](#1238)) ([eff01c0](eff01c0))
* update hook for Posthog ([cd4f32c](cd4f32c))
* update medium activity threshold for repositories ([#1251](#1251)) ([4730533](4730533)), closes [#1224](#1224)
@github-actions
Copy link

github-actions bot commented Jun 6, 2023

πŸŽ‰ This PR is included in version 1.51.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.50.1-beta.3](open-sauced/app@v1.50.1-beta.2...v1.50.1-beta.3) (2023-06-06)

### πŸ› Bug Fixes

* reports select issue ([#1239](open-sauced/app#1239)) ([a48bc87](open-sauced/app@a48bc87))
ElpisHelle added a commit to ElpisHelle/next.js-tailwindcss that referenced this pull request Aug 17, 2023
## [1.51.0](open-sauced/app@v1.50.0...v1.51.0) (2023-06-06)

### πŸ• Features

* add share tracking ([#1250](open-sauced/app#1250)) ([5b7d331](open-sauced/app@5b7d331))
* implement dynamic redirect on auth ([#1240](open-sauced/app#1240)) ([548cc4d](open-sauced/app@548cc4d))

### πŸ› Bug Fixes

* Footer Location on Smaller Screens ([#1242](open-sauced/app#1242)) ([8b2356a](open-sauced/app@8b2356a))
* reports select issue ([#1239](open-sauced/app#1239)) ([a48bc87](open-sauced/app@a48bc87))
* update contributors hook to use contributor API endpoint ([#1238](open-sauced/app#1238)) ([eff01c0](open-sauced/app@eff01c0))
* update hook for Posthog ([cd4f32c](open-sauced/app@cd4f32c))
* update medium activity threshold for repositories ([#1251](open-sauced/app#1251)) ([4730533](open-sauced/app@4730533)), closes [#1224](open-sauced/app#1224)
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.

Bug: reports filter selection not selecting filters
2 participants