Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: improve scroll behavior of DashboardLayout wrapped pages#19396

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
brettkolodny merged 12 commits intomainfrombrett/improve-dashboard-layout
Aug 26, 2025

Conversation

brettkolodny
Copy link
Contributor

@brettkolodnybrettkolodny commentedAug 18, 2025
edited
Loading

Updates the theDashboardLayout to create a singular scroll area between the top nav bar and the deployment banner on the bottom. Also improves the scroll behavior of the org settings pages.

CleanShot 2025-08-18 at 13 53 01
CleanShot.2025-08-18.at.13.49.29.mp4

@brettkolodnybrettkolodny changed the titlechore: improve scroll behavior of DashboardLayout wraped pageschore: improve scroll behavior of DashboardLayout wrapped pagesAug 18, 2025
@brettkolodnybrettkolodny marked this pull request as ready for reviewAugust 18, 2025 18:43
@brettkolodnybrettkolodny marked this pull request as draftAugust 18, 2025 18:43
@brettkolodnybrettkolodny marked this pull request as ready for reviewAugust 18, 2025 19:00
Copy link
Member

@aslilacaslilac left a comment

Choose a reason for hiding this comment

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

lgtm! this is a precarious enough change I'd like to get a second pair of eyes on it tho, maybe@Parkreiner?

@brettkolodny
Copy link
ContributorAuthor

Agreed, and if someone has time to pull this down and check it out locally I'd appreciate it too. A weak point of our storybook setup is we don't really test for scrolling content as often as we should

@aslilac
Copy link
Member

I ran it locally and didn't notice any jank, I'm just paranoid lol

Copy link
Member

@ParkreinerParkreiner left a comment

Choose a reason for hiding this comment

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

Looks good! I tested as many pages as I could, both with and without the bottom bar, and things seemed to work well

Just had some small nits on the styling


return(
<>
<divclassName="w-full max-w-screen-2xl pb-10">
Copy link
Member

Choose a reason for hiding this comment

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

Is there any way we can refactor the layouts to bake thepb-10 in by default? I'm worried that it could get missed as we add new page types in the future

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

I believe I tried doing that, but the pages aren't set up consistently so it didn't end up being feasible. And making the pages more consistent seemed out of scope for this PR

if(error||workspacePermissionsQuery.error){
return(
<divcss={{margin:16}}>
<divclassName="m-4">
Copy link
Member

Choose a reason for hiding this comment

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

Totally okay if this isn't feasible because it would require too many changes elsewhere, but could we update this to use padding instead? I feel like margins are an anti-pattern ~95% of the time

@brettkolodnybrettkolodny merged commitd274f83 intomainAug 26, 2025
27 checks passed
@brettkolodnybrettkolodny deleted the brett/improve-dashboard-layout branchAugust 26, 2025 18:14
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsAug 26, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@aslilacaslilacaslilac approved these changes

@ParkreinerParkreinerParkreiner approved these changes

Assignees

@brettkolodnybrettkolodny

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@brettkolodny@aslilac@Parkreiner

[8]ページ先頭

©2009-2025 Movatter.jp