Develop/v1.1.1 #3
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
このプルリクエストにより、Google Apps Script プロジェクトでの変更内容の処理と送信方法が改善されます。主な更新内容には、ユーザー入力の解析精度の向上、メッセージの作成と Google Chat への送信方法のリファクタリング、およびコードのマイナークリーンアップが含まれます。
入力処理と UX の改善:
Ctrl+EnterまたはCmd+Enterによる変更の送信をサポートし、変更履歴入力フィールドでのユーザーエクスペリエンスが向上しました。メッセージ構築と通知のリファクタリング:
main.gsのprocessAndSendは、構造化されたメッセージオブジェクトを構築し、以前のgoogle_chat_webhook関数ではなく新しいsendGooglechat関数を呼び出すようになりました。これにより、保守性と明瞭性が向上します。 [1] [2]コードのクリーンアップ:
print.gsから未使用のtest_copyAndFormatSheet関数を削除し、コードが煩雑にならないようにしました。ファイルと参照の一貫性:
ChangesInput.htmlからchangesInput.htmlに変更し、main.gsおよびその他の参照をそれに応じて更新して一貫性を保ちました。