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

BUGFIX: Lazy-Load focused node, if it's not fully loaded yet #3364

Merged

Conversation

grebaldi
Copy link
Contributor

fixes: #3219

The Problem

CR Node representations in the central Redux store have a flag isFullyLoaded that indicates whether the node has been loaded with all of its meta data. If the node has only been loaded for being displayed in the document- or content-tree, this flag is absent, otherwise it is set to true.

The intention behind flag this was to lazy-load the remaining metadata should it become relevant in a specific interaction context. Apparently though, this mechanism has never been implemented.

The Solution

I adjusted the Inspector-saga to perform the aforementioned lazy-load. This fixes #3219, but adds a plow-js call, which needs to be kept in mind for #3306.

@grebaldi grebaldi linked an issue Feb 14, 2023 that may be closed by this pull request
Copy link
Member

@markusguenther markusguenther left a comment

Choose a reason for hiding this comment

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

Great that you tackled the issue. Could reproduce the bug and your solution works fine :)

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.

Bug: Selected element select a parent node, which is a shortcut.
3 participants