feat: enhance Organizations page with live refresh and fix repository breakdown bug

- Add live refresh functionality to Organizations page using the same pattern as Repositories and Activity Log pages
- Fix repository breakdown bug where public/private/fork counts disappeared after toggling mirroring
- Change toggle text from 'Include in mirroring' to 'Enable mirroring' for better clarity
- Automatically refresh organization data after mirroring starts to maintain breakdown visibility
- Clean up unused imports and variables for better code quality
This commit is contained in:
Arunavo Ray
2025-05-28 14:08:07 +05:30
parent 13c3ddea04
commit 415bff8e41
2 changed files with 45 additions and 18 deletions

View File

@@ -172,7 +172,7 @@ export function OrganizationList({
htmlFor={`include-${org.id}`}
className="ml-2 text-sm select-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
>
Include in mirroring
Enable mirroring
</label>
{isLoading && (