[PR #381] [MERGED] Pr/auto split by period 002 #369

Closed
opened 2026-11-07 17:43:51 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Physton/sd-webui-prompt-all-in-one/pull/381
Author: @bluelovers
Created: 10/13/2026
Status: ✅ Merged
Merged: 10/13/2026
Merged by: @Physton

Base: main ← Head: pr/autoSplitByPeriod-002


📝 Commits (10+)

  • 7a81c36 fix(ui): 優化自動句號分割時的標籤逗號處理邏輯
  • 322b90c feat(ui): 新增自動句號分割時移除 wrap/lora 前逗號的選項
  • 72e0c80 build(dist): 更新編譯產物與 source map
  • 1d106b5 refactor(tag): 優化標籤屬性還原機制與句號判定邏輯
  • a15cea5 fix(ui): 集中管理標籤逗號移除判定邏輯
  • 285a64f fix(ui): 修復自動句號分割時過期 splitNoComma 標記的問題
  • e402f56 refactor(ui): 改進自動句號分割邏輯以支援巢狀括號防護
  • a9479e1 fix(ui): 修復自動句號分割邏輯中的迴圈控制錯誤
  • 311c650 build(dist): 更新編譯後的 JavaScript 檔案與 source map
  • 5ed42b1 refactor(ui): 抽離自動句號分割邏輯至獨立工具函式

📊 Changes

35 files changed (+5992 additions, -192 deletions)

View changed files

📝 i18n.json (+42 -0)
📝 javascript/main.entry.js (+78 -71)
📝 javascript/main.entry.js.map (+1 -1)
📝 src/.gitignore (+2 -0)
➕ src/build-css.js (+111 -0)
📝 src/package.json (+8 -0)
📝 src/pnpm-lock.yaml (+30 -15)
📝 src/src/App.vue (+88 -7)
📝 src/src/components/phystonPrompt.vue (+295 -29)
📝 src/src/components/promptFormat.vue (+34 -0)
📝 src/src/mixins/phystonPrompt/tagMixin.js (+20 -6)
📝 src/src/utils/common.js (+4 -2)
➕ src/src/utils/splitByPeriod.js (+242 -0)
📝 src/src/utils/splitTags.js (+173 -52)
➕ src/src/utils/splitTags_original.js (+279 -0)
➕ src/test/helpers/node-test-helpers.js (+189 -0)
➕ src/test/splitByPeriod.node-test.js (+271 -0)
➕ src/test/splitByPeriod.node-test.js.snapshot (+1036 -0)
➕ src/test/splitTags.node-test.js (+574 -0)
➕ src/test/splitTags.node-test.js.snapshot (+1755 -0)

...and 15 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Physton/sd-webui-prompt-all-in-one/pull/381 **Author:** [@bluelovers](https://github.com/bluelovers) **Created:** 10/13/2026 **Status:** ✅ Merged **Merged:** 10/13/2026 **Merged by:** [@Physton](https://github.com/Physton) **Base:** `main` ← **Head:** `pr/autoSplitByPeriod-002` --- ### 📝 Commits (10+) - [`7a81c36`](https://github.com/Physton/sd-webui-prompt-all-in-one/commit/7a81c36e4cd2cbf52a7f6f04fdace55c38be0bef) fix(ui): 優化自動句號分割時的標籤逗號處理邏輯 - [`322b90c`](https://github.com/Physton/sd-webui-prompt-all-in-one/commit/322b90c1d52731d5df99084081deda254eebc27b) feat(ui): 新增自動句號分割時移除 wrap/lora 前逗號的選項 - [`72e0c80`](https://github.com/Physton/sd-webui-prompt-all-in-one/commit/72e0c8031b96daed0ef7b2d40ae16a9d3fbc1088) build(dist): 更新編譯產物與 source map - [`1d106b5`](https://github.com/Physton/sd-webui-prompt-all-in-one/commit/1d106b5c2df2cccbd7ef04b536b294951df36e07) refactor(tag): 優化標籤屬性還原機制與句號判定邏輯 - [`a15cea5`](https://github.com/Physton/sd-webui-prompt-all-in-one/commit/a15cea502cb716fbd584848e1be113f1eb61ea5a) fix(ui): 集中管理標籤逗號移除判定邏輯 - [`285a64f`](https://github.com/Physton/sd-webui-prompt-all-in-one/commit/285a64f9b40608b709a31f0313913eb3b5a9993a) fix(ui): 修復自動句號分割時過期 splitNoComma 標記的問題 - [`e402f56`](https://github.com/Physton/sd-webui-prompt-all-in-one/commit/e402f56666f8ddae8b180d8b7e779004a5bf0ebc) refactor(ui): 改進自動句號分割邏輯以支援巢狀括號防護 - [`a9479e1`](https://github.com/Physton/sd-webui-prompt-all-in-one/commit/a9479e1d59966dc76a5e257446d405da721eca2e) fix(ui): 修復自動句號分割邏輯中的迴圈控制錯誤 - [`311c650`](https://github.com/Physton/sd-webui-prompt-all-in-one/commit/311c650f28991d3ab70264f2afeb2385291a9f9a) build(dist): 更新編譯後的 JavaScript 檔案與 source map - [`5ed42b1`](https://github.com/Physton/sd-webui-prompt-all-in-one/commit/5ed42b154aca0cb73780f76b868c71f868b4b608) refactor(ui): 抽離自動句號分割邏輯至獨立工具函式 ### 📊 Changes **35 files changed** (+5992 additions, -192 deletions) <details> <summary>View changed files</summary> 📝 `i18n.json` (+42 -0) 📝 `javascript/main.entry.js` (+78 -71) 📝 `javascript/main.entry.js.map` (+1 -1) 📝 `src/.gitignore` (+2 -0) ➕ `src/build-css.js` (+111 -0) 📝 `src/package.json` (+8 -0) 📝 `src/pnpm-lock.yaml` (+30 -15) 📝 `src/src/App.vue` (+88 -7) 📝 `src/src/components/phystonPrompt.vue` (+295 -29) 📝 `src/src/components/promptFormat.vue` (+34 -0) 📝 `src/src/mixins/phystonPrompt/tagMixin.js` (+20 -6) 📝 `src/src/utils/common.js` (+4 -2) ➕ `src/src/utils/splitByPeriod.js` (+242 -0) 📝 `src/src/utils/splitTags.js` (+173 -52) ➕ `src/src/utils/splitTags_original.js` (+279 -0) ➕ `src/test/helpers/node-test-helpers.js` (+189 -0) ➕ `src/test/splitByPeriod.node-test.js` (+271 -0) ➕ `src/test/splitByPeriod.node-test.js.snapshot` (+1036 -0) ➕ `src/test/splitTags.node-test.js` (+574 -0) ➕ `src/test/splitTags.node-test.js.snapshot` (+1755 -0) _...and 15 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 17:43:51 +07:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Physton/sd-webui-prompt-all-in-one#369
No description provided.