GithubHelp home page GithubHelp logo

Cancel your action queue about blocktogether HOT 5 CLOSED

jsha avatar jsha commented on May 25, 2024
Cancel your action queue

from blocktogether.

Comments (5)

BooDoo avatar BooDoo commented on May 25, 2024

Looking at this now, building on pending multi-select branch (54b5b7b)—seems trivial for minimum-viable behavior:

  • Add "Cancel Pending Actions" button to Actions page
  • Button sends simple POST, canceling all pending actions for the user

Small changes to actions (adding two functions, making getActions more flexible,) adding cancelled-manual status, and creating /cancel-actions.json POST route.

Gets slightly more complicated to provide "multi-select" on Actions page to selectively cancel pending actions; does that strike you as being worth including, or as overkill? The minimum-viable seems useful, if only as a Panic Button.

from blocktogether.

jsha avatar jsha commented on May 25, 2024

I think multi-select to cancel specific actions is overkill like you say.

Thinking about this some more I'm not positive it's still necessary. At first launch I often had a big backlog of pending actions because suspended target users would clog up the queue indefinitely. Now that that's fixed I think most actions get executed too quickly for a panic button to be useful.

If you haven't put in too much work on this issue already, I might suggest picking an alternate to work on. For instance, I think #18 (paginate blocks) would be really valuable since we can't currently show all of a user's blocks if they have >5000. That would also let us pick a more reasonable threshold per page, say 500, so each page would load faster.

from blocktogether.

BooDoo avatar BooDoo commented on May 25, 2024

Just did a quick viability look over lunch; will shift focus to pagination building on master since it shouldn't overlap with multi-select branch's changes in any significant way.

from blocktogether.

BooDoo avatar BooDoo commented on May 25, 2024

Close and address in #96 instead?

from blocktogether.

jsha avatar jsha commented on May 25, 2024

Yep, makes sense. Closing.

from blocktogether.

Related Issues (20)

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.