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

Adding comment features? #9

Open
kang-sw opened this issue Mar 2, 2024 · 1 comment
Open

Adding comment features? #9

kang-sw opened this issue Mar 2, 2024 · 1 comment

Comments

@kang-sw
Copy link
Contributor

kang-sw commented Mar 2, 2024

It'd be nice to comment feature is implemented. In Unreal Engine's blueprint editor, there are two comment types:

  • Comment panel => Visually groups multiple node with colored panel, has title and color

image

  • Node comment bubble => Attach comments onto individual nodes.

image

I think it's just okay to putting comment data as 'metadata' of Snarl container, and giving users to opt-out metadata when required. (e.g. Snarl::strip_metadata(&mut self)

And if #7 (selecting multiple node at once) is once implemented, it'd be possible that creating comment panel with bound size
automatically calculated from selected nodes.

@zakarumych
Copy link
Owner

SnarlViewer may output on-hover pop-up for elements, so user may use it for 2nd style comments.

There's is a plan for groups which will be optional part of Snarl.
SnarlViewer will be responsible to populate it with content which again can contain comments.

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

No branches or pull requests

2 participants