fix(tsview-s3-columns): append trailing slash to destination key when moving folders to ensure folder destination path
This commit is contained in:
@@ -1,5 +1,12 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2026-01-28 - 1.10.2 - fix(tsview-s3-columns)
|
||||||
|
append trailing slash to destination key when moving folders to ensure folder destination path
|
||||||
|
|
||||||
|
- ts_web/elements/tsview-s3-columns.ts: add '/' to destKey when moveSource.isFolder to preserve folder semantics
|
||||||
|
- Prevents folder moves from being treated as object moves by ensuring destination key ends with a slash
|
||||||
|
- Change affects logic that calls apiService.movePrefix for folder moves
|
||||||
|
|
||||||
## 2026-01-28 - 1.10.1 - fix(playwright-mcp)
|
## 2026-01-28 - 1.10.1 - fix(playwright-mcp)
|
||||||
remove Playwright-generated snapshot images to avoid committing autogenerated test artifacts and reduce repository size
|
remove Playwright-generated snapshot images to avoid committing autogenerated test artifacts and reduce repository size
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@git.zone/tsview',
|
name: '@git.zone/tsview',
|
||||||
version: '1.10.1',
|
version: '1.10.2',
|
||||||
description: 'A CLI tool for viewing S3 and MongoDB data with a web UI'
|
description: 'A CLI tool for viewing S3 and MongoDB data with a web UI'
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@git.zone/tsview',
|
name: '@git.zone/tsview',
|
||||||
version: '1.10.1',
|
version: '1.10.2',
|
||||||
description: 'A CLI tool for viewing S3 and MongoDB data with a web UI'
|
description: 'A CLI tool for viewing S3 and MongoDB data with a web UI'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1239,7 +1239,7 @@ export class TsviewS3Columns extends DeesElement {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
const sourceName = getFileName(this.moveSource.key);
|
const sourceName = getFileName(this.moveSource.key);
|
||||||
const destKey = this.moveDestination + sourceName;
|
const destKey = this.moveDestination + sourceName + (this.moveSource.isFolder ? '/' : '');
|
||||||
|
|
||||||
let result: { success: boolean; error?: string };
|
let result: { success: boolean; error?: string };
|
||||||
if (this.moveSource.isFolder) {
|
if (this.moveSource.isFolder) {
|
||||||
|
|||||||
Reference in New Issue
Block a user