* Refactor magic numbers for `/comments` rendering (#11594) * Update comments_helper adding constants & accessor methods * Refactor stories_controller replacing hard coded values by helper call * Refactor _comments_section view accordingly with helper calls * Add test to specs (view_user(index|comments)) accordingly * Refactor magic numbers for `/comments` rendering Small changes after initial review * Change constante to more explicit names * Change one helper method name * Pluralize in view Co-authored-by: rhymes <rhymes@hey.com> |
||
|---|---|---|
| .. | ||
| admin | ||
| articles | ||
| authentication | ||
| collections | ||
| comments | ||
| dashboards | ||
| homepage | ||
| notifications | ||
| onboardings | ||
| organization | ||
| podcasts | ||
| search | ||
| user | ||
| videos | ||
| banned_user_interactions_spec.rb | ||
| feedback_message_spec.rb | ||
| link_for_tags_in_posts_in_notifications_spec.rb | ||
| user_logs_in_with_password_spec.rb | ||
| user_uses_the_editor_spec.rb | ||
| user_views_a_reading_list_spec.rb | ||
| user_visits_a_comments_page_spec.rb | ||