Sakamoto Shiina
ef4a19d0bb
[Refactor] Implement _OpenWebpageButton component and integrate it into DeeplAuthKeyContainer.
2025-11-13 12:17:18 +09:00
Sakamoto Shiina
ddcf49e243
[Refactor] Integrate DeepL authentication key URL and enhance OpenWebpage_DeeplAuthKey component to accept props.
2025-11-13 12:01:32 +09:00
Sakamoto Shiina
d6498a78ca
Merge branch 'ui_refactor' into develop
2025-11-13 10:33:16 +09:00
misyaguziya
44b04ddef6
Merge branch 'refactor_endpoints' into develop
2025-11-13 10:02:40 +09:00
misyaguziya
215f5f6815
[Refactor] Update endpoint names to use 'selectable' prefix for mic, speaker, and translation engines
2025-11-12 20:55:08 +09:00
Sakamoto Shiina
db60529466
[Update]: Allow inserting custom components into MultiDropdownMenu.
...
- For Device components Auto select device that is SwitchBox component.
2025-11-12 16:33:20 +09:00
Sakamoto Shiina
ddcd19d5eb
[Refactor] Separate SwitchBox into _atom and wrapper, add secondary label support.
2025-11-12 15:27:10 +09:00
Sakamoto Shiina
d529ed8962
[Refactor] Introduce MultiDropdownMenuContainer template for layout consistency.
2025-11-12 14:48:13 +09:00
misyaguziya
cfc0e9fcc4
[Feature] Add VAD parameters and no-repeat N-gram size to Config and AudioTranscriber
2025-11-12 12:42:04 +09:00
Sakamoto Shiina
4a852374ab
[Refactor]: Introduce MultiDropdownMenu component for layout consistency.
2025-11-12 12:32:18 +09:00
Sakamoto Shiina
01327fa852
[Refactor] Introduce wrapper component for DropdownMenu to enhance versatility.
2025-11-12 10:18:26 +09:00
Sakamoto Shiina
dc3c236791
[Refactor] Move DropdownMenu to _atoms directory.
2025-11-12 10:01:55 +09:00
Sakamoto Shiina
b21a46e96e
[Refactor] Extract container logic into TemplatesContainerWrapper.
2025-11-11 03:02:21 +09:00
Sakamoto Shiina
3612f2cb80
[Refactor] MessageFormats: Improve reusability of setting container templates.
2025-11-10 23:07:17 +09:00
Sakamoto Shiina
5d15b47b3e
[Refactor] WordFilter: Improve reusability of setting container templates.
2025-11-10 22:55:29 +09:00
Sakamoto Shiina
2062849887
Merge branch 'ui_refactor' into develop
2025-11-08 07:47:13 +09:00
Sakamoto Shiina
1bdea275dc
[Refactor] Improve slider logic flexibility.(Adjust to Vr section)
2025-11-08 06:46:52 +09:00
Sakamoto Shiina
4770908831
[bugfix] Correct postUpdateAction handling in slider component.
...
- Fixed bug where postUpdateAction was not properly passed as a prop to the slider component
- Prevented infinite re-renders by removing postUpdateAction from the dependency array
2025-11-07 08:09:18 +09:00
Sakamoto Shiina
9b69ffe8ff
[Refactor/TMP2] Refactor slider logic and appearance settings
...
- Improve slider logic by adding useMemo for marks calculation and fixing floating point precision issues
- Add loop safety check to prevent infinite loops in createMarks function
- Remove show_label_values prop from TransparencyContainer
- Add proper decimal place handling for slider values
2025-11-07 06:41:33 +09:00
Sakamoto Shiina
2cd4ddc4a3
[Refactor/TMP1] Unify Slider components. (Appearance, Transcription.) VR section is commented out temporally.
2025-11-06 21:44:33 +09:00
Sakamoto Shiina
e23bf223ae
[Refactor] Improve clarity of slider logic by inverting label filtering.
2025-11-06 13:04:35 +09:00
Sakamoto Shiina
c76b2981c6
[Refactor] Unify and encapsulate slider UI logic into useSliderLogic hook. Part 1.
2025-11-06 12:44:04 +09:00
Sakamoto Shiina
4adfc8fbc1
[Refactor] Export config hooks from index.js
2025-11-06 10:50:21 +09:00
Sakamoto Shiina
5cbd7618e3
[Refactor] Reorganize config hooks into config_page_setter folder.
2025-11-05 15:15:09 +09:00
Sakamoto Shiina
db820375f1
[Refactor] Move to src-ui/views and src-ui/logics structure.
2025-11-05 11:49:48 +09:00
misyaguziya
62f7c6d534
Merge branch 'test_client' into develop
2025-10-30 22:04:34 +09:00
misyaguziya
3af594960a
test_endpoints.py と docs/test_endpoints.md を追加: APIエンドポイント総合テストモジュールを実装・文書化
...
- 新規: src-python/test_endpoints.py を追加。メインループ統合の総合テストモジュールを実装
- /set/data/* の動的値を実行時に /get/data/... から取得して self.config_dict にキャッシュしてから選択する方式を導入
- main_instance の start()/controller.init() 呼び出しと、Watchdog 用の no-op コールバック設定を追加
- main.mapping のすべての status を True に設定してテスト対象を列挙
- /set/enable /set/disable /set/data /run /delete/data の個別テスト実装(single/all/random/specific パターン)
- LLM/API 関連(plamo/gemini/openai/lmstudio/ollama 等)のモデルリスト取得・ランダム選択、認証キー/URL 系は期待ステータスに [200,400] を設定
- マイク/スピーカー等の検証(閾値・タイムアウト)で不正値時に期待ステータスを [400] にするバリデーション追加
- 実行系エンドポイント(/run/*)のテスト実装、テスト不能な操作は [401] でスキップ扱い
- ランダムアクセステスト(全体/ON-OFF/特定セット)を実装
- 翻訳の総当たりテスト機能と結果を translation_test_results.json に出力
- テスト結果を収集する record_test_result と generate_summary によるサマリー出力を実装
- 実行中のデバッグログ出力やスキップ/エラー時の詳細ログを追加
- 新規: src-python/docs/test_endpoints.md を追加。上記モジュールの目的・使用方法・取得/キャッシュ戦略・対象エンドポイント一覧などを文書化
目的: API エンドポイントの包括的な自動テスト基盤を整備し、動的値取得による安定化・LLM/API の接続挙動検査・ランダム負荷試験を容易にする
2025-10-30 22:03:37 +09:00
misyaguziya
7f3db2f82c
test_client.pyを改善: /set/data/ のモデル/認証キー/URL系エンドポイント(plamo,gemini,openai,lmstudio,ollama)で expected に [200,400] を追加。データが None の場合のスキップ条件を見直し、expected に 400 が含まれる場合はデータ無しでもリクエストを送信してテストするように変更。
2025-10-29 23:37:12 +09:00
misyaguziya
5f3dcbec81
Merge branch 'bugfix_config' into develop
2025-10-29 11:51:58 +09:00
misyaguziya
8e73469e41
backend_test.mdを更新・mainloop.mdを更新・test_client.mdを追加: /set/data/* の実行時取得とキャッシュ挙動を文書化して動的値選択の理由を追記、mainloopの start() 簡素化(メインループ維持、KeyboardInterruptでstop)と Watchdog(/run/feed_watchdog) 連携を明記、status=348ログ取り扱い・初期化待機・Watchdog運用などドキュメント整形と説明強化
2025-10-29 11:51:04 +09:00
misyaguziya
30f5b44168
test_client.pyを改善: サイレントモード・348ログ展開・自動テストのエクスポート機能を追加
...
- TestClient.send_request に silent 引数を追加し、詳細ログの抑制に対応
- バックエンド初期化待機/受信処理で status==348 をログ扱いとして全フィールドを整形表示するよう拡張
- 受信表示や他エンドポイントログの出力を silent フラグで抑制するよう修正
- AutomatedEndpointTester のコンストラクタを拡張 (silent, export_path, export_csv) とし、内部呼び出しで silent を伝搬
- テスト結果の JSON/CSV エクスポート機能を追加 (export_results / export_results_csv) とエクスポート用ユーティリティを実装
- インタラクティブメニューに詳細ログ抑制・出力ファイル選択オプションを追加し、AutomatedEndpointTester へ渡すようにした
- その他、watchdog/disable系呼び出し等で silent を使った出力抑制を適用
2025-10-29 11:22:38 +09:00
misyaguziya
66d102abf1
test_client.pyを改善: watchdog スレッドを追加して /run/feed_watchdog を30秒間隔で送信、初期化後に起動・cleanupで停止してjoinする処理と送信エラーのハンドリングを追加
2025-10-29 04:46:46 +09:00
misyaguziya
cf5ce23839
test_client.pyを改善: 起動時のconfig.json削除を追加、初期化待機ロジックを拡張(VRCT_INIT_TIMEOUT対応、ソフトタイムアウト警告、30秒ごとの進捗ログ、プロセス終了検出とログ化、JSONログ表示の安定化)およびAutomatedEndpointTesterクラスを追加して run_all / run_random / run_specific を実装・メニューに統合
2025-10-29 04:38:49 +09:00
misyaguziya
65729d8cad
test_client.pyを追加: バックエンドをsubprocessで起動しstdin/stdout経由で通信する対話式テストクライアントを実装。/run/initialization_completeの待機、リクエストデータのJSON→Base64変換、サンプルテスト/対話モード、色付きログ表示、タイムアウト・通信エラーのハンドリング、プロセスの安全なクリーンアップを含む
2025-10-28 23:03:26 +09:00
misyaguziya
5ce281e99b
Main.startを簡素化し、受信/ハンドラスレッドの起動を削除してメインループで稼働を維持。KeyboardInterruptでstopを呼び出すように変更
2025-10-28 23:02:16 +09:00
misyaguziya
73969c2fb6
compute_typesをソートして出力を安定化、getBestComputeTypeのselected_typesを初期化してロジックを簡素化
2025-10-25 15:22:50 +09:00
misyaguziya
a54538ee70
configのdictとlistの保存の問題を修正
2025-10-24 16:17:02 +09:00
misyaguziya
c5d075253d
Merge branch 'overlay_ruby' into develop
2025-10-23 16:24:05 +09:00
misyaguziya
c97ceec3bc
長文の折り返しに対応
2025-10-23 16:23:50 +09:00
misyaguziya
72a82d82d8
Merge branch 'overlay_ruby' into develop
2025-10-23 15:39:37 +09:00
misyaguziya
c9d09f1e08
不要なconfig Parameterを削除
2025-10-23 15:39:12 +09:00
misyaguziya
a66459baa3
Merge branch 'overlay_ruby' into develop
...
# Conflicts:
# src-python/config.py
2025-10-23 14:51:47 +09:00
misyaguziya
31e7ba2a08
Merge branch 'config' into develop
2025-10-23 14:42:24 +09:00
misyaguziya
0a9cb9952b
overlay: 大ログにトランスリテレーション(ルビ)対応を追加し描画/APIを拡張
...
- controller/model: transliteration_message / transliteration_translation を伝搬するよう変更し、createOverlayImage* 呼び出しの引数を更新
- overlay: createTextboxLargeLogWithRubyTokens を実装し、大ログでのトークン単位ルビ描画(フォールバックロジック、外側パディング、行間等)を追加
- overlay: 小型ログAPI/呼び出しを transliteration_* 名に合わせて修正・簡素化
- docs: overlay_ruby.md に大ログ向け仕様と使用例を追記
2025-10-23 14:41:37 +09:00
Sakamoto Shiina
ad8a5ce8a7
Merge branch 'ui_refactor_and_connect_to_backend' into develop
2025-10-23 11:28:39 +09:00
Sakamoto Shiina
4fdaf6611f
[Refactor] Remove the commented code that is no longer needed.
2025-10-23 11:20:05 +09:00
Sakamoto Shiina
d3ef567ef2
[Refactor/TMP5] Refactor UI components and connect to backend APIs. (VR(Overlay))
2025-10-22 17:34:57 +09:00
misyaguziya
66d3c09a0d
overlay: ルビ表示の上下パディングを対称化(outer_padding導入)しテキスト周囲にUIパディングを追加、ルビ機能のドキュメントを追加
2025-10-22 17:22:50 +09:00
Sakamoto Shiina
e9287318c3
[Refactor/TMP4] Refactor UI components and connect to backend APIs. (MessageFormat)
2025-10-22 15:17:06 +09:00
misyaguziya
8be132abe6
overlay: フォントキャッシュ追加と小型ログのルビ描画を改善
...
- フォントのメモリキャッシュ(_font_cache)と _get_font を導入し truetype 読み込みを最適化
- createTextboxSmallLog を堅牢化(None対応、幅測定の例外処理、改行判定の改善)
- 単語単位ルビ描画機能を追加(renderRubyBlock / createTextboxSmallLogWithRubyTokens)
- トークン毎の幅算出/センタリング、行折り返し検出時のフォールバック実装
- createOverlayImageSmallLog を拡張して、元文・翻訳それぞれにルビ適用とフォールバック合成を実行
- __main__ のテスト呼び出しを翻訳リスト形式に合わせて修正し、ルビテスト追加
2025-10-22 14:23:41 +09:00