-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
#2305 Implement in-app notifications for non-monetary contributions #2314
#2305 Implement in-app notifications for non-monetary contributions #2314
Conversation
group-income
|
Project |
group-income
|
Branch Review |
sebin/task/#2305-notifications-for-non-monetary
|
Run status |
|
Run duration | 09m 13s |
Commit |
|
Committer | Sebin Song |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
0
|
|
10
|
|
0
|
|
111
|
View all changes introduced in this branch ↗︎ |
frontend/model/contracts/group.js
Outdated
@@ -1791,6 +1812,30 @@ sbp('chelonia/defineContract', { | |||
}).catch(e => { | |||
console.warn(`removeForeignKeys: ${e.name} error thrown:`, e) | |||
}) | |||
}, | |||
'gi.contracts/group/sendNonMonetaryUpdateNontification': ({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo here: -Nontification
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@snowteamer good catch, fixed.
This PR is ready besides the group-chat heisen-bug |
Thanks @SebinSong. Supposedly @corrideat thinks his PR #2294 (once it's ready) should address the heisenbug. |
…tifications-for-non-monetary
…tifications-for-non-monetary
…tifications-for-non-monetary
…tifications-for-non-monetary
…tifications-for-non-monetary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent work @SebinSong! 👏
closes #2305
Currently there is two places where users can add/remove/update their non-monetary contributions:
1.
/contributions
page.2.
IncomeDetails.vue
modal.In 1., the item is added/removed/updated one by one. Whereas in 2., multiple items can be added/removed/updated at a time. In this case, the notification sentence can have compound expressions (not sure if this is a correct english words but anyways) eg.
Teach Javascript and 2 more
oradded Teach Python and removed Teach how to play piano and 1 more
etc.Clicking on the notification messages navigates to
/contributions
page where they can see the full list of the group's non-monetary contributions.Hope it looks good.