Skip to content

fix(github): smooth organization expansion while repositories load - #1403

Merged
nixuuu merged 1 commit into
devfrom
fix/smooth-github-org-expansion
Nov 28, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/smooth-github-org-expansion

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 28, 2026

Copy link
Copy Markdown
Member

Change

Opening an organization in GitHub settings briefly showed a loading row, then jumped to the height of the repository list. The panel now opens when results arrive and follows their height. Requests that take longer than 300 ms show a spinner in the organization header. Reduced motion applies height changes immediately.

Fixes: #487

Verification

  • Checked the GitHub settings page in Chromium with simulated repository responses at 390 px and 1420 px. With an 85 ms response, the loading indicator stayed hidden. With a delayed response, the next organization moved 0 px before results arrived.
  • Checked rapid toggles, keyboard activation, reduced motion, empty results, retry, and a response arriving after the organization closed and reopened.
  • The web typecheck passed with zero errors and warnings. The full repository checks run in CI.

Copy audit

The temporary visible “Loading repositories…” row became a delayed header indicator with the same screen-reader status. This keeps the loading cue available during longer requests and removes the flash during quick ones. Reviewed against the copy checklist, including repository name truncation on a narrow viewport.

@nixuuu
nixuuu enabled auto-merge (squash) November 28, 2026 07:58
Wait for repository content before expanding the organization. Track the body height as results arrive and show slow requests in a reserved header slot.

Fixes: #487
@nixuuu
nixuuu force-pushed the fix/smooth-github-org-expansion branch from 0977a3e to 2c2ac5c Compare November 28, 2026 08:02
@nixuuu
nixuuu merged commit b425486 into dev Nov 28, 2026
11 checks passed
@nixuuu
nixuuu deleted the fix/smooth-github-org-expansion branch November 28, 2026 08:04
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.

1 participant