• Will Chen's avatar
    Add a bit of visual feedback when clicking Refresh Deployments for Vercel (#2184) · ea229c75
    Will Chen 提交于
    <!-- CURSOR_SUMMARY -->
    > [!NOTE]
    > Enhances Vercel deployments refresh UX to provide consistent visual
    feedback.
    > 
    > - Introduces `isRefreshing` and wraps `getDeployments` to enforce a
    750ms minimum loading time
    > - Disables the "Refresh Deployments" button during load and shows a
    spinner with "Refreshing..."
    > - Combines states into `isLoadingOrRefreshing` for button/label
    control; minor label text change
    > - package-lock version bump to `0.33.0-beta.3`
    > 
    > <sup>Written by [Cursor
    Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
    e65e3a06d7fe761e183bf1acaee88d40e9197895. 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
    Adds clear, consistent feedback when refreshing Vercel deployments to
    prevent flicker and show progress. The button now shows a spinner and
    "Refreshing..." and is disabled during the fetch.
    
    - **New Features**
      - Ensures visible feedback with a 750ms minimum loading time.
    - Disables the button while loading and updates the label to
    "Refreshing...".
    
    <sup>Written for commit e65e3a06d7fe761e183bf1acaee88d40e9197895.
    Summary will update on new commits.</sup>
    
    <!-- End of auto-generated description by cubic. -->
    ea229c75
package-lock.json 824.4 KB