Giter VIP home page Giter VIP logo

Comments (4)

nemethricsi avatar nemethricsi commented on June 25, 2024 2

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.

sjelfull avatar sjelfull commented on June 25, 2024 1

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.

RamZallan avatar RamZallan commented on June 25, 2024

Bump, this would be really helpful! CC @rexxars

from sanity-plugin-dashboard-widget-netlify.

opexchanger avatar opexchanger commented on June 25, 2024

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 (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.