docbrown/spec/system
Jacob Herrington 45e45491b1
Migrate "static" profile fields into new columns (#13641)
* Move static profile fields to profiles columns

In order to remove some ambiguity around the availability of certain
profile fields, we can designate certain fields as "static." These
fields are intended to exist on every Forem regardless of configuration;
they contain basic personal info that most Forem's will likely use.

Because these fields already exist on some Forems it is necessary to
migrate the data from existing profile's data column to their respective
columns.

This change should behave as expected irrespective of the existence of
the static fields having associated ProfileFields, however, the UI that
is rendered in a user's settings still depends on the presence of the
ProfileFields. We can address that in a future change when we are
prepared to delete those ProfileFields entirely. We should make sure the
migration occurs without issue before moving to that step, in my
opinion.

* Apply suggestions from code review

Co-authored-by: Michael Kohl <me@citizen428.net>

* Add clarifying comments

Co-authored-by: Michael Kohl <me@citizen428.net>

Co-authored-by: Michael Kohl <me@citizen428.net>
2021-05-26 14:40:18 -05:00
..
admin Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
articles Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
authentication Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
collections
comments Remove Elasticsearch ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ (#13606) 2021-05-03 11:09:45 -04:00
dashboards [15 min fix] Fix following tags input a11y errors (#13425) 2021-04-23 14:40:02 +01:00
homepage Remove Elasticsearch ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ (#13606) 2021-05-03 11:09:45 -04:00
notifications Clean up SiteConfig (#13738) 2021-05-18 09:38:31 +07:00
onboardings Replace MAX_USER_MENTIONS with Settings::RateLimit.mention_creation (#13736) 2021-05-12 08:16:38 -07:00
organization Clean up SiteConfig (#13738) 2021-05-18 09:38:31 +07:00
podcasts Add skip links to readinglist, podcasts, and listings (#12769) 2021-02-23 08:33:26 +00:00
search Remove Elasticsearch ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ (#13606) 2021-05-03 11:09:45 -04:00
tags [15 Min. Fix] Update Default bg_color and text_color Hexes on Tag Edit Page (#12770) [deploy] 2021-02-23 14:17:22 -07:00
user Migrate "static" profile fields into new columns (#13641) 2021-05-26 14:40:18 -05:00
videos Replace collective_noun with community_name (#11846) [deploy] 2020-12-28 09:34:17 -07:00
banned_user_interactions_spec.rb Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
feedback_message_spec.rb Report a Message in Connect (#12229) 2021-01-19 12:07:47 -05:00
link_for_tags_in_posts_in_notifications_spec.rb Add Sign in with Apple (#11934) 2020-12-18 10:22:33 -06:00
user_logs_in_with_password_spec.rb Split Settings::Authentication from SiteConfig (#13095) 2021-04-12 09:41:09 +02:00
user_uses_the_editor_spec.rb [15 min fix] Fallback to the image URL if Cloudinary/Imgproxy are not configured (#13767) 2021-05-19 15:03:20 +02:00
user_views_a_reading_list_spec.rb
user_visits_a_comments_page_spec.rb