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

Refactoring and Settings error handling/validation #34

Merged
merged 3 commits into from
Mar 26, 2024
Merged

Conversation

JW-CH
Copy link
Collaborator

@JW-CH JW-CH commented Mar 25, 2024

No description provided.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Everything else looks great, but I am a little confused my GetFilteredAssetIds. It seems like the intent is to combine using Memories/Albums/People (because they are ifs and not else ifs, and because you renamed OnlyMemories to ShowMemories)? Or are you just preparing for this possibility in the future?

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 was thinking about combining them. OnlyMemories was renamed to ShowMemories because I think it's odd to configure albums and then not showing them. For me, it seems more user-friendly if you combine all the options together, exactly how the config was set up.

@JW-CH
Copy link
Collaborator Author

JW-CH commented Mar 26, 2024

Closes #28

@JW-CH
Copy link
Collaborator Author

JW-CH commented Mar 26, 2024

Still todo:

  • Trim empty spaces
  • API-Key settings validation?
  • People/Albums settings validation
  • Other settings validation

@JW-CH JW-CH marked this pull request as ready for review March 26, 2024 15:56
@JW-CH JW-CH linked an issue Mar 26, 2024 that may be closed by this pull request
@3rob3 3rob3 merged commit e270056 into main Mar 26, 2024
1 check passed
@JW-CH JW-CH deleted the dev.jw.refactoring branch March 27, 2024 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Simple settings file validation
2 participants