Repository navigation
Adopt new tree in custom views - #76407
Conversation
|
Note: This is still missing auto expanding of nodes, a feature that doesn't yet exist in the new tree. Once the functionality is available I'll add it before merging. |
Sandeep Somavarapu (sandy081)
left a comment
There was a problem hiding this comment.
Alex Ross (@alexr00) Changes look good and there are some minor suggestions. Please take a look. Thanks.
| const resourceLabel = this.labels.create(container, { supportHighlights: true, donotSupportOcticons: true }); | ||
| DOM.addClass(resourceLabel.element, 'custom-view-tree-node-item-resourceLabel'); | ||
| const actionsContainer = DOM.append(resourceLabel.element, DOM.$('.actions')); | ||
| const actionsContainer = DOM.append(container, DOM.$('.actions')); |
There was a problem hiding this comment.
Alex Ross (@alexr00) One minor question as asked before, is this change intentional? Why not use the same structure as before?
There was a problem hiding this comment.
It is needed to have the correct alignment of the actions. Appending to the resourceLabel.element causes the action buttons to be right up against the resource label, instead of nicely aligned to the right.
|
Alex Ross (@alexr00) I had just one last comment otherwise LGTM |
|
Auto expand is still missing. I'm merging now to start getting selfhost bugs. |
Fixes #63566