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

[studio][studio-ui] Level Descriptor being counted as children, also ...X more items button not working when publishing #6518

Closed
3 of 5 tasks
Euquimides opened this issue Feb 8, 2024 · 2 comments

Comments

@Euquimides
Copy link

Duplicates

  • I have searched the existing issues

Latest version

  • The issue is in the develop branch
  • The issue is in the latest released 4.1.x
  • The issue is in the latest released 4.0.x
  • The issue is in the latest released 3.1.x

Describe the issue

If the navigator tree is expanded and an item is published, the navigator tree will update or refresh, but the button ...X more items will not work after that.

Also, there seems to be an inconsistency in the children API. It returns the levelDescriptor as a separate object, but counts it as a children in the total of children.For example, let's say the UI shows there are ...12 more items and then you close the navigator tree, it will count ...13 more items.

Steps to reproduce

Steps:

In the case of ...X more items not working:

  1. Create a new project or site based on the Editorial BP.
  2. Open /static-assets/images, so that it shows the button ...5 more items.
  3. Click in ...5 more items, see that it is working.
  4. Then, with the navigator tree opened, publish an item.
  5. See the issue.

In the case of the levelDescriptor being counted as children:

  1. Create a new project or site based on the Editorial BP.
  2. Duplicate a page various times, for example Entertainment, until a button ..X more item appears.
  3. Click on the button, see that it is working.
  4. Close the path navigator tree.
  5. Reopen the path navigator tree.
  6. See that there is ...X+1 more item, this is the issue.

Relevant log output

No response

Screenshots and/or videos

PathNavigatorIssue.mp4
@Euquimides Euquimides added bug triage Requires triage labels Feb 8, 2024
@Euquimides Euquimides changed the title [studio][studio-ui] Level Descriptor being counted as children, also ...X more items breaking when publishing [studio][studio-ui] Level Descriptor being counted as children, also ...X more items button not working when publishing Feb 8, 2024
@sumerjabri sumerjabri added this to the Next Release milestone Feb 8, 2024
@sumerjabri sumerjabri removed the triage Requires triage label Feb 8, 2024
@russdanner russdanner added the CI label Feb 9, 2024
@jvega190
Copy link
Member

@Euquimides this can now be tested in 4.1.x

@rart rart removed their assignment Feb 15, 2024
@jvega190 jvega190 removed their assignment Feb 15, 2024
@Euquimides
Copy link
Author

Hi! Updated and rechecked this issue. Fix verified. Thank you! Closing this ticket.

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

No branches or pull requests

6 participants