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

Option to collapse the answer blocks #47

Open
sai-prasanna opened this issue Jun 8, 2021 · 0 comments
Open

Option to collapse the answer blocks #47

sai-prasanna opened this issue Jun 8, 2021 · 0 comments

Comments

@sai-prasanna
Copy link

I generally rely on the breadcrumbs to form the context for the "question" and have nested #sr blocks under it.

Example

* Topic #sr
** One line definition of the topic
** Theorem  #sr
*** Theorem statement in latex
*** Derivation #sr
**** The derivation in latex

In the above case, when the topic card answer is shown, I want it's children to be collapsed, so that I don't peek into the cards in it's children. I can restructure the cards such that the definition has a separate title and card is added there instead of on the Topic line, but I feel that's redundant as the breadcrumbs by themselves provide the context for me.

I think this would involve just calling a roam api to collapse the children when the answer card is shown? I would be willing to give a pull request if someone points to the roam api and appropriate place to call it in the current codebase. (been long since I worked on javascript projects).

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

1 participant