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

feat: lens open frames standard #4802

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

defispartan
Copy link
Collaborator

What does this PR do?

Add support for embedding and interacting with Open Frames following the Lens specification

Related issues

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Enhancement (non-breaking small changes to existing functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Explanation of the changes

Copy link

height bot commented Apr 9, 2024

Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword link (e.g. "Link T-123").

💡Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.

Copy link

vercel bot commented Apr 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
web ❌ Failed (Inspect) Apr 17, 2024 3:24am

Copy link

vercel bot commented Apr 9, 2024

@defispartan is attempting to deploy a commit to the Hey Team on Vercel.

A member of the Team first needs to authorize it.


const { document } = parseHTML(data);

logger.info(`Portal button clicked by ${id} on ${postUrl}`);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
logger.info(`Portal button clicked by ${id} on ${postUrl}`);
logger.info(`Open frame button clicked by ${id} on ${postUrl}`);

@@ -54,6 +55,8 @@ const Oembed: FC<OembedProps> = ({ publicationId, url }) => {
<Player og={og} />
) : og.nft ? (
<Nft nft={og.nft} publicationId={publicationId} />
) : og.portal ? (
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
) : og.portal ? (
) : og.frame ? (

Copy link

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

Successfully merging this pull request may close these issues.

None yet

2 participants