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: action mods (+ tipping example) #151

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

Conversation

stephancill
Copy link
Contributor

@stephancill stephancill commented Jan 23, 2024

Change Summary

This PR adds a new mod type called Action Mods, which are triggered by post content. It includes a tipping mod which is of this new type.

Further ideas:

  • onSetInput and onAddEmbed callbacks should apply to the reply of the post being called on
  • onSetPostContent - a callback for modifying post content (this can be done by adding a section for modifications by the Mod)

Merge Checklist

  • PR has a changeset
  • PR includes documentation if necessary
  • PR updates the rich-embed examples if necessary
  • includes a parallel PR for Mod-starter and the gateway if necessary

Copy link

changeset-bot bot commented Jan 23, 2024

🦋 Changeset detected

Latest commit: 6b703fa

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@mod-protocol/react-ui-shadcn Patch
@mod-protocol/mod-registry Minor
@mod-protocol/core Patch
web Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Jan 23, 2024

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

Name Status Preview Comments Updated (UTC)
api ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 24, 2024 11:07am
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 24, 2024 11:07am
example-nextjs-shadcn ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 24, 2024 11:07am

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

Successfully merging this pull request may close these issues.

1 participant