Currently there is no way to move an ASSET folder or change its parent folder once it has been created. It would be very useful to have the ability to reorganize the directory structure by moving folders within the hierarchy.
The suggested implementation could work in one of two ways: either by allowing direct modification of the parent ID field, or by providing a selection interface where the user can choose a new parent folder from the existing structure.
This feature would improve project organization and flexibility, especially in larger projects where the folder structure may need to evolve over time.
During my testing, I found that simply adding the PARENT FOLDER ID field to the form already enables folder moving functionality. The user just needs to know the ID of the target folder. For this reason, I have also added a READONLY field displaying the folder ID, which makes it easier to identify the destination folder.
>> modules\Assets\assets\dialogs\asset-folder.js
<div v-if="isEdit" class="kiss-margin">
<label class="kiss-text-caption">{{ t('Folder ID') }}</label>
<div class="kiss-size-xsmall kiss-color-muted kiss-margin-xsmall-top">
{{ val._id }}
</div>
</div>
<div v-if="isEdit" class="kiss-margin">
<label class="kiss-text-caption">{{ t('Parent folder ID') }}</label>
<input
type="text"
class="kiss-input kiss-margin-xsmall"
v-model="val._p"
:placeholder="t('Parent ID is EMPTY')"
>
</div>
and a simple validation check on save
if (this.val._p == this.val._id) {
App.ui.notify('A folder cannot be its own parent.', 'danger');
return false;
}



