Giter Site home page Giter Site logo

Comments (14)

jaslar avatar jaslar commented on June 2, 2024

What's the command to split a row?

from outliner.

phase1geo avatar phase1geo commented on June 2, 2024

Control Return when editing text. Place the cursor where to split.

from outliner.

jaslar avatar jaslar commented on June 2, 2024

from outliner.

phase1geo avatar phase1geo commented on June 2, 2024

What does joining two rows mean?

Keep in mind that each row not only contains text, but also notes, checkboxes, tags, labels, etc. Joining rows is a tricky endeavor from that standpoint vs. simple copy/paste.

from outliner.

jaslar avatar jaslar commented on June 2, 2024

from outliner.

phase1geo avatar phase1geo commented on June 2, 2024

@jaslar Okay, another scenario to get your feedback on (and I may have more in the future). Consider the following example:

  • Parent one
    • Child A
  • Parent two
    • Child B

If "Parent two" is selected and chosen to be joined, does it join with "Child A" or "Parent one"? If it is joinable with either, what happens to "Child B"?

from outliner.

phase1geo avatar phase1geo commented on June 2, 2024

Additionally, are there any outlining applications that implement this functionality that I could use as a reference (just to see what choices they make in different scenarios)?

from outliner.

phase1geo avatar phase1geo commented on June 2, 2024

In the case where I am joining two sibling nodes, here is what the before and after would look like (in my opinion):

BEFORE:

  • Sibling A
  • Sibling B
    • Child X
    • Child Y

AFTER

  • Siblingb A Sibling B
    • Child X
    • Child Y

I'm assuming that this would be the expected result. Do you agree?

from outliner.

phase1geo avatar phase1geo commented on June 2, 2024

I was just noticing that the current split functionality does the following:

BEFORE

  • Text More text
    • Child A
    • Child B

AFTER (split between "Text" and "More")

  • Text
    • Child A
    • Child B
  • More text

Should this case instead result in:

  • Text
  • More text
    • Child A
    • Child B

from outliner.

phase1geo avatar phase1geo commented on June 2, 2024

Interesting. I just tried the above row split scenario with OmniOutliner and got the following result:

  • Text
    • More text
    • Child A
    • Child B

Does this seem like the behavior that you would expect? I guess that it would make sense if joining the first two rows resulted back in:

  • Text More text
    • Child A
    • Child B

from outliner.

phase1geo avatar phase1geo commented on June 2, 2024

I apologize for all of the posts here, but I noticed a preference setting in OmniOutliner that allows the application to switch the behavior of hitting the Enter key after creating a new row. If one option is chosen (the default), hitting Return will indent the new row if the current row already has children. When this option is set, hitting "Control + Return" to split the row will cause it to look like:

  • Text
    • More text
    • Child A
    • Child B

However, if the other option is chosen, hitting Return after editing a row will add a new sibling row after the current row's children such that the result of using "Control + Return" results in:

  • Text
    • Child A
    • Child B
  • More text

Interesting. Unfortunately, I don't see any ability to join lines in OmniOutliner so I don't know how it would handle this operation.

from outliner.

jaslar avatar jaslar commented on June 2, 2024

from outliner.

phase1geo avatar phase1geo commented on June 2, 2024

Makes sense to me. I'll work on that implementation. As for the split, I will change it to look like what you suggest as the default. I may put in a preference option that will allow the user to change this behavior back to the current implementation.

Thanks for the feedback. I appreciate it!

from outliner.

phase1geo avatar phase1geo commented on June 2, 2024

I have implemented the join functionality which is in the devel branch and will be generally available in the next stable release. I have also reworked the split functionality such that the new node becomes the parent of the original node's children as is shown above.

from outliner.

Related Issues (20)

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.