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

Support our own notifications #398

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Megha-Dev-19
Copy link
Collaborator

Resolves #293
Instead of using custom notifications, which is supported on near.org (but contains quite a few bugs) and isn't supported on near.social, I thought of adding our own index like buildhub.near/{{feature}}/{{action}}.
Because now we have our own notifications page in gateway, where we can easily support it.
Eg: for proposal, it will be buildhub.near/proposal/vote, buildhub.near/proposal/create, similarly we can have it for events, and other features. We can have "Approve", "Reject", "View", all these different actions for different type of feature and actions.
@elliotBraem what do you think of the idea and structure? if you agree, I will continue to add further changes to the PR

Copy link

vercel bot commented Jun 16, 2024

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

Name Status Preview Comments Updated (UTC)
gateway ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 16, 2024 3:37pm

@elliotBraem
Copy link
Contributor

I like the idea of creating new indices, and I think I could get behind the structure with some more reasoning --

If I were to Social.get("buildhub.near/proposal/vote"), would I get any data? What would this data look like?

How might we define a "Notification" type?


but maybe we can continue this discussion through notify.near on gateway? Can you create this project pointing to "notify.near" account?

@Megha-Dev-19
Copy link
Collaborator Author

I have moved this conversation here.

@Megha-Dev-19 Megha-Dev-19 deleted the custom-notifications branch June 24, 2024 18:10
@Megha-Dev-19 Megha-Dev-19 restored the custom-notifications branch June 25, 2024 08:34
@Megha-Dev-19 Megha-Dev-19 reopened this Jun 25, 2024
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.

supporting custom notification for buildhub.near
2 participants