Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: action mods (+ tipping example)#151

Open
stephancill wants to merge 7 commits intomain from
feat/action-mods
Open

feat: action mods (+ tipping example) #151
stephancill wants to merge 7 commits intomain from
feat/action-mods

Conversation

@stephancill
Copy link
Contributor

@stephancill stephancill commented Jan 23, 2024
edited
Loading

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
edited
Loading

🦋 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
edited
Loading

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

Reviewers

@davidfurlong davidfurlong Awaiting requested review from davidfurlong

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /