Giter Club home page Giter Club logo

impulse's People

Contributors

danslimmon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

impulse's Issues

implement Frame

skeleton out Frame and then make tests for it and then implement it.

add Frame.Top to return topmost frame

implement

// Top returns the topmost Frame in f.
//
// If f has no children, f itself is returned.
func (f *Frame) Top() *Frame

If convenient, update other Frame tests to use this.

RFC for cron system

every 1 week on tuesday
every 1 week on wednesday
every 2 weeks on friday [needs a "starting"]
	- could just interpret it as:
		- do (weeks since unix epoch) % 2
		- do it if that's 0
every 3 months on the 11th [needs a "starting"]
	- this would be interpreted as:
		- (months since unix epoch) % 3
		- pick a quotient from [0,2] by …

idk. something like that. or just use a start date (that would be easier)

Schedule.Next(time.Time) can be as dumb as "evaluate the criterion against every day starting from the given time until it matches."

another way it could work is: there's a log of upcoming recurrences, and each time a recurrence is processed, we add a new instance to that log

implement draw logic

implement

// Render returns a string representation of the Frame.
func Render(f *Frame) string {...}

display discrete task nicely

for any given task, impulse should be able to display it by itself, in a nice tree format

this'll be useful when we have task history and templates

Think through UI

How should we avoid attention being lost between the tasks of modifying the stack and working on tasks?

Should there be an edit mode and a working mode? Should editing the stack put an "edit stack" task at the top? should text color change?

auto-collapse topics off of path

auto-collapse tasks that are not the ancestor or descendant of the selected task.

a collapsed tasks should say in parens how many children it has.

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.