GithubHelp home page GithubHelp logo

CLI prioritization/order/frogs about taskmaster HOT 8 OPEN

ctengel avatar ctengel commented on August 22, 2024
CLI prioritization/order/frogs

from taskmaster.

Comments (8)

ctengel avatar ctengel commented on August 22, 2024

Related to #55 ?

from taskmaster.

ctengel avatar ctengel commented on August 22, 2024

we need prioritzation to work like so
0. Reserved

  1. ordering LSB (1 is higher)
  2. ordering MSB (1 is higher)
  3. priority LSB (0=B_, 1=AC)
  4. priority MSB (0=C_, 1=AB)
  5. if 6 is:
    • 0 (not unstaged)
      • 0=normal, merged in from later date
      • 1=higher, merged in from higher date
    • 1 (unstaged)
      • 0=normal, manually individually unstaged
      • 1=higher, bulk unstaged (like at end of day)
  6. unstaged, i.e. 1 if the task had been staged and was unstaged
  7. reserved

pri up increases the 3&4 bits (none=>C=>B=>A) but does not change the others

  • if A, use 2-1 to increase

pri down zeroes out 7-5, 3-0

  • if any of 7-5 are 1, treat as A and push to baseB

stop using wakeup as a way to prioritize

from taskmaster.

ctengel avatar ctengel commented on August 22, 2024

ensure it is available from API - probably is!

from taskmaster.

ctengel avatar ctengel commented on August 22, 2024

For now implement in client library

from taskmaster.

ctengel avatar ctengel commented on August 22, 2024

Problem: above description shows priority with 0 as lowest and 255 as highest (descending), but API currently has it implemented ascending

from taskmaster.

ctengel avatar ctengel commented on August 22, 2024

Currently it is not used anywhere - it had been in legacy, but not in current.

Currently it is again ascending (i.e. lower integers are highest priority)

Other curveball - sqlite considers null to be LOW, whilst postgres considers null to be HIGH

Default is Null and I think we would want default to be low. We can work around by explicitly asking NULLSLAST or setting default=0

from taskmaster.

ctengel avatar ctengel commented on August 22, 2024

The simple answer for now - modify the api to do desc and rely on sqlite, with more explicit if/when we move to postgres

(note FROG is considered more important than PRI, but not much else)

from taskmaster.

ctengel avatar ctengel commented on August 22, 2024

Still needed

  • client library implementation
  • formal document
  • issues/plan for DB flexibility (i.e. don't assume sqlite)
  • issues/plan to move to API

from taskmaster.

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.