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

#2305 Implement in-app notifications for non-monetary contributions #2314

Merged
merged 20 commits into from
Sep 16, 2024

Conversation

SebinSong
Copy link
Collaborator

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 or added 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.

@SebinSong SebinSong self-assigned this Aug 21, 2024
@SebinSong SebinSong changed the title #2305 Implement in-app notifications for non-monetary contributions [WIP] #2305 Implement in-app notifications for non-monetary contributions Aug 21, 2024
@SebinSong SebinSong changed the title [WIP] #2305 Implement in-app notifications for non-monetary contributions #2305 Implement in-app notifications for non-monetary contributions Aug 21, 2024
@SebinSong SebinSong changed the title #2305 Implement in-app notifications for non-monetary contributions [WIP] #2305 Implement in-app notifications for non-monetary contributions Aug 21, 2024
Copy link

cypress bot commented Aug 21, 2024

group-income    Run #3131

Run Properties:  status check passed Passed #3131  •  git commit ee832ee8d4 ℹ️: Merge 7149a75bfa65c90088bd79b0cf4adc13cdf28bc6 into 8138b12f6d70ad9447e338047d41...
Project group-income
Branch Review sebin/task/#2305-notifications-for-non-monetary
Run status status check passed Passed #3131
Run duration 09m 13s
Commit git commit ee832ee8d4 ℹ️: Merge 7149a75bfa65c90088bd79b0cf4adc13cdf28bc6 into 8138b12f6d70ad9447e338047d41...
Committer Sebin Song
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 10
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 111
View all changes introduced in this branch ↗︎

@SebinSong SebinSong changed the title [WIP] #2305 Implement in-app notifications for non-monetary contributions #2305 Implement in-app notifications for non-monetary contributions Aug 21, 2024
@@ -1791,6 +1812,30 @@ sbp('chelonia/defineContract', {
}).catch(e => {
console.warn(`removeForeignKeys: ${e.name} error thrown:`, e)
})
},
'gi.contracts/group/sendNonMonetaryUpdateNontification': ({
Copy link
Collaborator

@snowteamer snowteamer Aug 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo here: -Nontification

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@snowteamer good catch, fixed.

@SebinSong
Copy link
Collaborator Author

This PR is ready besides the group-chat heisen-bug

@taoeffect
Copy link
Member

taoeffect commented Aug 22, 2024

Thanks @SebinSong. Supposedly @corrideat thinks his PR #2294 (once it's ready) should address the heisenbug.

Copy link
Member

@taoeffect taoeffect left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work @SebinSong! 👏

@taoeffect taoeffect merged commit 3da2a10 into master Sep 16, 2024
4 checks passed
@taoeffect taoeffect deleted the sebin/task/#2305-notifications-for-non-monetary branch September 16, 2024 18:28
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.

Notification when new non-monetary contributions are added
3 participants