-
-
Notifications
You must be signed in to change notification settings - Fork 203
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
Feature: Force login when checking the box #1132
Comments
This is challenging, but I would like to work on it. If it's not urgent, I will work on the weekend. |
The auto-take issues workflow is not enabled here, we can only assign issues to @open-sauced/triage, @open-sauced/committers, @open-sauced/maintainers in this repo for now. We suggest folks not on the team open issues and take a look at the Bugs or Papercuts. If you would like to find good first issues, please check out the companion project to this, open-sauced/hot. |
As first insights: The login can be done with the Supabase auth: https://github.com/open-sauced/insights/blob/beta/pages/hub/insights/%5BinsightId%5D/accept.tsx#L16 The selected repo is being handled in the repo table: The check box is disabled in the table row: What's the next step:
|
I could not open the list of the repos is it related to the .env file or something else? @takanome-dev |
I'm not really sure, I'm getting the same error right now. The response status is
Maybe it's due to slow network 🤔 |
@takanome-dev and @a0m0rajab |
Thank you for the information and help. |
@a0m0rajab beta is fixed. |
Opened a PR. There are two things I noticed here I am not sure if I should do in this PR or create a new one:
From my perspective, I think both of them need to be done, but wanted to get your input. |
Both are needed in this PR. I don't know @brandonroberts has a better suggestion but I think we could use the context library to save that while being redirected. |
|
I think there is an open issue about the redirect after login here -> #1075 |
@takanome-dev Thank you for that! it helped me! I added redirect in the last commit that I have but there is only one issue, when I add the query data to the redirect it's just not being sent to the redirect. |
🎉 This issue has been resolved in version 1.54.0-beta.4 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
## [1.54.0](v1.53.0...v1.54.0) (2023-06-28) ### 🐛 Bug Fixes * fix yellow color for `<Pill />` component ([#1299](#1299)) ([2f2d9f5](2f2d9f5)) ### 🍕 Features * hide highlights tab components on profiles without highlights ([#1304](#1304)) ([976739f](976739f)) * add `BillBoard` component to design system ([#1306](#1306)) ([1181cfd](1181cfd)) * add `FeaturedHighlightPanel` component to design system ([#1307](#1307)) ([452213c](452213c)) * add `UserCard` component to storybook design system ([#1295](#1295)) ([6867011](6867011)) * add highlight prompt to design system ([#1297](#1297)) ([4a85e74](4a85e74)) * add top users panel component to design system ([#1300](#1300)) ([9c05fec](9c05fec)) * add URL for collaboration requests ([#1305](#1305)) ([b3f8ea5](b3f8ea5)) * allow login flow after selecting repositories to add to insight page (close [#1132](#1132)) ([#1184](#1184)) ([21aaa0b](21aaa0b)) * implemented/added scroll-area component to design-system ([#1283](#1283)) ([b7280ab](b7280ab))
🎉 This issue has been resolved in version 1.54.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
## [1.54.0-beta.4](open-sauced/app@v1.54.0-beta.3...v1.54.0-beta.4) (2023-06-26) ### 🍕 Features * allow login flow after selecting repositories to add to insight page (close [#1132](open-sauced/app#1132)) ([#1184](open-sauced/app#1184)) ([21aaa0b](open-sauced/app@21aaa0b))
## [1.54.0](open-sauced/app@v1.53.0...v1.54.0) (2023-06-28) ### 🐛 Bug Fixes * fix yellow color for `<Pill />` component ([#1299](open-sauced/app#1299)) ([2f2d9f5](open-sauced/app@2f2d9f5)) ### 🍕 Features * hide highlights tab components on profiles without highlights ([#1304](open-sauced/app#1304)) ([976739f](open-sauced/app@976739f)) * add `BillBoard` component to design system ([#1306](open-sauced/app#1306)) ([1181cfd](open-sauced/app@1181cfd)) * add `FeaturedHighlightPanel` component to design system ([#1307](open-sauced/app#1307)) ([452213c](open-sauced/app@452213c)) * add `UserCard` component to storybook design system ([#1295](open-sauced/app#1295)) ([6867011](open-sauced/app@6867011)) * add highlight prompt to design system ([#1297](open-sauced/app#1297)) ([4a85e74](open-sauced/app@4a85e74)) * add top users panel component to design system ([#1300](open-sauced/app#1300)) ([9c05fec](open-sauced/app@9c05fec)) * add URL for collaboration requests ([#1305](open-sauced/app#1305)) ([b3f8ea5](open-sauced/app@b3f8ea5)) * allow login flow after selecting repositories to add to insight page (close [#1132](open-sauced/app#1132)) ([#1184](open-sauced/app#1184)) ([21aaa0b](open-sauced/app@21aaa0b)) * implemented/added scroll-area component to design-system ([#1283](open-sauced/app#1283)) ([b7280ab](open-sauced/app@b7280ab))
Type of feature
🍕 Feature
Current behavior
Today when a user is logged out, we do not allow them to check a box. Instead we make this an allowed action. When the user clicks "Create Insight," that should logged them in and present them with an insight page with the items selected in the cart.
Suggested solution
Additional context
No response
Code of Conduct
Contributing Docs
The text was updated successfully, but these errors were encountered: