1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-23 12:27:48 +00:00

Feature/refactor move dialog (#6990)

* update move dialog ui

* create new folder in move dialog

* optimize create new folder

* optimize code

* update ui

* optimize ui, fix new folder bug

* update new folder button

* update create folder

* optimize ui

* optimize ui

* optimize ui

---------

Co-authored-by: zhouwenxuan <aries@Mac.local>
This commit is contained in:
Aries
2024-11-08 18:04:48 +08:00
committed by GitHub
parent 89760c7114
commit 9d4c9b8f4b
15 changed files with 503 additions and 233 deletions

View File

@@ -968,6 +968,7 @@ class DirentListItem extends React.Component {
onItemMove={this.props.onItemMove}
onCancelMove={this.onItemMoveToggle}
repoEncrypted={this.props.repoEncrypted}
onAddFolder={this.props.onAddFolder}
/>
</ModalPortal>
}

View File

@@ -779,6 +779,7 @@ class DirentListView extends React.Component {
onItemsMove={this.props.onItemsMove}
onShowDirentsDraggablePreview={this.onShowDirentsDraggablePreview}
loadDirentList={this.props.loadDirentList}
onAddFolder={this.props.onAddFolder}
/>
);
})}
@@ -859,6 +860,7 @@ class DirentListView extends React.Component {
selectedDirentList={this.props.selectedDirentList}
onItemsMove={this.props.onItemsMove}
onCancelMove={this.onMoveToggle}
onAddFolder={this.props.onAddFolder}
/>
}
{this.state.isCopyDialogShow &&