-
Notifications
You must be signed in to change notification settings - Fork 308
receipts as member of team shouldn't be anon #1126
Comments
😊 |
@whit537 mind if I take this on? Browsing through the codebase, it seems like this code could be changed to:
Could you explain this bit of code? def show_as_team(self, user):
"""Return a boolean, whether to show this participant as a team.
"""
if not self.IS_PLURAL:
return False
if user.ADMIN:
return True
if not self.get_members():
if self != user:
return False
return True Specifically, the last condition. What does |
I think some documentation on the schema of payday/transfers/exchanges would make this type of issue (especially generating tests) easier. |
Do we need to JOIN the BTW: I have no idea what either of the |
I got re-annoyed at this and wrote code using @zwn 's suggested method... but is a simple test of number!='singular' enough? or do we need to also make sure that the user is a member of the non-singular tipper ? |
Perusing the blog post, I started watching one of the videos, where @pjz was frustrated that no one responded to this particular ticket. Honestly, so was I. @whit537 I understand that you're constantly being pulled in many different directions, but when questions are never answered, our volunteer efforts stall. If no one cares to answer, what's the point? At 1:02:XX we discussed the idea that it's that person's responsibility to ping specific people if they need input or assistence. Quoting @whit537 out of context:
Either way, we should really have a bi-weekly stand-up meeting if we can find a good time for most people. I think having human contact will help a lot. |
@seanlinsley I'm fine with scheduling a regular Hangout. Let's move this conversation over to #1943 ... |
We are showing this in the history view of the profile. What am I (as the user) expecting to see?
So what would be the best technical solution? I think that marking somehow the transfer is the only way (in the end). Checking if the giver is a team right now is good compromise. The only strange thing is that if the giver was singular and was tipping me in the past, switching to a team would mean all the past tips would be revealed to me. |
I hadn't considered that. Maybe we should store the singular/plural information on the tip itself. |
I think it needs to be on the transfer not on the tip (actually it is not a tip, it is a different table). |
That's what I meant -- I'm not that familiar with the database 😅 |
+1 |
On the history page we should show when you receive money from a team (reticketed from #1118).
The text was updated successfully, but these errors were encountered: