Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leo-edit-pane (LEP) project #778

Closed
3 tasks
tbnorth opened this issue Mar 4, 2018 · 3 comments
Closed
3 tasks

Leo-edit-pane (LEP) project #778

tbnorth opened this issue Mar 4, 2018 · 3 comments
Assignees
Labels
Enhancement Gui Won'tDo Issues that EKR won't do

Comments

@tbnorth
Copy link
Contributor

tbnorth commented Mar 4, 2018

Add a generic "body" pane container with the following features:

  • strictly non-singleton, allow multiple editors of multiple types operating on multiple nodes
  • has paired edit and view sub-panes for the node, which can be used independently or together, separated by a splitter
  • the edit sub-pane will usually be a leo body widget, but may be a specialist editor like the csv table editor, the CKE richtext (HTML) editor, or a simple text editor for a node acting as a sticky note, for example.
  • the view sub-pane could be plain text, generated HTML, rendered HTML (from markdown, rst, etc.), or other types of view
  • the leo-edit-pane container will handle viewing either or both sub-panes (edit and view) and whether
    • the edit/view panes follow the tree selection of stay on a specified node
    • the tree selection jumps to the edited/viewed node when the leo-edit-pane container is selected, or not (in cases where the leo-edit-pane isn't tracking the tree selection)
    • the view sub-pane shows a single node or a recursive view
    • the view pane updates to match changes in the node content, not doing so is useful when updates are expensive / slow (rendering something complicated, don't do it on every key stroke)

These issues are related: #777, #756 (do this as a LEP view, rather than adding to viewrendered*), #590, #465

Status: working proof of concept of basic architecture (the features described above). Leo body editor widget supports Leo colorizing but not Leo keys. Rendering of markdown with markdown.py or pandoc supported. CSV editor working.

edit-pane-test-open opens the basic container. edit-pane-csv is a shortcut for setting up CSV editing mode.

Todo:

  • a column of edit subpanes to support seamless editing of multiple nodes
  • simple code (edit sub-pane) and result (view sub-pane) demo
  • execute Jupyter cells in edit/view (input/output) panes
@edreamleo
Copy link
Member

@tbnorth Thanks for this issue. I've added the "Info" and "EKR" labels so I can see it more easily.

@edreamleo
Copy link
Member

This would be good to have, but is it worth the effort??

@edreamleo
Copy link
Member

This is not going to happen unless somebody else steps up to do it.

@edreamleo edreamleo added Won'tDo Issues that EKR won't do and removed Maybe labels Jan 23, 2019
@edreamleo edreamleo removed the Terry label May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Gui Won'tDo Issues that EKR won't do
Projects
None yet
Development

No branches or pull requests

2 participants