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

Bug: PR does not automatically go to Highlights #242

Closed
2 tasks done
CBID2 opened this issue Aug 8, 2023 · 18 comments · Fixed by #245
Closed
2 tasks done

Bug: PR does not automatically go to Highlights #242

CBID2 opened this issue Aug 8, 2023 · 18 comments · Fixed by #245

Comments

@CBID2
Copy link
Contributor

CBID2 commented Aug 8, 2023

Describe the bug

Whenever I click on "Add PR to highlights" to place a merged PR in that section, it goes there, but the chosen PR does not automatically appear there.

Steps to reproduce

  1. Sign in to the Chrome Extension
  2. Go to a merged PR
  3. Click on the OpenSauced icon
  4. Click on the Add PR to the Highlights section

Browsers

Chrome

Additional context (Is this in dev or production?)

Adding.Video.subcategory.and.resource.for.the.open.source.section.by.CBID2.Pull.Request.1494.rupali-codes_LinksHub.-.8.August.2023.mp4

Code of Conduct

  • I agree to follow this project's Code of Conduct

Contributing Docs

  • I agree to follow this project's Contribution Docs
@CBID2 CBID2 added 🐛 bug Something isn't working 👀 needs triage labels Aug 8, 2023
@Anush008
Copy link
Member

Anush008 commented Aug 8, 2023

@CBID2, can you share the link to the PR that's not working for you?

@diivi
Copy link
Contributor

diivi commented Aug 8, 2023

We just redirect to the highlights page right now if I remember correctly. No information is auto filled for now.

@Anush008
Copy link
Member

Anush008 commented Aug 8, 2023

It's about the 'Post a highlight' autofill I think.

@CBID2
Copy link
Contributor Author

CBID2 commented Aug 8, 2023

It's about the 'Post a highlight' autofill I think.

Yeah that's the one

@CBID2
Copy link
Contributor Author

CBID2 commented Aug 8, 2023

@CBID2, can you share the link to the PR that's not working for you?

It's a issue I have with all my PRs.

@Anush008
Copy link
Member

Anush008 commented Aug 8, 2023

I tried posting a highlight. The auto-fill worked for me as expected. Can you share a recording?

@bdougie
Copy link
Member

bdougie commented Aug 8, 2023

Was it a draft PR @CBID2?

@CBID2
Copy link
Contributor Author

CBID2 commented Aug 8, 2023

Was it a draft PR @CBID2?

No a merged one @bdougie

@CBID2
Copy link
Contributor Author

CBID2 commented Aug 8, 2023

I tried posting a highlight. The auto-fill worked for me as expected. Can you share a recording?

Yup, just posted one in the Additional information section of the issue @Anush008. Feel free to check it out too @bdougie

@bdougie
Copy link
Member

bdougie commented Aug 8, 2023

We need to change this altogether. This PR open-sauced/app#1487 changes how we will link to highlighting creation moving forward.

I suggest fixing the links to https://highlight.new and passing in query params to populate the opened input.

@Anush008
Copy link
Member

Anush008 commented Aug 9, 2023

Just saw the recording. I thought it was about posting a highlight from the extension's pop-up page which has auto-fill.

@CBID2
Copy link
Contributor Author

CBID2 commented Aug 9, 2023

We need to change this altogether. This PR open-sauced/app#1487 changes how we will link to highlighting creation moving forward.

I suggest fixing the links to https://highlight.new and passing in query params to populate the opened input.

Okay where can I do that as far as files or folders @bdougie?

@bdougie
Copy link
Member

bdougie commented Aug 9, 2023

Start with search in the repo for the copy, "add to highlight"

@Anush008
Copy link
Member

Anush008 commented Aug 9, 2023

@CBID2
Copy link
Contributor Author

CBID2 commented Aug 9, 2023

@CBID2, https://github.com/open-sauced/ai/blob/beta/src/utils/dom-utils/addPRToHighlights.ts handles adding the button to GitHub.

https://github.com/open-sauced/ai/blob/beta/src/content-scripts/components/AddPRToHighlights/AddPRToHighlightsButton.ts controls the button behaviour. Your changes need to go here.

Thanks @Anush008

@CBID2 CBID2 mentioned this issue Aug 10, 2023
19 tasks
@github-actions
Copy link

🎉 This issue has been resolved in version 1.14.0-beta.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@github-actions
Copy link

🎉 This issue has been resolved in version 1.14.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging a pull request may close this issue.

4 participants