-
Notifications
You must be signed in to change notification settings - Fork 15
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
Orion notifications demo #154
Orion notifications demo #154
Conversation
* endingAuctionsNfts query * lint * CR fixes: removed archive, modified query, minor fixes * returned completion check --------- Co-authored-by: Artem <Artem Slugin> Co-authored-by: Leszek Wiesner <leszek@jsgenesis.com>
* top selling channels initial draft * introduced node-cache for in-memory caching * CR fixes: updated cache key, minor code fix * upgraded performance schema Co-authored-by: Leszek Wiesner <leszek@jsgenesis.com> * restored env variables * removed cache, introduced 0 periodDays option * fixed infinite period query Co-authored-by: Leszek Wiesner <leszek@jsgenesis.com> * removed unused binary files --------- Co-authored-by: Artem <Artem Slugin> Co-authored-by: Leszek Wiesner <leszek@jsgenesis.com>
* Introduce new video property and scheduler to update it * Adjust equation and change score to float * Schedule updates in required places * Add mutation to change video weights * Adjust env weights * Fix for newness weight on creation * CR fixes * CR fixes v2 * Update src/mappings/content/video.ts * Update src/mappings/content/video.ts --------- Co-authored-by: Leszek Wiesner <leszek@jsgenesis.com>
@@ -0,0 +1 @@ | |||
../uuid/dist/bin/uuid |
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.
whole node_modules
folder should be excluded in .gitignore
@Mutation(() => Boolean) | ||
@UseMiddleware(AccountOnly) | ||
async markOffChainNotificationAsRead( | ||
@Args() { notificationId }: NotificationArgs, |
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.
we should also consider an option for passing multiple IDs for the "read all" function
import { MailNotifier } from './mail' | ||
|
||
export type NotificationPreferences = { | ||
commentCreatedInAppNotificationEnabled: boolean |
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.
codestyle thing: usually when you'll have such large lists, its better to sort the keys in the alphabet order. There's even a prettier\eslint rule of it somewhere, but I think it doesn't worth to include it, lets just sort this one for better readability
closing in favour of #156 |
Unfinished work.
Contains all the relevant code for the
orion_notification
poc.in particular I have left some useful queries in
src/authentication-tests/integration-tests/util.sh
reference #153