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

Add to (OpenSauced) insight repo button #13

Closed
Tracked by #4
bdougie opened this issue Apr 17, 2023 · 2 comments
Closed
Tracked by #4

Add to (OpenSauced) insight repo button #13

bdougie opened this issue Apr 17, 2023 · 2 comments
Assignees

Comments

@bdougie
Copy link
Member

bdougie commented Apr 17, 2023

Today when a user is exploring they can add a project to an insights page on OpenSauced. I would love a feature when they can add a repo to a page while browsing GitHub.

My thought is adding a dropdown to a voting button. Similar to the star list dropdown.

Uploading Screen Shot 2023-04-18 at 5.59.44 AM.png…

Screen Shot 2023-04-18 at 5 57 49 AM

@diivi
Copy link
Contributor

diivi commented May 12, 2023

I can take this if Anush works on #71, we discussed an approach before about adding Github's dropdown (add to list), next to the upvote button to add a repo to an insight.

That approach won't be as customizable as putting these options in the extension popup though, because we will have to use github's classes and styles.

@bdougie
Copy link
Member Author

bdougie commented May 12, 2023

We should use the GitHub UI for this. The end point for seeing insights exist here: https://api.opensauced.pizza/#/Insights%20service/addInsightForUser

Screen Shot 2023-05-12 at 10 54 42 AM

If no insight pages existing the user can be sent to https://insights.opensauced.pizza/hub/insights/new

Finally here is a mock of the dropdown coming in the insights app for reference. Again use the GitHub UI elements. We don't need to copy it, just sharing for reference.

Screen Shot 2023-05-12 at 11 04 16 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants