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: add dropdown for topics in Explore #877

Merged

Conversation

nightknighto
Copy link
Contributor

@nightknighto nightknighto commented Feb 15, 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

  • Adds a new (atom) component for selector.
  • Adds a new (molecule) component for filter card with selection.
  • Changes the camelCaseNaming lib into a more general name-formatting function
  • Implements the new filter card with selection component to enable selecting topics from a pre-defined list in Explore.

Follow-up tasks

A new issue should be made to re-use the new selector component in the existing superlative-selector

Related Tickets & Documents

closes #533

Mobile & Desktop Screenshots/Recordings

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?

@netlify
Copy link

netlify bot commented Feb 15, 2023

βœ… Deploy Preview for oss-insights ready!

Name Link
πŸ”¨ Latest commit ce8b546
πŸ” Latest deploy log https://app.netlify.com/sites/oss-insights/deploys/63ee6a3afbf4060008c427fb
😎 Deploy Preview https://deploy-preview-877--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 Feb 15, 2023

βœ… Deploy Preview for design-insights ready!

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

@nightknighto nightknighto marked this pull request as ready for review February 15, 2023 18:14
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.

This section is meant to share totals PRs represented in the topic. If that is not possible, could we delete circle UI element.

Screen Shot 2023-02-15 at 2 32 29 PM

@brandonroberts
Copy link
Contributor

This section is meant to share totals PRs represented in the topic. If that is not possible, could we delete circle UI element.

Screen Shot 2023-02-15 at 2 32 29 PM

I think we should remove it for now

lib/hooks/useTopicOptions.ts Outdated Show resolved Hide resolved
@nightknighto
Copy link
Contributor Author

This section is meant to share totals PRs represented in the topic. If that is not possible, could we delete circle UI element.

Screen Shot 2023-02-15 at 2 32 29 PM

deleted

@brandonroberts brandonroberts merged commit 9579902 into beta Feb 17, 2023
@brandonroberts brandonroberts deleted the 533-constrain-available-topics-to-predefined-list branch February 17, 2023 16:17
github-actions bot pushed a commit that referenced this pull request Feb 17, 2023
## [1.30.0-beta.3](v1.30.0-beta.2...v1.30.0-beta.3) (2023-02-17)

### πŸ• Features

* add dropdown for topics in Explore ([#877](#877)) ([9579902](9579902)), closes [#533](#533)
@github-actions
Copy link

πŸŽ‰ This PR is included in version 1.30.0-beta.3 πŸŽ‰

The release is available on GitHub release

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

github-actions bot pushed a commit that referenced this pull request Feb 17, 2023
## [1.30.0-alpha.2](v1.30.0-alpha.1...v1.30.0-alpha.2) (2023-02-17)

### πŸ• Features

* add  highlights to user profile page ([#859](#859)) ([4b01376](4b01376)), closes [#830](#830)
* add dropdown for topics in Explore ([#877](#877)) ([9579902](9579902)), closes [#533](#533)
* disable create insight page button if the page name is missing ([#857](#857)) ([95da564](95da564)), closes [#852](#852)

### πŸ› Bug Fixes

* enable displaying/editing of insight page repos from API ([f4cc62f](f4cc62f))
* formatting ([065ede0](065ede0))
* reset text input fields when clear button is clicked ([#869](#869)) ([783098d](783098d)), closes [#858](#858)
@github-actions
Copy link

πŸŽ‰ This PR is included in version 1.30.0-alpha.2 πŸŽ‰

The release is available on GitHub release

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

github-actions bot pushed a commit that referenced this pull request Feb 21, 2023
## [1.30.0](v1.29.0...v1.30.0) (2023-02-21)

### πŸ• Features

* add  highlights to user profile page ([#859](#859)) ([4b01376](4b01376)), closes [#830](#830)
* add dropdown for topics in Explore ([#877](#877)) ([9579902](9579902)), closes [#533](#533)
* disable create insight page button if the page name is missing ([#857](#857)) ([95da564](95da564)), closes [#852](#852)

### πŸ› Bug Fixes

* disable create page button only if insight page name is empty ([#893](#893)) ([ed52399](ed52399)), closes [#892](#892)
* hide non-functional elements in highlights card ([#881](#881)) ([ba1bd5e](ba1bd5e))
* rename 404 image file ([4e5171f](4e5171f))
* replace `PRSocialCard` component with GitHub OpenGraph image ([#889](#889)) ([3bfc5a4](3bfc5a4)), closes [#883](#883)
* reset text input fields when clear button is clicked ([#869](#869)) ([783098d](783098d)), closes [#858](#858)
* user profile interest pill UI fix ([#890](#890)) ([4cbff36](4cbff36))
@github-actions
Copy link

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

The release is available on GitHub release

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

@bdougie bdougie mentioned this pull request Jul 14, 2023
2 tasks
ElpisHelle added a commit to ElpisHelle/next.js-tailwindcss that referenced this pull request Aug 17, 2023
## [1.30.0-beta.3](open-sauced/app@v1.30.0-beta.2...v1.30.0-beta.3) (2023-02-17)

### πŸ• Features

* add dropdown for topics in Explore ([#877](open-sauced/app#877)) ([9579902](open-sauced/app@9579902)), closes [#533](open-sauced/app#533)
ElpisHelle added a commit to ElpisHelle/next.js-tailwindcss that referenced this pull request Aug 17, 2023
## [1.30.0-alpha.2](open-sauced/app@v1.30.0-alpha.1...v1.30.0-alpha.2) (2023-02-17)

### πŸ• Features

* add  highlights to user profile page ([#859](open-sauced/app#859)) ([4b01376](open-sauced/app@4b01376)), closes [#830](open-sauced/app#830)
* add dropdown for topics in Explore ([#877](open-sauced/app#877)) ([9579902](open-sauced/app@9579902)), closes [#533](open-sauced/app#533)
* disable create insight page button if the page name is missing ([#857](open-sauced/app#857)) ([95da564](open-sauced/app@95da564)), closes [#852](open-sauced/app#852)

### πŸ› Bug Fixes

* enable displaying/editing of insight page repos from API ([f4cc62f](open-sauced/app@f4cc62f))
* formatting ([065ede0](open-sauced/app@065ede0))
* reset text input fields when clear button is clicked ([#869](open-sauced/app#869)) ([783098d](open-sauced/app@783098d)), closes [#858](open-sauced/app#858)
ElpisHelle added a commit to ElpisHelle/next.js-tailwindcss that referenced this pull request Aug 17, 2023
## [1.30.0](open-sauced/app@v1.29.0...v1.30.0) (2023-02-21)

### πŸ• Features

* add  highlights to user profile page ([#859](open-sauced/app#859)) ([4b01376](open-sauced/app@4b01376)), closes [#830](open-sauced/app#830)
* add dropdown for topics in Explore ([#877](open-sauced/app#877)) ([9579902](open-sauced/app@9579902)), closes [#533](open-sauced/app#533)
* disable create insight page button if the page name is missing ([#857](open-sauced/app#857)) ([95da564](open-sauced/app@95da564)), closes [#852](open-sauced/app#852)

### πŸ› Bug Fixes

* disable create page button only if insight page name is empty ([#893](open-sauced/app#893)) ([ed52399](open-sauced/app@ed52399)), closes [#892](open-sauced/app#892)
* hide non-functional elements in highlights card ([#881](open-sauced/app#881)) ([ba1bd5e](open-sauced/app@ba1bd5e))
* rename 404 image file ([4e5171f](open-sauced/app@4e5171f))
* replace `PRSocialCard` component with GitHub OpenGraph image ([#889](open-sauced/app#889)) ([3bfc5a4](open-sauced/app@3bfc5a4)), closes [#883](open-sauced/app#883)
* reset text input fields when clear button is clicked ([#869](open-sauced/app#869)) ([783098d](open-sauced/app@783098d)), closes [#858](open-sauced/app#858)
* user profile interest pill UI fix ([#890](open-sauced/app#890)) ([4cbff36](open-sauced/app@4cbff36))
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.

Constrain available topics to predefined list
3 participants