Skip to content

home [nfc]: Clean up some dead safe-area code from before bottom-tabs #1550

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

Merged
merged 1 commit into from
Jul 9, 2025

Conversation

chrisbobbe
Copy link
Collaborator

The responsibility for consuming the bottom inset is now external to all of these *PageBody widgets; it's handled by
Scaffold.bottomNavigationBar. So we don't need to forward a bottom-inset value down to descendants
(via SafeArea.bottom: false), and we don't need to add widgets to pad the bottom inset; the bottom-inset height in all these places is zero.

@chrisbobbe chrisbobbe requested a review from rajveermalviya June 4, 2025 22:34
@chrisbobbe chrisbobbe added the maintainer review PR ready for review by Zulip maintainers label Jun 4, 2025
@rajveermalviya
Copy link
Member

Apologies, I missed the notification for this. Sorry about that.

@rajveermalviya
Copy link
Member

Thanks for doing this clean up!

I see that there are some conflicts currently, can you please resolve them. Thanks!

@chrisbobbe chrisbobbe force-pushed the pr-dead-safe-area-code branch from 7ca6370 to 6da37c0 Compare July 7, 2025 02:40
@chrisbobbe
Copy link
Collaborator Author

No worries; this is just a small cleanup :) revision pushed.

Copy link
Member

@rajveermalviya rajveermalviya left a comment

Choose a reason for hiding this comment

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

Thanks @chrisbobbe! LGTM.

@rajveermalviya rajveermalviya added integration review Added by maintainers when PR may be ready for integration and removed maintainer review PR ready for review by Zulip maintainers labels Jul 8, 2025
@rajveermalviya rajveermalviya requested a review from gnprice July 8, 2025 13:00
The responsibility for consuming the bottom inset is now external to
all of these *PageBody widgets; it's handled by
Scaffold.bottomNavigationBar. So we don't need to forward a
bottom-inset value down to descendants
(via `SafeArea.bottom: false`), and we don't need to add widgets to
pad the bottom inset; the bottom-inset height in all these places is
zero.
@gnprice
Copy link
Member

gnprice commented Jul 9, 2025

Thanks for the cleanup. Looks good; merging.

@gnprice gnprice force-pushed the pr-dead-safe-area-code branch from 6da37c0 to 742320c Compare July 9, 2025 00:08
@gnprice gnprice merged commit 742320c into zulip:main Jul 9, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration review Added by maintainers when PR may be ready for integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants