Comments (4)
good idea! should we / can we help on this?
When I see the Netlify build logs from my clients, I see that they triggered multiple builds in a very short time span. For example, one of the websites takes about 2 minutes to build and the logs show something like 12:03, 12:05, 12:07.
I suspect that they click several times (by accident) on the deploy button, which queues up deploy commands.
From my testing, double-clicking the deploy button doesn't trigger two builds. However, after ~10 seconds, it will trigger a new build.I propose to disable the deploy button right after clicking on it and to enable again at after the build has completed.
What do you think? Have you fellow devs run into a similar issue with clients?
from sanity-plugin-dashboard-widget-netlify.
Thanks for suggesting this feature, we will keep it in mind!
The complication today is that we don't poll for updates, since the badge takes care of displaying the deploy state.
from sanity-plugin-dashboard-widget-netlify.
Bump, this would be really helpful! CC @rexxars
from sanity-plugin-dashboard-widget-netlify.
I had the same problem just now, the button doesn't seem to indicate clearly that the click worked, so it can end up queuing more than one build.
from sanity-plugin-dashboard-widget-netlify.
Related Issues (18)
- No Deploy Button HOT 1
- How to change the branch name when clicking βDeployβ HOT 6
- [Feature] Add option to display current usage + usage limits HOT 1
- [Feature] Add option to add deploy history to widget HOT 6
- Possible to configure different deploys for different datasets? HOT 1
- "Failed" badge in Sanity on cancelled builds initialized through a git push HOT 1
- We do not get freshest data when deploying immediately after data update if we are using Sanity API CDN HOT 4
- Clarify licensing HOT 1
- Peer Dependency @sanity/ui breaking deploys HOT 5
- Docs for Studio hosted with Sanity HOT 1
- Dependency Dashboard
- [Feature] Add "deploy all" button HOT 1
- Typescript file not found HOT 1
- Please include a screenshot and some detail on features in the readme
- [Feature] Netlify branch deploy build status HOT 1
- [Improvement] Ability to override url for the "view" link HOT 2
- Not compatible with the new Sanity v3.41 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sanity-plugin-dashboard-widget-netlify.