Git Product home page Git Product logo

Comments (17)

a0m0rajab avatar a0m0rajab commented on August 21, 2024 1

I was thinking about something similar to Google Keep extension, where you click on it and it allows you to post it to your account from the extension without the need to open the website.
Keep extension screenshot

But your idea is less complex to apply I think, we can use it as a bookmark similar to the YC logic:

javascript:window.location="https://news.ycombinator.com/submitlink?u="+encodeURIComponent(document.location)+"&t="+encodeURIComponent(document.title)

from ai.

bdougie avatar bdougie commented on August 21, 2024

This is a contribution that will need to be made on open-sauced/insights.

We can leverage ?query params. Pretty straight forward with the next router. Did you want to try it out there?

from ai.

bdougie avatar bdougie commented on August 21, 2024

This is also possible and a better user experience. We have an endpoint in https://api.opensauced.pizza for creating highlights

from ai.

a0m0rajab avatar a0m0rajab commented on August 21, 2024

I will work on it. Might ship the first draft in a day or two. it will let me get familiar with the extension code as well :)

from ai.

bdougie avatar bdougie commented on August 21, 2024

Here is a screenshot of the giphy for github experience

Screen Shot 2023-05-18 at 2 49 40 PM

from ai.

a0m0rajab avatar a0m0rajab commented on August 21, 2024

Do you prefer to have it in the comment section or the extension itself, I was thinking about a button: add to highlight.
after pressing the button I was thinking about showing a form with the: title, desc, and link.
example UI

from ai.

bdougie avatar bdougie commented on August 21, 2024

It should be a pencil, similar to AI PR description option. I question if the Highlight is needed and if this could replace that. Especially if the feed will be viewable in the extension #78.

Screen Shot 2023-05-18 at 4 11 18 PM

from ai.

a0m0rajab avatar a0m0rajab commented on August 21, 2024

Sure, i will use the pencil, I was thinking about paper plane but this might be used for the send button.
image

from ai.

a0m0rajab avatar a0m0rajab commented on August 21, 2024

This is related to #12 and #64

from ai.

a0m0rajab avatar a0m0rajab commented on August 21, 2024

The main page,
image

The post on the highlight page:
image

I wanted to use the OG data to add the link on the post on highlight page but did not figure how to do that, I might check insights project to get some ideas from there. If I cant figure that out, I will add an input to add a link through it.

from ai.

a0m0rajab avatar a0m0rajab commented on August 21, 2024

The open graph logic from the insights: https://github.com/open-sauced/insights/blob/beta/components/molecules/GhOpenGraphImg/gh-open-graph-img.tsx

from ai.

takanome-dev avatar takanome-dev commented on August 21, 2024

The main page, image

The post on the highlight page: image

I wanted to use the OG data to add the link on the post on highlight page but did not figure how to do that, I might check insights project to get some ideas from there. If I cant figure that out, I will add an input to add a link through it.

Looking good so far @a0m0rajab👍 At this point, I think you can open a draft pr and add these screenshots to the pr visual changes section 😃

from ai.

bdougie avatar bdougie commented on August 21, 2024

Highlights need to be associated to a pull request and we now have a way to generate highlight messages.

This addition should include a way to reference the pr for the highlight. Add a highlight option should only show while a pull request is being viewed.

from ai.

a0m0rajab avatar a0m0rajab commented on August 21, 2024

Thank you for the comment @takanome-dev opened a PR,
@bdougie I did this as a page right now, I can add the logic you mentioned.
I followed the keep design right now, but might change it to giphy if it's needed.

from ai.

a0m0rajab avatar a0m0rajab commented on August 21, 2024

This is also possible and a better user experience. We have an endpoint in https://api.opensauced.pizza for creating highlights

Example usage for reference: https://github.com/open-sauced/insights/blob/e083ea541c78d0e992d989eda942f3d50bbac980/lib/hooks/createHighlights.ts#L23

from ai.

github-actions avatar github-actions commented on August 21, 2024

🎉 This issue has been resolved in version 1.3.1-beta.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

from ai.

github-actions avatar github-actions commented on August 21, 2024

🎉 This issue has been resolved in version 1.4.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

from ai.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.