Skip to content

Commit

Permalink
chore(version): upgrade version to v2.3.4 (#2148)
Browse files Browse the repository at this point in the history
* chore(version): upgrade version to v2.3.4

* fix(service-providers): change file insert priority
  • Loading branch information
hqer927 authored Jun 18, 2024
1 parent 1ea02a2 commit 2ed815a
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 14 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## [2.3.4](https://github.com/netless-io/flat/compare/v2.3.4...v2.3.4) (2024-06-12)


### Bug Fixes

* **flat-components**: edit periodic sub room times ([#2141](https://github.com/netless-io/flat/issues/2141)) ([d70434f7](https://github.com/netless-io/flat/commit/d70434f7))
* **flat-pages**: avoid JavaScript protocol in redirect URL ([#2135](https://github.com/netless-io/flat/issues/2135)) ([216c931e](https://github.com/netless-io/flat/commit/216c931e))



## [2.3.3](https://github.com/netless-io/flat/compare/v2.3.2...v2.3.3) (2024-03-08)


Expand Down
2 changes: 1 addition & 1 deletion desktop/main-app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "flat",
"productName": "Flat",
"version": "2.3.3",
"version": "2.3.4",
"private": true,
"description": "",
"homepage": "https://github.com/netless-io/flat",
Expand Down
5 changes: 5 additions & 0 deletions docs/releases/v2.3.4/en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Improved

1. Upgrade to the new version of PPT Conversion
2. Support viewing playback across regions (versions) via links
3. Adjust the limitation of modifying periodic sub-rooms
5 changes: 5 additions & 0 deletions docs/releases/v2.3.4/zh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## 优化

1. 升级到 PPT 转换新版本
2. 支持通过链接跨地区(版本)查看回放
3. 调整修改周期性子房间的限制
25 changes: 12 additions & 13 deletions service-providers/fastboard/src/file-insert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,19 +224,6 @@ export async function insertDocs(
}
return;
}

if (convertingStatus.prefix) {
// new Projector PPTX conversion
await fastboardApp.insertDocs({
fileType: "pptx",
title: file.fileName,
scenePath: `/${taskUUID}/${uuidv4()}`,
taskId: taskUUID!,
url: convertingStatus.prefix,
});
return;
}

if (convertingStatus.images) {
// other docs
await fastboardApp.manager.addApp({
Expand All @@ -249,6 +236,18 @@ export async function insertDocs(
});
return;
}

if (convertingStatus.prefix) {
// new Projector PPTX conversion
await fastboardApp.insertDocs({
fileType: "pptx",
title: file.fileName,
scenePath: `/${taskUUID}/${uuidv4()}`,
taskId: taskUUID!,
url: convertingStatus.prefix,
});
return;
}
}
}

Expand Down

0 comments on commit 2ed815a

Please sign in to comment.