Skip to content

Conversation

@simonbs
Copy link
Contributor

@simonbs simonbs commented Jul 26, 2024

❗ This PR depends on #279 and should not be merged before that PR is merged.

The changes in this PR restructures the layout of the application, and as such, also big parts of the codebase, for two reasons:

  1. By properly adopting the layouts.ts files of Next.js' App Router, we significantly ease the process of adding new pages that display the sidebar.
  2. Components shared by pages now rerender less often, increasing the performance of the app.

A great benefit of the second point is that this addresses the issue where the sidebar's scroll position was reset after selecting a project.

The changes are significant, so I do not expect anyone to do a full review of this codebase. I know it's not Do Right but I suggest that we get this PR merged, test the web app thoroughly, and fix any issues that may arise along the way.

simonbs added 30 commits July 25, 2024 12:40
…ncement/adds-avatars-to-logins

# Conflicts:
#	src/features/projects/data/GitHubLoginDataSource.ts
@simonbs simonbs requested a review from ulrikandersen as a code owner July 26, 2024 13:05
@simonbs simonbs marked this pull request as draft July 26, 2024 13:05
@github-actions
Copy link

⚠️ It looks like .env.example has changed. Remember to update the Setting Environment Variables article accordingly.

Base automatically changed from feature/filter-repositories to develop July 29, 2024 09:10
@simonbs simonbs marked this pull request as ready for review July 29, 2024 09:10
@simonbs simonbs enabled auto-merge July 29, 2024 09:21
@simonbs simonbs merged commit e0fa02a into develop Jul 29, 2024
@simonbs simonbs deleted the enhancement/restructure-layout branch July 29, 2024 09:21
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