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

Removing support of old database (fixed 4 entries) #1095

Merged
merged 10 commits into from
Dec 26, 2024

Conversation

tupaschoal
Copy link
Collaborator

Related issue

Closes #935.
Supersedes #1053 (because I'm lazy to clone again and fix the commits and merge conflicts there)

Context / Background

The old database format (fixed in 4 entries) is in deprecation since may of 2021, as we move with other features, it's time to remove any mention/handling of such database.

What change is being introduced by this PR?

Removed related code and unnecessary strings.

How will this be tested?

Hopefully with the CI. :)

@tupaschoal tupaschoal mentioned this pull request Dec 26, 2024
Copy link

codecov bot commented Dec 26, 2024

Codecov Report

Attention: Patch coverage is 87.50000% with 4 lines in your changes missing coverage. Please review.

Project coverage is 65.80%. Comparing base (f73b61d) to head (973d931).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
js/demo-generator.js 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1095      +/-   ##
==========================================
+ Coverage   64.87%   65.80%   +0.92%     
==========================================
  Files          22       22              
  Lines        3374     3205     -169     
  Branches      488      456      -32     
==========================================
- Hits         2189     2109      -80     
+ Misses       1185     1096      -89     

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

@@ -10,14 +10,14 @@ import {
} from '../../js/time-balance.js';
import { resetPreferences } from '../../js/user-preferences.js';

const flexibleStore = new Store({name: 'flexible-store'});
const entryStore = new Store({name: 'flexible-store'});
Copy link
Collaborator

Choose a reason for hiding this comment

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

maybe just store or calendarStore ? entry doesn't say much

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I can, made it entryStore because you had previously suggested either entryStore or store on Thamara's PR hehehe

@tupaschoal tupaschoal merged commit 87ba27e into TTLApp:main Dec 26, 2024
9 checks passed
@tupaschoal
Copy link
Collaborator Author

\changelog-update
Message: Change [#935]: Remove support for migrating from fixed into flexible database (introduced in 2.0.0)

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.

Deprecate old database references
3 participants