umbraco / Umbraco-CMS

Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.
https://umbraco.com
MIT License
4.45k stars 2.68k forks source link

Wrong page highlighted in Content tree when creating a new page #9424

Closed martinlex closed 2 years ago

martinlex commented 3 years ago

Unexpected behavior when creating content with right-click.

Umbraco version

I am seeing this issue on Umbraco version: 8.9

Reproduction

If you're filing a bug, please describe how to reproduce it. Include as much relevant information as possible, such as:

Bug summary

When right-clicking in the content tree, and then selecting “Create page”, focus is not shifted to the node under which the new page is created. It is confusing for the content editor.

Specifics

n/a

Steps to reproduce

  1. Select any page in the content tree by clicking on it image

  2. Right click on another page in the content tree image

  3. Select “Create” image

  4. Select page type to be created image

  5. The page which is highlighted in the content tree is not where the page is being created. image

Expected result

The page which was right-clicked should also be highlighted, after I created the new page.

Actual result

The page which is highlighted in the content tree is not where the page is being created.

nul800sebastiaan commented 3 years ago

That would make for a nice usability improvement indeed! 👍

umbrabot commented 3 years ago

Hi @martinlex,

We're writing to let you know that we would love some help with this issue. We feel that this issue is ideal to flag for a community member to work on it. Once flagged here, folk looking for issues to work on will know to look at yours. Of course, please feel free work on this yourself ;-). If there are any changes to this status, we'll be sure to let you know.

For more information about issues and states, have a look at this blog post

Thanks muchly, from your friendly Umbraco GitHub bot :-)

bjarnef commented 3 years ago

@martinlex the screenshots are definitely not from Umbraco v8, so I guess you might mean v7.9 instead of v8.9

Currently I think we only sync tree on node select and save, but not on right click to create a node, where the node hasn't been created yet, so it will probably require some additional work to sync the tree node om right-click (or via menu action button). We might need a specific event to handle this.

umbrabot commented 2 years ago

Hiya @martinlex,

Just wanted to let you know that we noticed that this issue got a bit stale and might not be relevant any more.

We will close this issue for now but we're happy to open it up again if you think it's still relevant (for example: it's a feature request that's not yet implemented, or it's a bug that's not yet been fixed).

To open it this issue up again, you can write @umbrabot still relevant in a new comment as the first line. It would be super helpful for us if on the next line you could let us know why you think it's still relevant.

For example:

@umbrabot still relevant This bug can still be reproduced in version x.y.z

This will reopen the issue in the next few hours.

Thanks, from your friendly Umbraco GitHub bot :robot: :slightly_smiling_face: