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: implement insights team feature #1080

Merged
merged 27 commits into from
Apr 18, 2023
Merged

feat: implement insights team feature #1080

merged 27 commits into from
Apr 18, 2023

Conversation

OgDev-01
Copy link
Contributor

@OgDev-01 OgDev-01 commented Apr 5, 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

This PR:

  • Adds teams invite, update and delete implementation
  • refactors the select options to accept objects with name and value key pairs

Note:

The select needs a bit of work to be responsive atm... It overflows on mobile. We need to replace the select with Radix select that we already have in the design system. I'll open an issue on this to refactor the current radix implementation

Related Tickets & Documents

Closes #975

Mobile & Desktop Screenshots/Recordings

image

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 Apr 5, 2023

βœ… Deploy Preview for oss-insights ready!

Name Link
πŸ”¨ Latest commit 9afe063
πŸ” Latest deploy log https://app.netlify.com/sites/oss-insights/deploys/643edb01354c450008229dec
😎 Deploy Preview https://deploy-preview-1080--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 Apr 5, 2023

βœ… Deploy Preview for design-insights ready!

Name Link
πŸ”¨ Latest commit 9afe063
πŸ” Latest deploy log https://app.netlify.com/sites/design-insights/deploys/643edb01073b280008c7da89
😎 Deploy Preview https://deploy-preview-1080--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
Copy link
Contributor

brandonroberts commented Apr 7, 2023

@OgDev-01 the user/owner has been added to the insight information https://beta.api.opensauced.pizza/#/Insights%20service/findInsightPageById

@brandonroberts
Copy link
Contributor

@OgDev-01 there's a build failure on the deploy preview

@OgDev-01 OgDev-01 marked this pull request as ready for review April 17, 2023 16:07
@OgDev-01
Copy link
Contributor Author

@OgDev-01 there's a build failure on the deploy preview

Fixed βœ…

@nightknighto
Copy link
Contributor

image
For some reason my name is displayed as undefined.

@OgDev-01
Copy link
Contributor Author

image For some reason my name is displayed as undefined.

@brandonroberts any idea why this would occur?

@brandonroberts
Copy link
Contributor

brandonroberts commented Apr 18, 2023

image For some reason my name is displayed as undefined.

@brandonroberts any idea why this would occur?

The user doesn't have a name defined in the database

image

We should fallback to the login if its not defined

@OgDev-01
Copy link
Contributor Author

@Deadreyo can you test again to confirm the undefined issue has been handled?

@OgDev-01 OgDev-01 added needs review PRs that need review from core engineering team and removed requested changes labels Apr 18, 2023
Copy link
Contributor

@nightknighto nightknighto left a comment

Choose a reason for hiding this comment

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

Yeah it is fixed now. LGTM! πŸš€

Copy link
Contributor

@brandonroberts brandonroberts left a comment

Choose a reason for hiding this comment

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

LGTM

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.

Functionally checked it out and works for me.

@OgDev-01 OgDev-01 added ready-to-merge and removed needs review PRs that need review from core engineering team needs-approval labels Apr 18, 2023
@brandonroberts brandonroberts merged commit 5186a60 into beta Apr 18, 2023
@brandonroberts brandonroberts deleted the 975-team-feat branch April 18, 2023 20:59
github-actions bot pushed a commit that referenced this pull request Apr 18, 2023
## [1.43.0-beta.2](v1.43.0-beta.1...v1.43.0-beta.2) (2023-04-18)

### πŸ• Features

* implement insights team feature ([#1080](#1080)) ([5186a60](5186a60))
@github-actions
Copy link

πŸŽ‰ This PR is included in version 1.43.0-beta.2 πŸŽ‰

The release is available on GitHub release

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

github-actions bot pushed a commit that referenced this pull request Apr 20, 2023
## [1.43.0](v1.42.0...v1.43.0) (2023-04-20)

### πŸ• Features

* add page to accept insight member invitation ([#1102](#1102)) ([ffe35e2](ffe35e2))
* connect contributor page and graphs to the API ([#1072](#1072)) ([#1112](#1112)) ([4fc471c](4fc471c))
* connect contributors page to API ([#1113](#1113)) ([e51c51e](e51c51e))
* implement insights team feature ([#1080](#1080)) ([5186a60](5186a60))

### πŸ› Bug Fixes

* adds spacing to contributor highlights container ([#1089](#1089)) ([83d89bd](83d89bd)), closes [#1057](#1057)
* only redirect on contributor profile if login is defined ([#1114](#1114)) ([483f38c](483f38c))
@github-actions
Copy link

πŸŽ‰ This PR is included in version 1.43.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.43.0-beta.2](open-sauced/app@v1.43.0-beta.1...v1.43.0-beta.2) (2023-04-18)

### πŸ• Features

* implement insights team feature ([#1080](open-sauced/app#1080)) ([5186a60](open-sauced/app@5186a60))
ElpisHelle added a commit to ElpisHelle/next.js-tailwindcss that referenced this pull request Aug 17, 2023
## [1.43.0](open-sauced/app@v1.42.0...v1.43.0) (2023-04-20)

### πŸ• Features

* add page to accept insight member invitation ([#1102](open-sauced/app#1102)) ([ffe35e2](open-sauced/app@ffe35e2))
* connect contributor page and graphs to the API ([#1072](open-sauced/app#1072)) ([#1112](open-sauced/app#1112)) ([4fc471c](open-sauced/app@4fc471c))
* connect contributors page to API ([#1113](open-sauced/app#1113)) ([e51c51e](open-sauced/app@e51c51e))
* implement insights team feature ([#1080](open-sauced/app#1080)) ([5186a60](open-sauced/app@5186a60))

### πŸ› Bug Fixes

* adds spacing to contributor highlights container ([#1089](open-sauced/app#1089)) ([83d89bd](open-sauced/app@83d89bd)), closes [#1057](open-sauced/app#1057)
* only redirect on contributor profile if login is defined ([#1114](open-sauced/app#1114)) ([483f38c](open-sauced/app@483f38c))
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.

Feature: Make the teams UI feature work
4 participants