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

Feature request: Having collapsible nodes inline with log #153

Open
arnonax opened this issue Jul 17, 2022 · 1 comment
Open

Feature request: Having collapsible nodes inline with log #153

arnonax opened this issue Jul 17, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@arnonax
Copy link

arnonax commented Jul 17, 2022

Today, when I create a node it always appears at the bottom of the log. I would like it to appear inline with the other log entries, according to it's creation timestamp. This will allow me to create nested log entries. For example, I want my log to look like something this:

Navigate to landing page
>>>Login
    Click login link
    Enter user name "dummyUser"
    Enter password "dummyPassword"
    Click login button
<<<Login
>>>Add product to cart
    >>> Search product
        Navigate to search page
        Type "dummyProduct" in the search box
        Click search button
    <<< Search product
    Choose product "dummy product"
    Click "Add to cart"
<<<Add product to cart
>>>Checkout
    ...
    ...
<<<Checkout

Note: I looked at the code and I have an idea how to implement it. I still didn't try to implement it, but I'm willing to try and open a PR if you would accept it.
@ZimM-LostPolygon @anshooarora

@arnonax
Copy link
Author

arnonax commented Jul 17, 2022

Forgot to mention: I guess that the old behavior should be preserved for backwards compatibility, so a new optional flag argument, inline, should be added to CreateNode to specify that the new behavior is desired.

@anshooarora anshooarora added the enhancement New feature or request label Sep 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants