-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add more in app notifications #562
Comments
@tobifaf If you interested? Start off with finishing off |
sure thing! |
Awesome! for code references/example find the flow for Somebody holds a bag for longer than 7 days |
@lil5 What exactly do you mean with that flow? I could only find: |
@tobifaf https://github.com/the-clothing-loop/website/blob/main/server/internal/controllers/cron.go see the hourly cron |
as discussed and tested, the "A new bulky item is added priority" is already working |
Somebody else set you to a bag is fixed here: #584 |
@tobifaf good idea, there are no in memory hashmap packages (think redis but living in the go runtime), we could use for a more global approach? maybe something like this may help? https://github.com/orcaman/concurrent-map |
@lil5, concurrent-map seems a nice and simple solution. Do you prefer to have this as sort of a more generic "key/value in-application" db? |
@tobifaf Before coding could you please create a mermaid document explaining what/how you want it to work. |
sure thing! |
@lil5 i was looking at SetRouteOrderByUserUIDs in models/chain.go, since that's triggered on every route change. The proposed SQL is something like: users := []User{} But this does not take into account:
If a user is removed from the loop, this is also not triggered. So that needs a different implementation. |
The text was updated successfully, but these errors were encountered: