Monorepo for Tangled tangled.org

appview/notify: notify users mentioned in issues #738

merged opened by boltless.me targeting master from feat/mentions
Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:xasnlahkri4ewmbuzly2rlc5/sh.tangled.repo.pull/3m4jbido5pi22
Interdiff #1 #2
appview/indexer/notifier.go

This file has not been changed.

appview/issues/issues.go

This file has not been changed.

appview/notify/db/db.go

This file has not been changed.

appview/notify/merged_notifier.go

This patch was likely rebased, as context lines do not match.

appview/notify/notifier.go

This patch was likely rebased, as context lines do not match.

appview/notify/posthog/notifier.go

This file has not been changed.

History

14 rounds 2 comments
sign up or login to add to the discussion
1 commit
expand
appview/notify: notify users mentioned in issues
2/3 failed, 1/3 success
expand
expand 0 comments
pull request successfully merged
1 commit
expand
appview/notify: notify users mentioned in issues
2/3 failed, 1/3 success
expand
expand 0 comments
1 commit
expand
appview/notify: notify users mentioned in issues
2/3 failed, 1/3 success
expand
expand 0 comments
1 commit
expand
appview/notify: notify users mentioned in issues
3/3 failed
expand
expand 0 comments
1 commit
expand
appview/notify: notify users mentioned in issues
1/3 failed, 2/3 timeout
expand
expand 0 comments
1 commit
expand
appview/notify: notify users mentioned in issues
3/3 success
expand
expand 0 comments
1 commit
expand
appview/notify: notify users mentioned in issues
3/3 success
expand
expand 0 comments
1 commit
expand
appview/notify: notify users mentioned in issues
3/3 success
expand
expand 0 comments
1 commit
expand
appview/notify: notify users mentioned in issues
3/3 success
expand
expand 0 comments
1 commit
expand
appview/notify: notify users mentioned in issues
3/3 success
expand
expand 0 comments
1 commit
expand
appview/notify: notify users mentioned in issues
1/3 failed, 1/3 timeout, 1/3 success
expand
expand 0 comments
1 commit
expand
appview/notify: notify users mentioned in issues
1/3 failed, 2/3 timeout
expand
expand 0 comments
1 commit
expand
appview/notify: notify users mentioned in issues
1/3 failed, 2/3 timeout
expand
expand 2 comments

the way i'd want to see this implemented is like so:

  • the handle mentions are rewritten by the appview to point to a DID (this way mentions continue to work across handle changes). this can happen when creating a new issue or a new comment. note that when editing a text field, this needs to be retranslated from DID back to handle. we do something similar in labels that accept DIDs for example
  • next, we can introduce models.IssueComment.Mentions to get a list of DIDs mentioned in the text of a comment, and notify them accordingly, upon creation.

I've considered it, but decided to go without did transitions for now. We can merge this as a temporary solution and introduce did-hardening later.

Also not sure, how would that look like in markdown. you mean like this: @did:plc:someone?

1 commit
expand
appview/notify: notify users mentioned in issues
1/3 failed, 2/3 timeout
expand
expand 0 comments