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

Decouple NTP settings persistence from AppUserDefaults #3354

Merged
merged 4 commits into from
Sep 17, 2024

Conversation

dus7
Copy link
Contributor

@dus7 dus7 commented Sep 12, 2024

Task/Issue URL: https://app.asana.com/0/72649045549333/1208273840160821/f
Tech Design URL:
CC:

Description:

Extract NTP data persistence into smaller protocols and use UserDefaultsWrapper to implement the actual storing. The change allows for better separation of concerns and potentially storing data in a different way on a case-by-case basis.

Steps to test this PR:

  1. Verify NTP sections and shortcuts settings (order, enabled state) are preserved across app instances.
  2. Verify intro message is dismissed after 3 views (it can be set up from Debug menu).

Definition of Done (Internal Only):


Internal references:

Software Engineering Expectations
Technical Design Template

@dus7 dus7 requested a review from brindy September 12, 2024 10:28
@dus7 dus7 marked this pull request as draft September 12, 2024 10:29
@dus7 dus7 force-pushed the mariusz/ntp-extract-storage branch from 8fa2224 to 6b7f0f5 Compare September 12, 2024 10:39
@dus7 dus7 marked this pull request as ready for review September 12, 2024 10:40
@duckduckgo duckduckgo deleted a comment from github-actions bot Sep 12, 2024
@brindy brindy self-assigned this Sep 13, 2024
Copy link
Contributor

@brindy brindy left a comment

Choose a reason for hiding this comment

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

LGTM! :)

@dus7 dus7 merged commit 7669a95 into main Sep 17, 2024
13 checks passed
@dus7 dus7 deleted the mariusz/ntp-extract-storage branch September 17, 2024 13:12
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.

2 participants