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: framegear can test some frames locally #152

Merged
merged 7 commits into from
Feb 20, 2024

Conversation

cnasc
Copy link
Contributor

@cnasc cnasc commented Feb 20, 2024

What changed? Why?
Pulled from #148. Using the changes from #149, this PR extends framegear to be able to test some frames locally. We don't yet have full coverage, but frames that simply use the post action on buttons work (provided that they are built with v0.8.0+ of @coinbase/onchainkit and that they pass the allowFramegear option to getFrameMessage. Documentation around this functionality is in progress).

Additionally updated docs site to include usage notes.

#146 tracks future enhancements, including being able to simulate likes/follows/recasts and handling other types of button action.

Screen.Recording.2024-02-19.at.10.58.17.PM.mov

Notes to reviewers
LFG

How has it been tested?
I took a-frame-in-100-lines, modified it to use the new code, and tested that I could advance through frames using buttons with the post action.

@cnasc cnasc requested a review from Zizzamia February 20, 2024 04:04
@Zizzamia Zizzamia merged commit a6e0f16 into main Feb 20, 2024
8 of 9 checks passed
@Zizzamia Zizzamia deleted the cjn/look-upon-my-framegear-ye-mighty-and-despair branch February 20, 2024 06:50
This was referenced Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants