-
-
Notifications
You must be signed in to change notification settings - Fork 235
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: Highlight suggestions #943
Comments
@bdougie I think I need more details on this. |
Moved this back to the backlog. Need a better solution for suggesting highlights. |
This part means switching the tab to "Highlights" and focusing on the input so it expands. I'm working on this.
How do we get the pull requests that the user created recently? Was this implemented in the backend? |
There is a new UI for this. The API for fetching recent PRs is not implemented. [Figma] APIThis will need its own tracking issue in the API, but we should be able to grab the most recent PRs (10) and display the ones that do not already have existing highlights associated with them. For now suggestions will be PRs, but we can add issues and milestones in future iterations. In the future, 1 PR, 1 Issue, and 1 milestone suggestions. suggested endpoint: |
Fine by me. |
Maybe we should fetch the recent PRs and issues on the frontend itself instead of making an extra endpoint that calls github apis anyway? We call the api for validations in the frontend already. |
We are using the GitHub api for some of social card generation. I think that would be fine, we just want to make sure we are checking if the pr or issue is not already highlighted. |
@OgDev-01 just assigned this to you. If you are able to approach it this week, that would be appreciated. We will need an endpoint to check the suers recently authored PRs and Issues. Suggesting only PRs and Issues that are not already linked to an existing highlight by the user. |
Actually. Per slack, @diivi has bandwidth. Let us know if this is possible to be PR'd before Friday. |
Another point to consider - Modals are the topmost elements in Radix UI (I might be wrong though), so all toasts appear below them (and blurred). So the way we show errors also will have to be changed. |
Did some research, I can bring the toast to the top with some hacks. But to make it interactable I'll have to set The alternate solution that I went for is just remove the close icon from the toast for the toasts resulting from this form. The toasts will disappear after a few seconds anyway. Here's what it looks like that way: |
Can you take a look at the edit highlight error message handling and follow that same pattern for this If we have any error message to be displayed to users?. The toast can remain for only success messages which mostly comes after successful request and dialog is closed |
Thanks! Looks better. |
I think we can do all the same modal then, and just have a good amount of padding between the two sections |
let's make it scrollable (Option 2) a couple of comments:
|
🎉 This issue has been resolved in version 1.65.0-beta.4 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version 1.65.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Type of feature
🍕 Feature
Current behavior
We need to provide things for the user to highlight.
Suggested solution
Can we design the follow
Additional context
No response
Code of Conduct
Contributing Docs
The text was updated successfully, but these errors were encountered: