Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

A globalVariables view #503

Open
wants to merge 3 commits into
base: 1.5-release
Choose a base branch
from

Conversation

slodge
Copy link

@slodge slodge commented Nov 25, 2018

Definitely not for merging at this stage!


I've started experimenting in building a Globals Variable view.

The reason for this is because I've found people want a "debugger autos/locals/watch window" like experience - and it's what they find in the (for example) the RStudio REPL
image
(Please excuse the bad retina screen menus - caused by my weird multi-monitor setup!)


To start exploring this idea, I've built quite a hacky way of returning the globals after every evaluation and adding a simple display to the existing page header - but I don't think this is the way this should ultimately be done - a proper solution would:

  • be more efficient in its agent-UI comms
  • find a better on-screen position for the globals display (and include variable names, and have a scroll bar, and have in-place incremental updating)
  • I'm also wondering about adding some pure typescript/javascript code - I'm in awe of the C#/Javascript interop code I've found in this solution, but I don't yet find it very productive compared to Angular or React development.

This current demo code produces an experience like:
globalswindow


Is this sort of thing something that would be of interest to the main Workbooks product?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants