Closed
Conversation
undefined method `strip_tags'エラーがでたため strip_tags を使うようにするためActionView::Helpers::SanitizeHelperを利用した また、明示的に ActionController::Base.helpers.strip_tags を使うように変更した
rails test test/system/pages_test.rb:296が落ちていた
result_forと同じようなメソッド名にした
markdown_to_plain_textでHTMLに変換した影響があるテストエラーを解消した rails test test/system/current_user/watches_test.rb:53 rails test test/system/current_user/bookmarks_test.rb:25
markdown_to_plain_textでHTMLに変換した影響があるテストエラーを解消した
SearchResultでstrip_tagsを使用するために、strip_tags をActionView::Base.full_sanitizer.sanitize に置き換えた
markdown_to_plain_textでHTMLに変換する部分を修正したので、元に戻した
サマリーのメソッドを変更した
0651451 to
a13ee2a
Compare
coderabbitaiから、パフォーマンスの問題が発生する可能性があるとのことで、リファクタリングした
Merged
Contributor
Author
Contributor
Author
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
本PRは、#8203 の実装を移行したものです。
#8203 で多数のコンフリクトが発生したので、本PRおよびブランチを再作成しました。
Issue
概要
変更確認方法
1. 環境構築
feature/change-searchables-not-reactをローカルに取り込むrails db:resetを実行するbin/setupを実行するforeman start -f Procfile.devを実行するmachidaユーザーでログインしている)2. 検索の確認
検索ワードなしでの検索
検索ワードありでの検索
Screenshot
非React化のみなので、画面の変更はなし
Summary by CodeRabbit
新機能
改善・変更
バグ修正
スタイル
テスト
その他