hackworthltd / primer

A pedagogical functional programming language.
GNU Affero General Public License v3.0
15 stars 1 forks source link

Persist choice of view #126

Open brprice opened 3 years ago

brprice commented 3 years ago

I'm splitting this out from hackworthltd/vonnegut#545 as it will need a larger discussion that I would like to keep self contained.

In the current state of hackworthltd/vonnegut#545 (though this potentially will change to include whatever conclusions we draw in this issue) we have lost all persistance of projection selection (tree/text and split/grouped). Is this what we want? If not, then what would be better?

Perhaps it is also worth widening the discussion to include persistance of any "what the user sees" state:

However, personally the important issue is the projection one, as that is currently a regression.

I think we have three options

Thoughts on which of these we should do?

dhess commented 3 years ago

I think that persisting the (tree vs text) and (grouped vs split) is a lot less important when there's a global toggle, so I'll be less bothered about this than I used to be once hackworthltd/vonnegut#545 is implemented.

Selection is still worth persisting, however.

I haven't thought much yet about (eval vs edit) and scroll/zoom.

brprice commented 3 years ago

Note that there was some discussion of this in issue hackworthltd/vonnegut#313