Closed xpadev-net closed 1 year ago
コメント上限の機能を追加 config.commentLimit、config.hideCommentOrderを参照してください
すべての内部関数をniconicomments.internalから公開 niconicomments.internalから内部処理で使用している関数を公開しました ※公開される関数は予告なく変更される場合があります
keepCAのロジックを改善 以前はユーザーのみを見てレイヤーを分離していましたが、分離基準に投稿時間を追加しました
カスタムエラーの実装 Errorをextendしたエラークラスを実装しました
ドキュメントの整備 各関数にjsdocを追加しました
@逆コマンドの左右位置が正しくないバグを修正 @逆を使用した際にコメントの位置がコメント幅分ずれるバグを修正しました
高解像度のコメントが正しく描画されないバグを修正 高解像度のコメントで下が見切れるバグを修正しました
カラーコードが正しくパースされないバグを修正 6桁のカラーコードを3桁のカラーコードとしてパースしてしまうバグを修正しました
nakaコメントの互換性を改善 nakaコメントの互換性を改善しました
サンプルのコードを改善 サンプルのコードを改善しました 実装の参考になれば幸いです
依存関係を更新 ビルドツールなどの更新を行いました
リファクタリング 保守性を向上するためにリファクタリングを行いました
playwrightによるテストを導入 スクリーンショットの比較によるテストを追加しました
機能追加・改善
コメント上限の機能を追加 config.commentLimit、config.hideCommentOrderを参照してください
すべての内部関数をniconicomments.internalから公開 niconicomments.internalから内部処理で使用している関数を公開しました
※公開される関数は予告なく変更される場合があります
keepCAのロジックを改善 以前はユーザーのみを見てレイヤーを分離していましたが、分離基準に投稿時間を追加しました
カスタムエラーの実装 Errorをextendしたエラークラスを実装しました
ドキュメントの整備 各関数にjsdocを追加しました
バグ修正
@逆コマンドの左右位置が正しくないバグを修正 @逆を使用した際にコメントの位置がコメント幅分ずれるバグを修正しました
高解像度のコメントが正しく描画されないバグを修正 高解像度のコメントで下が見切れるバグを修正しました
カラーコードが正しくパースされないバグを修正 6桁のカラーコードを3桁のカラーコードとしてパースしてしまうバグを修正しました
nakaコメントの互換性を改善 nakaコメントの互換性を改善しました
その他
サンプルのコードを改善 サンプルのコードを改善しました
実装の参考になれば幸いです
依存関係を更新 ビルドツールなどの更新を行いました
リファクタリング 保守性を向上するためにリファクタリングを行いました
playwrightによるテストを導入 スクリーンショットの比較によるテストを追加しました