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

cleaning up galleryvc #615

Merged
merged 16 commits into from
Jan 15, 2025
Merged

Conversation

krugerk
Copy link
Contributor

@krugerk krugerk commented Jan 14, 2025

Summary

A merge request for various cleanups that were kept out of #607 so as to make for a clean diff.

For UI changes including screenshots of before and after is great.
n/a

Validation

Built app
Ran it in simulator

@krugerk krugerk requested a review from a team as a code owner January 14, 2025 08:19
@krugerk krugerk requested review from theospears and removed request for a team January 14, 2025 08:19
@krugerk
Copy link
Contributor Author

krugerk commented Jan 14, 2025

#607 (comment) cleanups landed in this Merge Request.

Comment on lines +166 to +169
UIBarButtonItem(barButtonSystemItem: .search, target: self, action: #selector(self.searchButtonPressed))
]
self.navigationItem.rightBarButtonItems = [
UIBarButtonItem(image: UIImage(systemName: "gearshape.fill"), style: UIBarButtonItem.Style.plain, target: self, action: #selector(self.settingsButtonPressed))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
UIBarButtonItem(barButtonSystemItem: .search, target: self, action: #selector(self.searchButtonPressed))
]
self.navigationItem.rightBarButtonItems = [
UIBarButtonItem(image: UIImage(systemName: "gearshape.fill"), style: UIBarButtonItem.Style.plain, target: self, action: #selector(self.settingsButtonPressed))
.init(barButtonSystemItem: .search, target: self, action: #selector(self.searchButtonPressed))
]
self.navigationItem.rightBarButtonItems = [
.init(image: UIImage(systemName: "gearshape.fill"), style: UIBarButtonItem.Style.plain, target: self, action: #selector(self.settingsButtonPressed))

Comment on lines -242 to -244
} else {
self.updateGoals()
self.fetchGoals()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

And this functional change

@theospears
Copy link
Collaborator

Best way I've found to review diffs like this one

git diff -w master...HEAD --color=always --color-moved=zebra

Copy link
Collaborator

@theospears theospears left a comment

Choose a reason for hiding this comment

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

LGTM!

@theospears theospears merged commit d181dba into beeminder:master Jan 15, 2025
1 check passed
@theospears
Copy link
Collaborator

Ran it in simulator

Let's aim for more specificity than this in general. e.g. from this I don't know which cases you tested from having goals / no goals / deadbeat / etc.

@krugerk krugerk deleted the tweak/gallery-cleanup branch January 15, 2025 06:33
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