Skip to content

🎨 Frontend: Credits indicator only visible in warning zone by default (🚨) #5897

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

Merged
merged 8 commits into from
May 30, 2024

Conversation

odeimaiz
Copy link
Member

@odeimaiz odeimaiz commented May 30, 2024

What do these changes do?

This PR will only affect the new users.

🚨 If we want to change the default value of the existing users, we need to go through the DB, either deleting WalletIndicatorVisibilityFrontendUserPreference preference entries or changing their value (I believe there is a sql script somewhere).

demo with user with no WalletIndicatorVisibilityFrontendUserPreference entry in the DB:
Credits

Related issue/s

closes ITISFoundation/osparc-issues#1474

How to test

Dev-ops checklist

@odeimaiz odeimaiz self-assigned this May 30, 2024
@odeimaiz odeimaiz added t:enhancement Improvement or request on an existing feature a:frontend issue affecting the front-end (area group) labels May 30, 2024
@odeimaiz odeimaiz changed the title Enh/hide credits indicator 🎨 Frontend: Credits indicator only visible in warning zone by default May 30, 2024
@odeimaiz odeimaiz marked this pull request as ready for review May 30, 2024 12:16
Copy link

codecov bot commented May 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.4%. Comparing base (cafbf96) to head (6bab42d).
Report is 238 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #5897      +/-   ##
=========================================
- Coverage    84.5%   81.4%    -3.1%     
=========================================
  Files          10     561     +551     
  Lines         214   28228   +28014     
  Branches       25     205     +180     
=========================================
+ Hits          181   23003   +22822     
- Misses         23    5174    +5151     
- Partials       10      51      +41     
Flag Coverage Δ
integrationtests 64.8% <100.0%> (?)
unittests 87.0% <100.0%> (+2.5%) ⬆️

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

Files Coverage Δ
...ore_service_webserver/users/_preferences_models.py 100.0% <100.0%> (ø)

... and 570 files with indirect coverage changes

Copy link
Contributor

@GitHK GitHK left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Member

@pcrespov pcrespov left a comment

Choose a reason for hiding this comment

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

👍

@odeimaiz odeimaiz changed the title 🎨 Frontend: Credits indicator only visible in warning zone by default 🎨 Frontend: Credits indicator only visible in warning zone by default (🚨) May 30, 2024
@odeimaiz odeimaiz enabled auto-merge (squash) May 30, 2024 13:23
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@odeimaiz odeimaiz merged commit 08c999a into ITISFoundation:master May 30, 2024
61 checks passed
@matusdrobuliak66 matusdrobuliak66 mentioned this pull request Jun 12, 2024
30 tasks
@odeimaiz
Copy link
Member Author

For the Release Notes:

HideCreditsByDefault

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:frontend issue affecting the front-end (area group) t:enhancement Improvement or request on an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hide credits indicator by default
5 participants