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

Add reset settings buttons #3019

Merged
merged 3 commits into from
Dec 2, 2024
Merged

Add reset settings buttons #3019

merged 3 commits into from
Dec 2, 2024

Conversation

ptsavol
Copy link
Member

@ptsavol ptsavol commented Nov 29, 2024

Adds a button into File->Settings for restoring settings to factory defaults.

Fixes #3018

Checklist before merging

  • Documentation is up-to-date
  • Release notes have been updated
  • Unit tests have been added/updated accordingly
  • Code has been formatted by black & isort
  • Unit tests pass

@ptsavol ptsavol self-assigned this Nov 29, 2024
Copy link

codecov bot commented Nov 29, 2024

Codecov Report

Attention: Patch coverage is 74.07407% with 21 lines in your changes missing coverage. Please review.

Project coverage is 67.15%. Comparing base (206f459) to head (cdcff96).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
spinetoolbox/widgets/settings_widget.py 30.00% 14 Missing ⚠️
spinetoolbox/ui_main.py 33.33% 3 Missing and 1 partial ⚠️
spinetoolbox/helpers.py 40.00% 3 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3019   +/-   ##
=======================================
  Coverage   67.15%   67.15%           
=======================================
  Files         193      193           
  Lines       37024    37061   +37     
  Branches     4443     4445    +2     
=======================================
+ Hits        24862    24887   +25     
- Misses      10908    10918   +10     
- Partials     1254     1256    +2     

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

@ptsavol ptsavol merged commit e318e36 into master Dec 2, 2024
18 checks passed
@ptsavol ptsavol deleted the issue_3018 branch December 2, 2024 15:41
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.

Restore factory default settings
1 participant