Conversation
- Add isHlx6 property to DaActionBar and _canCut getter - Detect HLX6 in da-list getList() via NX api.js isHlx6() - Pass _isHlx6 flag from da-list to da-actionbar - Add unit tests for _canCut with/without HLX6 Closes #1039
Consistent with items/permissions/isFavorite — property-only binding, no attribute observation needed.
- Add _canRename getter: false when isHlx6 and item is a folder (no ext) - Files can still be renamed on HLX6 - Add 4 unit tests covering all cases
Contributor
Author
kptdobe
approved these changes
Jul 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1038
Closes #1039
Two browse toolbar operations that are not supported for HLX6 sites are now hidden from the action bar UI:
How
da-listdetects the HLX6 upgrade status viaisHlx6(org, site)from NX's/utils/api.js(already used in the same component for delete handling). The result is stored as_isHlx6state and passed down to<da-actionbar>as a property.da-actionbarexposes two new computed getters:_canCut—_canWrite && !isHlx6_canRename—_canWrite, and additionally!isHlx6when the selected item is a folderTesting
7 new unit tests covering all combinations (HLX6/non-HLX6, file/folder, write/read-only). Full suite: 367 tests, 0 failures.
Test