-
Notifications
You must be signed in to change notification settings - Fork 308
Conversation
Picking up from #3599 (comment), here is where we are and where we're going:
The one change here from the original comment is that I've dropped |
Here's the diff:
For each:
|
I think as part of this that we should move away from estimating dollar amounts (receiving, taking) based on the future, and instead base it on the past. Why? The past is more predictable than the future. :-) This may well obviate I think we should cache last week's actual amount, and an average of the past four weeks. These two numbers will provide a fine answer to the question, "How much will my Team receive this week?" |
Basing |
I guess we can just update all of the numbers once at the end of each payday, rather than having to update them constantly throughout the week in response to various events (payment instruction changes, route changes). |
The downside is that one won't be able to watch drastic movement that happens inside a week. Especially early on, we paid a lot of attention to intra-week movement. I think that Gratipay has matured, and we are ready to lengthen our attention span. Gratipay is intended to inculcate the long view. You'll get to see this week's amazing growth ... on Thursday. |
How about |
No, it doesn't. :) I don't think going back on cached values is a good idea though... When I tip someone, I expect their receiving amount to increase. Similarly if I was a team, I'd like to know an estimate of how much I'm going to receive. This stuff is very useful, @whit537. |
Hmmm ... that's hard to argue with. :) |
I'm working through the tests here and realizing that we have a lot of skips and a lot of JSON endpoint tests that are obsoleted by 1.0 and the move away from tips. I'm finding that I want to cut out all that cruft before proceeding here. |
cbff1dd
to
c5c3732
Compare
Starting over with an ordered approach: removing |
I.e., taking each diff item in turn, one at a time. |
Leaves three: - charts.json - number.json - receiving/
We no longer expose number in the UI, so number.json is not useful.
We're gettin' pretty thin here ...
2b916bb
to
9579e2c
Compare
Includes charts.json
2b916bb
to
9f778e2
Compare
We no longer have tips.
This turns back on a few tests that were xfailing, because this PR should fix them.
To keep this PR under control I think we should have the cached values reflect whatever the current behavior of payday is. If we want to change the behavior below #3666 then that'll be a separate PR. |
Is the javascript dynamically updating amounts properly? |
No! :-) |
I'm also checking the pricing page and the global cta ... |
Okay! Waiting for Travis ... |
rationalize cached values
😩 |
Code and schema deployed, running the cache refresh script ... |
!m @whit537! |
Thanks. :-) |
I had a question about the receiving amount, but this explains it:
My one supporter is no longer supporting, according to History. |
Here's what we ended up with ftr:
|
Follow-on from #3599.