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

Collapse tweets #56

Open
gakonst opened this issue Dec 23, 2019 · 0 comments
Open

Collapse tweets #56

gakonst opened this issue Dec 23, 2019 · 0 comments

Comments

@gakonst
Copy link

gakonst commented Dec 23, 2019

After I have explored some expanded parts of a conversation, I would like to be able to collapse that part by e.g. clicking the top-level tweet of that thread, so that my screen does not get cluttered, allowing me to focus on other threads which I have not explored yet. You could also add toggling collapse/expand with the space button.

This would need a method on TweetTree called collapseNodes, which would just hide them from the UI (but would keep the tweet content so that it does not get reloaded if I toggle it back). Its implementation could be done by adding a isVisible field on TweetNode, which would skip rendering it and all of its children if set to true.

Does the above description make sense? Great tool otherwise, thanks for building it!

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

No branches or pull requests

2 participants