Skip to content

Fix streamtrees display for narratives#2051

Open
joverlee521 wants to merge 2 commits into
masterfrom
fix-streamtree-narrative
Open

Fix streamtrees display for narratives#2051
joverlee521 wants to merge 2 commits into
masterfrom
fix-streamtree-narrative

Conversation

@joverlee521

Copy link
Copy Markdown
Contributor

Description of proposed changes

showStreamTrees was always getting set to false when loading the same dataset in narratives because the treeToo state is truthy when loading in the old state. Check treeToo.loaded to avoid showing streamtrees for tangletrees.

Related issue(s)

Resolves #2050

Checklist

`showStreamTrees` was always getting set to false when loading the
same dataset in narratives because the `treeToo` state is truthy when
loading in the old state. Check `treeToo.loaded` to avoid showing
streamtrees for tangletrees.

Resolves #2050
@joverlee521 joverlee521 force-pushed the fix-streamtree-narrative branch from 302575c to eaf2fea Compare May 20, 2026 21:13
@jameshadfield

Copy link
Copy Markdown
Member

John & I were just talking about this as your fix came through! ⭐

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now there's the opposite issue of once you reach a slide with streamLabel, going back to a previous slide stays in streamtrees display (unless you specifically set streamLabel=none for all previous slides).

@joverlee521 joverlee521 temporarily deployed to auspice-fix-streamtree--yzzjry May 20, 2026 23:14 Inactive

@joverlee521 joverlee521 May 20, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jameshadfield I'm not sure why this narrative doesn't work....see error in test-app

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will take a look, but might not be today

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

Successfully merging this pull request may close these issues.

Streamtrees don't render in narratives

2 participants