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 UserSettings component to design system #788

Merged
merged 18 commits into from
Jan 24, 2023

Conversation

OgDev-01
Copy link
Contributor

@OgDev-01 OgDev-01 commented Jan 16, 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

Th PR:

  • creates a LanguagePill component to the atoms directory
  • adds LanguagePill to design system
  • adds the user settings screen to the storybook(design system)
  • updates existing checkbox style to match the brand color

Notes:

  • This has no functionality yet, just the UI
  • The current UI checkbox was replaced with the default checkbox in the design system

Related Tickets & Documents

Fixes #783

Mobile & Desktop Screenshots/Recordings

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 Jan 16, 2023

βœ… Deploy Preview for design-insights ready!

Name Link
πŸ”¨ Latest commit 30c28a4
πŸ” Latest deploy log https://app.netlify.com/sites/design-insights/deploys/63cea6dc1d9b5400090d3888
😎 Deploy Preview https://deploy-preview-788--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 Jan 16, 2023

βœ… Deploy Preview for oss-insights ready!

Name Link
πŸ”¨ Latest commit 30c28a4
πŸ” Latest deploy log https://app.netlify.com/sites/oss-insights/deploys/63cea6dc8420f10008b82e5d
😎 Deploy Preview https://deploy-preview-788--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.

@OgDev-01 OgDev-01 requested a review from 0-vortex January 19, 2023 14:24
@OgDev-01 OgDev-01 marked this pull request as ready for review January 19, 2023 14:24
@bdougie
Copy link
Member

bdougie commented Jan 19, 2023

I want to point out the importance of #791 πŸ˜‚

This Page is not in the Page folder. Not a big deal, but just pointing out the confusion of our current design system setup.

Screen Shot 2023-01-19 at 6 34 19 AM

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.

We should provide the list of timezones in the dropdown.

This should be in a lib - https://stackoverflow.com/questions/38399465/how-to-get-list-of-all-timezones-in-javascript

Screen Shot 2023-01-19 at 6 40 51 AM

Perhaps it can be done in a new PR though

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

PR Compliance Checks

Thank you for your Pull Request! We have run several checks on this pull request in order to make sure it's suitable for merging into this project. The results are listed in the following section.

Watched Files

This pull request modifies specific files that require careful review by the maintainers.

Files Matched

  • npm-shrinkwrap.json
  • package.json

@OgDev-01
Copy link
Contributor Author

We should provide the list of timezones in the dropdown.

This should be in a lib - https://stackoverflow.com/questions/38399465/how-to-get-list-of-all-timezones-in-javascript
Perhaps it can be done in a new PR though

Opening a new issue to implement the form functionality, and this can be included alsoπŸ•

@brandonroberts
Copy link
Contributor

@bdougie A general observation, but can we separate updating Email Preferences from Profile. There isn't a clear distinction between the two sections.

@bdougie
Copy link
Member

bdougie commented Jan 19, 2023

Yes, my original thought was adding it on the right. But wasn't sure if it would get buried on mobile.

@OgDev-01
Copy link
Contributor Author

OgDev-01 commented Jan 19, 2023

Yes, my original thought was adding it on the right. But wasn't sure if it would get buried on mobile.

That section can go under/above the interest section on mobile... any of both would look good on mobile

I can as well push updates for it in a few minutes πŸ•

@bdougie
Copy link
Member

bdougie commented Jan 19, 2023

Everything should float left on large screens.

Screen Shot 2023-01-19 at 12 31 40 PM

@OgDev-01
Copy link
Contributor Author

Everything should float left on large screens.

Screen Shot 2023-01-19 at 12 31 40 PM

This is just the form component without a wrapper... once it is plugged into a page the wrapper will be used to handle the float πŸ•

@brandonroberts brandonroberts changed the title feat: Add UserSettings component to design system feat: add UserSettings component to design system Jan 23, 2023
@OgDev-01 OgDev-01 added the needs review PRs that need review from core engineering team label Jan 24, 2023
@brandonroberts
Copy link
Contributor

We will adjust the timezone fields in implementation

@brandonroberts brandonroberts merged commit dd9cabd into beta Jan 24, 2023
@brandonroberts brandonroberts deleted the 783-user-settings branch January 24, 2023 14:01
github-actions bot pushed a commit that referenced this pull request Jan 24, 2023
## [1.25.0-beta.6](v1.25.0-beta.5...v1.25.0-beta.6) (2023-01-24)

### πŸ• Features

* add `UserSettings` component to design system ([#788](#788)) ([dd9cabd](dd9cabd)), closes [#783](#783)

### πŸ› Bug Fixes

* mobile insights header layout break ([#795](#795)) ([0bc2f0b](0bc2f0b)), closes [#769](#769)
@github-actions
Copy link
Contributor

πŸŽ‰ This PR is included in version 1.25.0-beta.6 πŸŽ‰

The release is available on GitHub release

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

github-actions bot pushed a commit that referenced this pull request Jan 30, 2023
## [1.25.0](v1.24.0...v1.25.0) (2023-01-30)

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

* Renamed the ContributorTable to PullRequestTable ([#779](#779)) ([694d213](694d213)), closes [#681](#681)

### πŸ› Bug Fixes

* add fix for Storybook usage with Next 13 ([#792](#792)) ([bb10b2b](bb10b2b)), closes [/github.com/vercel/next.js/issues/36417#issuecomment-1117360509](https://github.com/open-sauced//github.com/vercel/next.js/issues/36417/issues/issuecomment-1117360509)
* correct repositories empty list message ([#778](#778)) ([18b7393](18b7393)), closes [#777](#777)
* make repositories table styles more responsive ([#773](#773)) ([fe5c6f5](fe5c6f5)), closes [#724](#724)
* mobile insights header layout break ([#795](#795)) ([0bc2f0b](0bc2f0b)), closes [#769](#769)
* remove usage of next/legacy/image ([#793](#793)) ([9264ffb](9264ffb))
* revert [#778](#778) ([f6e30e1](f6e30e1))
* use correct avatar URL for caching  ([#800](#800)) ([726f11b](726f11b)), closes [#757](#757) [#746](#746)

### πŸ• Features

* add `PullRequestSocialCard` component to design system ([#774](#774)) ([04600c2](04600c2)), closes [#716](#716)
* add `UserSettings` component to design system ([#788](#788)) ([dd9cabd](dd9cabd)), closes [#783](#783)
* set insight repo limit based on role ([#813](#813)) ([9e998f1](9e998f1))
* update to Next 13.1.x ([#758](#758)) ([72c2b64](72c2b64)), closes [#753](#753)
@github-actions
Copy link
Contributor

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

The release is available on GitHub release

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

brandonroberts added a commit that referenced this pull request Jan 30, 2023
* v1.25.0-beta.10 -> production (#815)

* chore(minor): release 1.25.0 [skip ci]

## [1.25.0](v1.24.0...v1.25.0) (2023-01-30)

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

* Renamed the ContributorTable to PullRequestTable ([#779](#779)) ([694d213](694d213)), closes [#681](#681)

### πŸ› Bug Fixes

* add fix for Storybook usage with Next 13 ([#792](#792)) ([bb10b2b](bb10b2b)), closes [/github.com/vercel/next.js/issues/36417#issuecomment-1117360509](https://github.com/open-sauced//github.com/vercel/next.js/issues/36417/issues/issuecomment-1117360509)
* correct repositories empty list message ([#778](#778)) ([18b7393](18b7393)), closes [#777](#777)
* make repositories table styles more responsive ([#773](#773)) ([fe5c6f5](fe5c6f5)), closes [#724](#724)
* mobile insights header layout break ([#795](#795)) ([0bc2f0b](0bc2f0b)), closes [#769](#769)
* remove usage of next/legacy/image ([#793](#793)) ([9264ffb](9264ffb))
* revert [#778](#778) ([f6e30e1](f6e30e1))
* use correct avatar URL for caching  ([#800](#800)) ([726f11b](726f11b)), closes [#757](#757) [#746](#746)

### πŸ• Features

* add `PullRequestSocialCard` component to design system ([#774](#774)) ([04600c2](04600c2)), closes [#716](#716)
* add `UserSettings` component to design system ([#788](#788)) ([dd9cabd](dd9cabd)), closes [#783](#783)
* set insight repo limit based on role ([#813](#813)) ([9e998f1](9e998f1))
* update to Next 13.1.x ([#758](#758)) ([72c2b64](72c2b64)), closes [#753](#753)
ElpisHelle added a commit to ElpisHelle/next.js-tailwindcss that referenced this pull request Aug 17, 2023
## [1.25.0-beta.6](open-sauced/app@v1.25.0-beta.5...v1.25.0-beta.6) (2023-01-24)

### πŸ• Features

* add `UserSettings` component to design system ([#788](open-sauced/app#788)) ([dd9cabd](open-sauced/app@dd9cabd)), closes [#783](open-sauced/app#783)

### πŸ› Bug Fixes

* mobile insights header layout break ([#795](open-sauced/app#795)) ([0bc2f0b](open-sauced/app@0bc2f0b)), closes [#769](open-sauced/app#769)
ElpisHelle added a commit to ElpisHelle/next.js-tailwindcss that referenced this pull request Aug 17, 2023
## [1.25.0](open-sauced/app@v1.24.0...v1.25.0) (2023-01-30)

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

* Renamed the ContributorTable to PullRequestTable ([#779](open-sauced/app#779)) ([694d213](open-sauced/app@694d213)), closes [#681](open-sauced/app#681)

### πŸ› Bug Fixes

* add fix for Storybook usage with Next 13 ([#792](open-sauced/app#792)) ([bb10b2b](open-sauced/app@bb10b2b)), closes [/github.com/vercel/next.js/issues/36417#issuecomment-1117360509](https://github.com/open-sauced//github.com/vercel/next.js/issues/36417/issues/issuecomment-1117360509)
* correct repositories empty list message ([#778](open-sauced/app#778)) ([18b7393](open-sauced/app@18b7393)), closes [#777](open-sauced/app#777)
* make repositories table styles more responsive ([#773](open-sauced/app#773)) ([fe5c6f5](open-sauced/app@fe5c6f5)), closes [#724](open-sauced/app#724)
* mobile insights header layout break ([#795](open-sauced/app#795)) ([0bc2f0b](open-sauced/app@0bc2f0b)), closes [#769](open-sauced/app#769)
* remove usage of next/legacy/image ([#793](open-sauced/app#793)) ([9264ffb](open-sauced/app@9264ffb))
* revert [#778](open-sauced/app#778) ([f6e30e1](open-sauced/app@f6e30e1))
* use correct avatar URL for caching  ([#800](open-sauced/app#800)) ([726f11b](open-sauced/app@726f11b)), closes [#757](open-sauced/app#757) [#746](open-sauced/app#746)

### πŸ• Features

* add `PullRequestSocialCard` component to design system ([#774](open-sauced/app#774)) ([04600c2](open-sauced/app@04600c2)), closes [#716](open-sauced/app#716)
* add `UserSettings` component to design system ([#788](open-sauced/app#788)) ([dd9cabd](open-sauced/app@dd9cabd)), closes [#783](open-sauced/app#783)
* set insight repo limit based on role ([#813](open-sauced/app#813)) ([9e998f1](open-sauced/app@9e998f1))
* update to Next 13.1.x ([#758](open-sauced/app#758)) ([72c2b64](open-sauced/app@72c2b64)), closes [#753](open-sauced/app#753)
ElpisHelle added a commit to ElpisHelle/next.js-tailwindcss that referenced this pull request Aug 17, 2023
* v1.25.0-beta.10 -> production (#815)

* chore(minor): release 1.25.0 [skip ci]

## [1.25.0](open-sauced/app@v1.24.0...v1.25.0) (2023-01-30)

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

* Renamed the ContributorTable to PullRequestTable ([#779](open-sauced/app#779)) ([694d213](open-sauced/app@694d213)), closes [#681](open-sauced/app#681)

### πŸ› Bug Fixes

* add fix for Storybook usage with Next 13 ([#792](open-sauced/app#792)) ([bb10b2b](open-sauced/app@bb10b2b)), closes [/github.com/vercel/next.js/issues/36417#issuecomment-1117360509](https://github.com/open-sauced//github.com/vercel/next.js/issues/36417/issues/issuecomment-1117360509)
* correct repositories empty list message ([#778](open-sauced/app#778)) ([18b7393](open-sauced/app@18b7393)), closes [#777](open-sauced/app#777)
* make repositories table styles more responsive ([#773](open-sauced/app#773)) ([fe5c6f5](open-sauced/app@fe5c6f5)), closes [#724](open-sauced/app#724)
* mobile insights header layout break ([#795](open-sauced/app#795)) ([0bc2f0b](open-sauced/app@0bc2f0b)), closes [#769](open-sauced/app#769)
* remove usage of next/legacy/image ([#793](open-sauced/app#793)) ([9264ffb](open-sauced/app@9264ffb))
* revert [#778](open-sauced/app#778) ([f6e30e1](open-sauced/app@f6e30e1))
* use correct avatar URL for caching  ([#800](open-sauced/app#800)) ([726f11b](open-sauced/app@726f11b)), closes [#757](open-sauced/app#757) [#746](open-sauced/app#746)

### πŸ• Features

* add `PullRequestSocialCard` component to design system ([#774](open-sauced/app#774)) ([04600c2](open-sauced/app@04600c2)), closes [#716](open-sauced/app#716)
* add `UserSettings` component to design system ([#788](open-sauced/app#788)) ([dd9cabd](open-sauced/app@dd9cabd)), closes [#783](open-sauced/app#783)
* set insight repo limit based on role ([#813](open-sauced/app#813)) ([9e998f1](open-sauced/app@9e998f1))
* update to Next 13.1.x ([#758](open-sauced/app#758)) ([72c2b64](open-sauced/app@72c2b64)), closes [#753](open-sauced/app#753)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review PRs that need review from core engineering team released on @beta released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: Create UserSettings page component
3 participants