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

Revert "fix: now when user pulls to refresh while in "only this person" mode, it will automatically quit." and fix it #474

Merged
merged 3 commits into from
Jan 4, 2025

Conversation

w568w
Copy link
Member

@w568w w568w commented Jan 3, 2025

This reverts commit 8f88a74.

Also, this PR isn't solely for reverting the commit; it also aims to fix it and properly address the issue mentioned in #473. I'm marking it as a draft for now since this part isn't complete yet.

…n" mode, it will automatically quit."

This reverts commit 8f88a74.
Copy link
Member Author

@w568w w568w left a comment

Choose a reason for hiding this comment

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

This commit really shouldn't be called a "refactor" – it doesn't actually involve any refactoring, which is a software-engineering thing.

If you've accidentally committed the wrong changes and messed up the commit history, a better way to handle it is to fix the Git history locally and then force push to completely remove the commit(s) that caused the mess.

While this isn't an option in many repositories, it's acceptable to do in this project. (In repositories where force pushing is prohibited, the best practice is to close the PR, clean up the history, put the changes on a new branch, and open a fresh PR with the new branch.)

@w568w w568w added this to the 1.4.6 milestone Jan 4, 2025
@w568w w568w marked this pull request as ready for review January 4, 2025 12:52
Copy link
Member Author

@w568w w568w left a comment

Choose a reason for hiding this comment

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

lib/page/forum/hole_detail.dart Outdated Show resolved Hide resolved
…only DZ, the state will not be reset since the first floor is always on the first page.
@AInfinity-LilacDream
Copy link
Collaborator

this should work. @w568w

@w568w
Copy link
Member Author

w568w commented Jan 4, 2025

LGTM. Thanks for the efforts!

@w568w w568w merged commit cfbc194 into main Jan 4, 2025
@w568w w568w deleted the fix-only-this-person branch January 12, 2025 07:53
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