Add a refresh button for supabase projects (#2180)
<!-- CURSOR_SUMMARY -->
> [!NOTE]
> Enhances the Supabase projects selector with a manual refresh and
improved states.
>
> - Adds `RefreshCw` icon button to `SupabaseConnector` to
`refetchProjects()`; shows spinner while `isFetchingProjects` and
disables the button
> - Displays error state from `projectsError` with a `Retry` button to
refetch
> - Adjusts header layout to place refresh control alongside "Add
Organization"
> - Updates imports to include `RefreshCw`
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
ce452519cd5a90fec693969c559247e068d795f5. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Added a refresh button to the Supabase Projects header to reload the
project list on demand. The button disables while fetching and shows a
spinning icon during refresh.
<sup>Written for commit ce452519cd5a90fec693969c559247e068d795f5.
Summary will update on new commits.</sup>
<!-- End of auto-generated description by cubic. -->
正在显示
请
注册
或者
登录
后发表评论