From 79ef586d046b33c10ae152bcac22157c7214536c Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Sun, 28 Sep 2025 19:56:11 -0700 Subject: [PATCH] Remove Full-width layout option from preferences MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove fluid_preference toggle from preferences page - Remove fluid_preference from permitted parameters in controller - This setting was only used in the old Materialize layout - Standardizing on one consistent layout with the new TailwindCSS redesign - Include user's updates to content_page_shares comments display 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- app/controllers/registrations_controller.rb | 2 +- app/views/content_page_shares/show.html.erb | 20 ------------------- .../registrations/panes/_preferences.html.erb | 11 ---------- 3 files changed, 1 insertion(+), 32 deletions(-) diff --git a/app/controllers/registrations_controller.rb b/app/controllers/registrations_controller.rb index b16bd387..3e1b4ec0 100644 --- a/app/controllers/registrations_controller.rb +++ b/app/controllers/registrations_controller.rb @@ -58,7 +58,7 @@ class RegistrationsController < Devise::RegistrationsController def account_update_params params.require(:user).permit( - :name, :email, :username, :password, :password_confirmation, :email_updates, :fluid_preference, + :name, :email, :username, :password, :password_confirmation, :email_updates, :bio, :favorite_genre, :favorite_author, :interests, :age, :location, :gender, :forums_badge_text, :keyboard_shortcuts_preference, :avatar, :favorite_book, :website, :inspirations, :other_names, :favorite_quote, :occupation, :favorite_page_type, :dark_mode_enabled, :notification_updates, diff --git a/app/views/content_page_shares/show.html.erb b/app/views/content_page_shares/show.html.erb index 66f9ba20..7ea59a1b 100644 --- a/app/views/content_page_shares/show.html.erb +++ b/app/views/content_page_shares/show.html.erb @@ -187,26 +187,6 @@ <% end %> - - - - - - diff --git a/app/views/devise/registrations/panes/_preferences.html.erb b/app/views/devise/registrations/panes/_preferences.html.erb index 5b0a8a7b..8bbb20b1 100644 --- a/app/views/devise/registrations/panes/_preferences.html.erb +++ b/app/views/devise/registrations/panes/_preferences.html.erb @@ -7,17 +7,6 @@
-
-
- -

Great for small monitors/laptops, phones, and tablets.

-
-
- <%= f.check_box :fluid_preference, class: "sr-only" %> - -
-
-