-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
#2528 Missed-payments streak issue #2554
#2528 Missed-payments streak issue #2554
Conversation
@taoeffect The PR is ready besides the heisen-bug in |
@SebinSong It seems this isn't a heisenbug, but a bug that we need to fix. It might be as a result of recent merges to |
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.
Nice work @SebinSong. The tests are failing because of a bug in ChatMain that was introduced in a recent PR, so none of these failing builds are related to this PR.
Please revert the changes to the strings, and this PR should be good to merge.
…ssed-payments-streak-issue
group-income
|
Project |
group-income
|
Branch Review |
sebin/task/#2528-missed-payments-streak-issue
|
Run status |
|
Run duration | 11m 13s |
Commit |
|
Committer | Sebin Song |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
0
|
|
10
|
|
0
|
|
112
|
View all changes introduced in this branch ↗︎ |
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.
So I tested this locally with GI_PERSIST=sqlite grunt dev
and this didn't seem to fix the problem when testing with our group's database.
One other note, if you run into issues running grunt dev
like this:
Running "esbuild:watch" (esbuild) task
✘ [ERROR] Invalid define value (must be an entity name or valid JSON syntax): 'v1.2.1-13-ga04fafdf1
'
✘ [ERROR] Invalid define value (must be an entity name or valid JSON syntax): 'v1.2.1-13-ga04fafdf1
'
The solution is to modify the Gruntfile to replace:
const GI_GIT_VERSION = process.env.CI ? process.env.GI_VERSION : execSync('git describe --dirty').toString('ascii')
With:
const GI_GIT_VERSION = process.env.CI ? process.env.GI_VERSION : execSync('git describe --dirty').toString('utf8').trim()
@taoeffect ![]() ![]() |
I don't get this at all with the database... I also didn't get the extra empty month: So I thought maybe forcing it to show the extra month by running Very odd. I've sent you my copy of the group state in case it helps (as a DM on GIG). |
@taoeffect Right. That's actually something I observed too. If you run the app with the DB and go to the payments page and then check the distribution period in the current group settings, you will be able to observe this discrepancy: Do you remember we worked on adding a logic to automatically detect/resolve this discrepancy in group-income/frontend/model/state.js Lines 391 to 415 in 22a497f
This Vuex watcher is currently wrapped within a Anyways, this is a separate issue to this PR (which is why I did not mention it in the previous comment) and regarding how I got that empty last column in the graph was just exactly doing what the comments in the above
In order to call this Long story short,
Hope these things make sense. Thanks. |
Had a chat with @corrideat about this on Slack: greg Yesterday at 8:03 AM Ricardo Yesterday at 11:51 PM Ricardo Today at 5:22 AM |
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.
I'm gonna assume this is fixed based on @SebinSong's comments and with the PR #2568 merged.
closes #2528
I can see it now shows 1 missed-payment items too.