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

fix: show balances loading from beginning #8358

Merged

Conversation

lukicenturi
Copy link
Contributor

@lukicenturi lukicenturi commented Aug 5, 2024

show loading for dashboard percentage and chart from beginning, to not show sudden decrease when balances is not loaded

@lukicenturi lukicenturi requested a review from kelsos August 5, 2024 08:02
Copy link

codecov bot commented Aug 5, 2024

Codecov Report

Attention: Patch coverage is 16.66667% with 5 lines in your changes missing coverage. Please review.

Project coverage is 53.76%. Comparing base (600a700) to head (23958e7).
Report is 11 commits behind head on bugfixes.

Files Patch % Lines
...d/app/src/components/dashboard/OverallBalances.vue 0.00% 5 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           bugfixes    #8358       /-   ##
============================================
- Coverage     53.77%   53.76%   -0.01%     
============================================
  Files          1708     1708              
  Lines        168799   168821       22     
  Branches      13951    13952        1     
============================================
  Hits          90769    90769              
- Misses        75611    75633       22     
  Partials       2419     2419              
Flag Coverage Δ
frontend_integration 60.52% <100.00%> ( 0.74%) ⬆️
frontend_unit 38.69% <0.00%> (-0.04%) ⬇️

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.

@lukicenturi lukicenturi force-pushed the show-balances-loading-from-beginning branch from a4e5448 to 23958e7 Compare August 5, 2024 11:30
@@ -87,7 87,7 @@ export const useStatusStore = defineStore('status', () => {
const shouldShowLoadingScreen = (section: Section, subsection: string = defaultSection) => computed<boolean>(() => {
const statuses = get(status)[section];
if (!statuses)
return false;
return true;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this one should be true, because if it's not found, it means the status is None, hence it should be true

Copy link
Member

@kelsos kelsos left a comment

Choose a reason for hiding this comment

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

lgtm

@kelsos kelsos merged commit fe7010d into rotki:bugfixes Aug 5, 2024
15 checks passed
@kelsos kelsos deleted the show-balances-loading-from-beginning branch August 5, 2024 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants