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

Remove top padding from shell, move down into individual screens #5548

Merged
merged 10 commits into from
Oct 14, 2024

Conversation

mozzius
Copy link
Member

@mozzius mozzius commented Oct 1, 2024

Creates a new <Layout.Screen> which is responsible for a) setting the top inset and b) setting the correct height. Painful but it should clean up a lot of jank in lesser-touched screens

This lets us disable it selectively e.g. for the profile screen (PR to follow!)

The intent is to migrate more features, such as CenteredView and the various headers into these <Layout.xyz> components

However, since we have to remove it from the shell, we can't incrementally migrate it, so we also have to use it in every screen in the app in one giant PR. Sorry :(

Test plan

Go to every single screen on the app 😅 and make sure it looks the same. Also needs to be done on web too. I'm so sorry

Copy link

github-actions bot commented Oct 1, 2024

Old size New size Diff
7.9 MB 7.9 MB 0 B (0.00%)

@arcalinea arcalinea temporarily deployed to samuel/top-padding - social-app PR #5548 October 2, 2024 11:28 — with Render Destroyed
@mozzius mozzius force-pushed the samuel/top-padding branch 2 times, most recently from 0ebfe6f to 240c70a Compare October 14, 2024 08:20
@mozzius mozzius force-pushed the samuel/top-padding branch from 13b3ca9 to 21e1466 Compare October 14, 2024 19:05
@mozzius mozzius merged commit 2d88463 into main Oct 14, 2024
6 checks passed
@mozzius mozzius deleted the samuel/top-padding branch October 14, 2024 19:09
gpp-0 pushed a commit to gpp-0/bsky-app-fork that referenced this pull request Oct 14, 2024
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.

4 participants