joereddington / MrsLandingham

An exercise in working out what my workflow actually is.
0 stars 1 forks source link

Make ML hierarchal. #4

Closed joereddington closed 7 years ago

joereddington commented 7 years ago

What I want is to have the feature in ML so that I can write:

do("General Process",functionforprocess)

in such a way that the user can either check off the high level task, or it can go down a level of detail and start executing the functionforprocess.

joereddington commented 7 years ago
04/07/17 19:31:

Mapping

19:35:

I'm factoring out an early part of the test and have redone some of the mapping.

19:37:

I've branched, but you know what? I want to be able to do test driven development on this, and it's really unclear how I might...

19:41:

Ah - the problem I should have looked into is that this implicitly means that I should rewrite the user interview for cmd so that it allows three options for each answer.

19:41:

Good - I do need to do that, although it raises the question - can I have a similar gui for python? I feel like I don't, need one - but I definitely want something that removes the need for enter...

19:43:

Let's do the small thing first: think of the cmd interface as pages. What does each page need to do?

Clear() Print task Ask if it's complete Give options: y/n/more informaiton

More information is the wrong thing to ask... hmmm. 'Step into'.

Also I feel like it's more than y/n - it's 'Done', 'problem', 'detail'. And it's kind of open if we should let a thing be a problem if we're NOT at the highest level of detail.

19:54:

I'm trying the 'curses' library, but I feel like I need more detail about it.

20:03:
20:13:

Starting to get somewhere, but it's a tricky library.

20:19:

Okay, the do window is working nicely. Ask is going to be doable - but multi-choice is going to be hard. The thing to thinking about now is - do I want the location to be multi-choice early?

20:20:

You know what... I think I want different launch scripts. So I'm going to remove the home question for now.

20:22:

Done, but now I do have to fix ask...

20:24:

Started, but might be complex.

20:29:

Ask is done.

20:36:

I've made functions optionally expandable.

I need to find a solution to the 'tell' issue. Sometimes I want my reasons to be clear. But I think I can probably deal with that in terms of an 'expand' into a text page...

20:40:

I'm tidying up the algorithm itself now. That's probably wrong - I should be fixing the phone interface...

20:43:

I'm happy with the algorithm changes. I do need to fix the tell aspects.

20:44:

So now the question becomes... what does the scarface day look like? It probably looks like an 'automatic expansion' of everything right? To the point that something is pressed every few minutes...

20:50:
21:00:
21:08:
21:18:

After far too much faff. I've now fixed the multiple choice aspect.

21:23:

I've done some poking and I'm happy this is much more usable. I'm going to push it now. And then move on to actually doing some owrk with it.

21:20:

Looking at next actions.

Next actions

joereddington commented 7 years ago
06/07/17 21:30:

okay. let's see if we can fix the interface for the phone.

21:40:

I've altered two of the UIs, but it looks like the changes might be pretty deep.

Particularly when the current Mrs Landingham wants replies as ordinal...

21:50:

Working fine with none expanding things.

21:55:

Working fairly nicely but need to fix ask still.

21:57:

and have. time to commit and push.

22:00:

Push successful.