Skip to content
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

Feat (History Events): Consistent free and premium #7923

Merged
merged 1 commit into from May 15, 2024

Conversation

OjusWiZard
Copy link
Member

@OjusWiZard OjusWiZard commented May 11, 2024

Closes #6115

Checklist

  • Modify and test get_history_events() to return consistent results with premium and free modes.

Copy link

codecov bot commented May 11, 2024

Codecov Report

Attention: Patch coverage is 94.11765% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 72.14%. Comparing base (a6d69c4) to head (2d2dfae).
Report is 3 commits behind head on develop.

Files Patch % Lines
rotkehlchen/db/history_events.py 93.93% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #7923      +/-   ##
===========================================
+ Coverage    72.07%   72.14%   +0.07%     
===========================================
  Files         1179     1182       +3     
  Lines       107927   108747     +820     
  Branches     12867    12873       +6     
===========================================
+ Hits         77783    78460     +677     
- Misses       28221    28364     +143     
  Partials      1923     1923              
Flag Coverage Δ
backend 63.37% <94.11%> (+0.01%) ⬆️
frontend_integration 59.98% <ø> (-0.63%) ⬇️
frontend_unit 79.45% <ø> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@OjusWiZard OjusWiZard added the ready for peer review Backend PR ready to be reviewed by colleagues label May 11, 2024
@OjusWiZard OjusWiZard marked this pull request as ready for review May 11, 2024 13:42
@OjusWiZard OjusWiZard requested a review from yabirgb May 13, 2024 08:28
rotkehlchen/db/history_events.py Outdated Show resolved Hide resolved
rotkehlchen/db/history_events.py Outdated Show resolved Hide resolved
rotkehlchen/tests/db/test_history_events.py Outdated Show resolved Hide resolved
rotkehlchen/db/history_events.py Outdated Show resolved Hide resolved
rotkehlchen/db/history_events.py Outdated Show resolved Hide resolved
rotkehlchen/db/history_events.py Outdated Show resolved Hide resolved
rotkehlchen/db/history_events.py Outdated Show resolved Hide resolved
rotkehlchen/tests/db/test_history_events.py Outdated Show resolved Hide resolved
@OjusWiZard OjusWiZard force-pushed the feat/6115 branch 2 times, most recently from 41d6415 to 88e500b Compare May 13, 2024 15:16
docs/changelog.rst Outdated Show resolved Hide resolved
rotkehlchen/db/history_events.py Outdated Show resolved Hide resolved
@OjusWiZard OjusWiZard added the PR review work work on PR review comments label May 14, 2024
rotkehlchen/db/history_events.py Outdated Show resolved Hide resolved
rotkehlchen/db/history_events.py Outdated Show resolved Hide resolved
rotkehlchen/db/history_events.py Outdated Show resolved Hide resolved
rotkehlchen/db/history_events.py Outdated Show resolved Hide resolved
@OjusWiZard OjusWiZard force-pushed the feat/6115 branch 5 times, most recently from 177f9d2 to 147a8bc Compare May 15, 2024 14:09
rotkehlchen/db/history_events.py Outdated Show resolved Hide resolved
rotkehlchen/db/history_events.py Show resolved Hide resolved
@yabirgb yabirgb added ready for final review Backend PR ready to be reviewed by great Lefteris and removed ready for peer review Backend PR ready to be reviewed by colleagues PR review work work on PR review comments labels May 15, 2024
Copy link
Member

@LefterisJP LefterisJP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code changes look good to me. If after this filtering works both for premium and for free and has been tested it's fine. I am not testing it myself though so am taking @OjusWiZard and @yabirgb word for it.

@lukicenturi
Copy link
Contributor

Frontend code looks fine, also tried the functionality in frontend and it works

@LefterisJP
Copy link
Member

Failed test is a remote error.

@LefterisJP LefterisJP merged commit cc1e99b into rotki:develop May 15, 2024
13 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for final review Backend PR ready to be reviewed by great Lefteris
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rethink filtering history events for non-premium
4 participants