Skip to content

fix(deps): update dependency @nextcloud/dialogs to ^6.3.1 (main) #7251

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 22 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@nextcloud/auth": "^2.5.1",
"@nextcloud/axios": "^2.5.1",
"@nextcloud/browser-storage": "^0.4.0",
"@nextcloud/dialogs": "^6.2.0",
"@nextcloud/dialogs": "^6.3.1",
"@nextcloud/event-bus": "^3.3.2",
"@nextcloud/files": "^3.10.2",
"@nextcloud/initial-state": "^2.2.0",
Expand Down
8 changes: 2 additions & 6 deletions src/components/Menu/ActionInsertLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@
const filePicker = buildFilePicker(this.startPath)

filePicker.pick()
.then((files) => {
.then((file) => {

Check warning on line 130 in src/components/Menu/ActionInsertLink.vue

View check run for this annotation

Codecov / codecov/patch

src/components/Menu/ActionInsertLink.vue#L130

Added line #L130 was not covered by tests
const client = OC.Files.getClient()
client.getFileInfo(files[0]).then((_status, fileInfo) => {
client.getFileInfo(file).then((_status, fileInfo) => {

Check warning on line 132 in src/components/Menu/ActionInsertLink.vue

View check run for this annotation

Codecov / codecov/patch

src/components/Menu/ActionInsertLink.vue#L132

Added line #L132 was not covered by tests
const url = new URL(generateUrl(`/f/${fileInfo.id}`), window.origin)
this.setLink(url.href, fileInfo.name)
this.startPath = fileInfo.path + (fileInfo.type === 'dir' ? `/${fileInfo.name}/` : '')
Expand All @@ -141,7 +141,6 @@
this.$refs.buttonFile?.$el.focus()
})
},

/**
* Allow user to enter an URL manually
* Triggered when by the "link url" button
Expand All @@ -163,7 +162,6 @@
}
this.isInputMode = true
},

/**
* Save user entered URL as a link markup
* Triggered when the user submits the ActionInput
Expand Down Expand Up @@ -191,7 +189,6 @@
chain.insertOrSetLink(text, { href })
chain.focus().run()
},

/**
* Remove link markup at current position
* Triggered by the "remove link" button
Expand All @@ -200,7 +197,6 @@
this.$editor.chain().unsetLink().focus().run()
this.menuOpen = false
},

linkPicker() {
getLinkWithPicker(null, true)
.then(link => {
Expand Down
Loading