From 2c67bfe2421789c46074c5dd182388d568566568 Mon Sep 17 00:00:00 2001 From: Marlena Borowiec <96994176+marlena-b@users.noreply.github.com> Date: Wed, 27 Sep 2023 13:03:33 +0200 Subject: [PATCH] Remove ActiveAdmin (#196) * Remove ActiveAdmin * Unpin chartkick and chart bundle --- Gemfile | 3 - Gemfile.lock | 44 --- app/admin/admin_users.rb | 27 -- app/admin/dashboard.rb | 55 --- app/admin/staff_accounts.rb | 24 -- app/assets/javascripts/.keep | 0 app/assets/javascripts/active_admin.js | 3 - app/models/admin_user.rb | 24 -- app/models/staff_account.rb | 5 - config/importmap.rb | 3 - config/initializers/active_admin.rb | 337 ------------------ config/routes.rb | 2 - .../20230925130443_remove_active_admin.rb | 6 + db/schema.rb | 43 +-- db/seeds/01_alta.rb | 3 - db/seeds/02_baja.rb | 3 - lib/tasks/auto_annotate_models.rake | 1 - vendor/assets/stylesheets/active_admin.scss | 17 - 18 files changed, 7 insertions(+), 593 deletions(-) delete mode 100644 app/admin/admin_users.rb delete mode 100644 app/admin/dashboard.rb delete mode 100644 app/admin/staff_accounts.rb create mode 100644 app/assets/javascripts/.keep delete mode 100644 app/assets/javascripts/active_admin.js delete mode 100644 app/models/admin_user.rb delete mode 100644 config/initializers/active_admin.rb create mode 100644 db/migrate/20230925130443_remove_active_admin.rb delete mode 100644 vendor/assets/stylesheets/active_admin.scss diff --git a/Gemfile b/Gemfile index 05852e0e9..e49396242 100644 --- a/Gemfile +++ b/Gemfile @@ -66,9 +66,6 @@ gem "azure-storage-blob", "~> 2.0", require: false # validate adopter phone numbers gem "phonelib" -# active admin -gem "activeadmin" - # geocoder creates lat/long for success page map gem "geocoder" diff --git a/Gemfile.lock b/Gemfile.lock index 6402c1344..d8427b52c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -54,15 +54,6 @@ GEM activemodel (>= 5.2.0) activestorage (>= 5.2.0) activesupport (>= 5.2.0) - activeadmin (3.0.0) - arbre (~> 1.2, >= 1.2.1) - formtastic (>= 3.1, < 5.0) - formtastic_i18n (~> 0.4) - inherited_resources (~> 1.7) - jquery-rails (~> 4.2) - kaminari (~> 1.0, >= 1.2.1) - railties (>= 6.1, < 7.1) - ransack (>= 4.0, < 5) activejob (7.0.6) activesupport (= 7.0.6) globalid (>= 0.3.6) @@ -91,9 +82,6 @@ GEM annotate (3.2.0) activerecord (>= 3.2, < 8.0) rake (>= 10.4, < 14.0) - arbre (1.6.0) - activesupport (>= 3.0.0, < 7.1) - ruby2_keywords (>= 0.0.2, < 1.0) ast (2.4.2) autoprefixer-rails (10.4.13.0) execjs (~> 2) @@ -202,9 +190,6 @@ GEM figaro (1.2.0) thor (>= 0.14.0, < 2) formatador (1.1.0) - formtastic (4.0.0) - actionpack (>= 5.2.0) - formtastic_i18n (0.7.0) geocoder (1.8.2) globalid (1.1.0) activesupport (>= 5.0) @@ -226,43 +211,19 @@ GEM guard (~> 2.8) guard-compat (~> 1.0) multi_json (~> 1.8) - has_scope (0.8.1) - actionpack (>= 5.2) - activesupport (>= 5.2) http_parser.rb (0.8.0) i18n (1.14.1) concurrent-ruby (~> 1.0) importmap-rails (1.2.1) actionpack (>= 6.0.0) railties (>= 6.0.0) - inherited_resources (1.13.1) - actionpack (>= 5.2, < 7.1) - has_scope (~> 0.6) - railties (>= 5.2, < 7.1) - responders (>= 2, < 4) io-console (0.6.0) irb (1.7.4) reline (>= 0.3.6) jbuilder (2.11.5) actionview (>= 5.0.0) activesupport (>= 5.0.0) - jquery-rails (4.6.0) - rails-dom-testing (>= 1, < 3) - railties (>= 4.2.0) - thor (>= 0.14, < 2.0) json (2.6.3) - kaminari (1.2.2) - activesupport (>= 4.1.0) - kaminari-actionview (= 1.2.2) - kaminari-activerecord (= 1.2.2) - kaminari-core (= 1.2.2) - kaminari-actionview (1.2.2) - actionview - kaminari-core (= 1.2.2) - kaminari-activerecord (1.2.2) - activerecord - kaminari-core (= 1.2.2) - kaminari-core (1.2.2) language_server-protocol (3.17.0.3) launchy (2.5.2) addressable (~> 2.8) @@ -364,10 +325,6 @@ GEM zeitwerk (~> 2.5) rainbow (3.1.1) rake (13.0.6) - ransack (4.0.0) - activerecord (>= 6.1.5) - activesupport (>= 6.1.5) - i18n rb-fsevent (0.11.2) rb-inotify (0.10.1) ffi (~> 1.0) @@ -488,7 +445,6 @@ PLATFORMS DEPENDENCIES active_link_to active_storage_validations - activeadmin acts_as_tenant annotate azure-storage-blob (~> 2.0) diff --git a/app/admin/admin_users.rb b/app/admin/admin_users.rb deleted file mode 100644 index fed0ec1a8..000000000 --- a/app/admin/admin_users.rb +++ /dev/null @@ -1,27 +0,0 @@ -ActiveAdmin.register AdminUser do - permit_params :email, :password, :password_confirmation - - index do - selectable_column - id_column - column :email - column :current_sign_in_at - column :sign_in_count - column :created_at - actions - end - - filter :email - filter :current_sign_in_at - filter :sign_in_count - filter :created_at - - form do |f| - f.inputs do - f.input :email - f.input :password - f.input :password_confirmation - end - f.actions - end -end diff --git a/app/admin/dashboard.rb b/app/admin/dashboard.rb deleted file mode 100644 index 426911a5b..000000000 --- a/app/admin/dashboard.rb +++ /dev/null @@ -1,55 +0,0 @@ -# frozen_string_literal: true - -ActiveAdmin.register_page "Dashboard" do - menu priority: 1, label: proc { I18n.t("active_admin.dashboard") } - - content title: proc { I18n.t("active_admin.dashboard") } do - columns do - column do - panel "Quick Stats" do - ul do - li do - "# Staff Accounts: #{StaffAccount.all.count} accounts" - end - li do - "# Adopter Accounts: #{AdopterAccount.all.count} accounts" - end - li do - "# Unadopted Pets: #{Pet.where.missing(:match).count}" - end - li do - "# Adoptions: #{Match.all.count}" - end - end - end - panel "Donations" do - ul do - li do - "# Donations: #{Donation.all.count}" - end - Donation.sum_donations_by_currency.each do |k, v| - li do - "#{k}: $#{v}" - end - end - end - end - # Chartkick charts here - panel "Adoptions Over Time" do - line_chart Match.all.group_by { |adp| adp.created_at.beginning_of_month } - .map { |date, adps| [date, adps.count] }.to_h - end - - panel "Donations Over Time" do - line_chart Donation.all.group_by { |donation| donation.created_at.beginning_of_month } - .map { |date, donations| [date, donations.sum { |donation| donation.amount.to_f }] }.to_h - end - - panel "User Sign Ups Over Time" do - line_chart User.all.group_by { |user| user.created_at.beginning_of_month } - .map { |date, users| [date, users.count] }.to_h - end - end - end - end -end diff --git a/app/admin/staff_accounts.rb b/app/admin/staff_accounts.rb deleted file mode 100644 index fd98ee8de..000000000 --- a/app/admin/staff_accounts.rb +++ /dev/null @@ -1,24 +0,0 @@ -ActiveAdmin.register StaffAccount do - permit_params :organization_id, :verified, :user_id - - # fields to display on /staff_accounts - index do - selectable_column - id_column - column :created_at - column :full_name - column :email - column :organization - column :verified - actions - end - - # fields to display on staff_accounts/:id/edit - form do |f| - f.inputs do - f.input :organization - f.input :verified - end - f.actions - end -end diff --git a/app/assets/javascripts/.keep b/app/assets/javascripts/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/app/assets/javascripts/active_admin.js b/app/assets/javascripts/active_admin.js deleted file mode 100644 index 2f84c2ecd..000000000 --- a/app/assets/javascripts/active_admin.js +++ /dev/null @@ -1,3 +0,0 @@ -//= require active_admin/base -//= require active_admin/base -//= require chartkick diff --git a/app/models/admin_user.rb b/app/models/admin_user.rb deleted file mode 100644 index 716301688..000000000 --- a/app/models/admin_user.rb +++ /dev/null @@ -1,24 +0,0 @@ -# == Schema Information -# -# Table name: admin_users -# -# id :bigint not null, primary key -# email :string default(""), not null -# encrypted_password :string default(""), not null -# remember_created_at :datetime -# reset_password_sent_at :datetime -# reset_password_token :string -# created_at :datetime not null -# updated_at :datetime not null -# -# Indexes -# -# index_admin_users_on_email (email) UNIQUE -# index_admin_users_on_reset_password_token (reset_password_token) UNIQUE -# -class AdminUser < ApplicationRecord - # Include default devise modules. Others available are: - # :confirmable, :lockable, :timeoutable, :trackable and :omniauthable - devise :database_authenticatable, - :recoverable, :rememberable, :validatable -end diff --git a/app/models/staff_account.rb b/app/models/staff_account.rb index 444fc8885..e6867a3c4 100644 --- a/app/models/staff_account.rb +++ b/app/models/staff_account.rb @@ -24,11 +24,6 @@ class StaffAccount < ApplicationRecord belongs_to :user rolify - # Active Admin getter methods - def full_name - user.first_name.to_s + " " + user.last_name.to_s - end - def email user.email.to_s end diff --git a/config/importmap.rb b/config/importmap.rb index f7ac6a097..fad8d7017 100644 --- a/config/importmap.rb +++ b/config/importmap.rb @@ -9,6 +9,3 @@ # pin compiled bootstrap js pin "popper", to: "popper.js", preload: true pin "bootstrap", to: "bootstrap.min.js", preload: true - -pin "chartkick", to: "chartkick.js" -pin "Chart.bundle", to: "Chart.bundle.js" diff --git a/config/initializers/active_admin.rb b/config/initializers/active_admin.rb deleted file mode 100644 index 849ea5cef..000000000 --- a/config/initializers/active_admin.rb +++ /dev/null @@ -1,337 +0,0 @@ -ActiveAdmin.setup do |config| - # == Site Title - # - # Set the title that is displayed on the main layout - # for each of the active admin pages. - config.site_title = "Baja Pet Rescue" - - # Load the Google API JS library - config.register_javascript "https://www.google.com/jsapi" - - # Set the link url for the title. For example, to take - # users to your main site. Defaults to no link. - # - # config.site_title_link = "/" - - # Set an optional image to be displayed for the header - # instead of a string (overrides :site_title) - # - # Note: Aim for an image that's 21px high so it fits in the header. - # - # config.site_title_image = "logo.png" - - # == Default Namespace - # - # Set the default namespace each administration resource - # will be added to. - # - # eg: - # config.default_namespace = :hello_world - # - # This will create resources in the HelloWorld module and - # will namespace routes to /hello_world/* - # - # To set no namespace by default, use: - # config.default_namespace = false - # - # Default: - # config.default_namespace = :admin - # - # You can customize the settings for each namespace by using - # a namespace block. For example, to change the site title - # within a namespace: - # - # config.namespace :admin do |admin| - # admin.site_title = "Custom Admin Title" - # end - # - # This will ONLY change the title for the admin section. Other - # namespaces will continue to use the main "site_title" configuration. - - # == User Authentication - # - # Active Admin will automatically call an authentication - # method in a before filter of all controller actions to - # ensure that there is a currently logged in admin user. - # - # This setting changes the method which Active Admin calls - # within the application controller. - config.authentication_method = :authenticate_admin_user! - - # == User Authorization - # - # Active Admin will automatically call an authorization - # method in a before filter of all controller actions to - # ensure that there is a user with proper rights. You can use - # CanCanAdapter or make your own. Please refer to documentation. - # config.authorization_adapter = ActiveAdmin::CanCanAdapter - - # In case you prefer Pundit over other solutions you can here pass - # the name of default policy class. This policy will be used in every - # case when Pundit is unable to find suitable policy. - # config.pundit_default_policy = "MyDefaultPunditPolicy" - - # If you wish to maintain a separate set of Pundit policies for admin - # resources, you may set a namespace here that Pundit will search - # within when looking for a resource's policy. - # config.pundit_policy_namespace = :admin - - # You can customize your CanCan Ability class name here. - # config.cancan_ability_class = "Ability" - - # You can specify a method to be called on unauthorized access. - # This is necessary in order to prevent a redirect loop which happens - # because, by default, user gets redirected to Dashboard. If user - # doesn't have access to Dashboard, he'll end up in a redirect loop. - # Method provided here should be defined in application_controller.rb. - # config.on_unauthorized_access = :access_denied - - # == Current User - # - # Active Admin will associate actions with the current - # user performing them. - # - # This setting changes the method which Active Admin calls - # (within the application controller) to return the currently logged in user. - config.current_user_method = :current_admin_user - - # == Logging Out - # - # Active Admin displays a logout link on each screen. These - # settings configure the location and method used for the link. - # - # This setting changes the path where the link points to. If it's - # a string, the strings is used as the path. If it's a Symbol, we - # will call the method to return the path. - # - # Default: - config.logout_link_path = :destroy_admin_user_session_path - - # This setting changes the http method used when rendering the - # link. For example :get, :delete, :put, etc.. - # - # Default: - # config.logout_link_method = :get - - # == Root - # - # Set the action to call for the root path. You can set different - # roots for each namespace. - # - # Default: - # config.root_to = 'dashboard#index' - - # == Admin Comments - # - # This allows your users to comment on any resource registered with Active Admin. - # - # You can completely disable comments: - # config.comments = false - # - # You can change the name under which comments are registered: - # config.comments_registration_name = 'AdminComment' - # - # You can change the order for the comments and you can change the column - # to be used for ordering: - # config.comments_order = 'created_at ASC' - # - # You can disable the menu item for the comments index page: - # config.comments_menu = false - # - # You can customize the comment menu: - # config.comments_menu = { parent: 'Admin', priority: 1 } - - # == Batch Actions - # - # Enable and disable Batch Actions - # - config.batch_actions = true - - # == Controller Filters - # - # You can add before, after and around filters to all of your - # Active Admin resources and pages from here. - # - # config.before_action :do_something_awesome - - # == Attribute Filters - # - # You can exclude possibly sensitive model attributes from being displayed, - # added to forms, or exported by default by ActiveAdmin - # - config.filter_attributes = [:encrypted_password, :password, :password_confirmation] - - # == Localize Date/Time Format - # - # Set the localize format to display dates and times. - # To understand how to localize your app with I18n, read more at - # https://guides.rubyonrails.org/i18n.html - # - # You can run `bin/rails runner 'puts I18n.t("date.formats")'` to see the - # available formats in your application. - # - config.localize_format = :long - - # == Setting a Favicon - # - # config.favicon = 'favicon.ico' - - # == Meta Tags - # - # Add additional meta tags to the head element of active admin pages. - # - # Add tags to all pages logged in users see: - # config.meta_tags = { author: 'My Company' } - - # By default, sign up/sign in/recover password pages are excluded - # from showing up in search engine results by adding a robots meta - # tag. You can reset the hash of meta tags included in logged out - # pages: - # config.meta_tags_for_logged_out_pages = {} - - # == Removing Breadcrumbs - # - # Breadcrumbs are enabled by default. You can customize them for individual - # resources or you can disable them globally from here. - # - # config.breadcrumb = false - - # == Create Another Checkbox - # - # Create another checkbox is disabled by default. You can customize it for individual - # resources or you can enable them globally from here. - # - # config.create_another = true - - # == Register Stylesheets & Javascripts - # - # We recommend using the built in Active Admin layout and loading - # up your own stylesheets / javascripts to customize the look - # and feel. - # - # To load a stylesheet: - # config.register_stylesheet 'my_stylesheet.css' - # - # You can provide an options hash for more control, which is passed along to stylesheet_link_tag(): - # config.register_stylesheet 'my_print_stylesheet.css', media: :print - # - # To load a javascript file: - # config.register_javascript 'my_javascript.js' - - # == CSV options - # - # Set the CSV builder separator - # config.csv_options = { col_sep: ';' } - # - # Force the use of quotes - # config.csv_options = { force_quotes: true } - - # == Menu System - # - # You can add a navigation menu to be used in your application, or configure a provided menu - # - # To change the default utility navigation to show a link to your website & a logout btn - # - # config.namespace :admin do |admin| - # admin.build_menu :utility_navigation do |menu| - # menu.add label: "My Great Website", url: "http://www.mygreatwebsite.com", html_options: { target: :blank } - # admin.add_logout_button_to_menu menu - # end - # end - # - # If you wanted to add a static menu item to the default menu provided: - # - # config.namespace :admin do |admin| - # admin.build_menu :default do |menu| - # menu.add label: "My Great Website", url: "http://www.mygreatwebsite.com", html_options: { target: :blank } - # end - # end - - # == Download Links - # - # You can disable download links on resource listing pages, - # or customize the formats shown per namespace/globally - # - # To disable/customize for the :admin namespace: - # - # config.namespace :admin do |admin| - # - # # Disable the links entirely - # admin.download_links = false - # - # # Only show XML & PDF options - # admin.download_links = [:xml, :pdf] - # - # # Enable/disable the links based on block - # # (for example, with cancan) - # admin.download_links = proc { can?(:view_download_links) } - # - # end - - # == Pagination - # - # Pagination is enabled by default for all resources. - # You can control the default per page count for all resources here. - # - # config.default_per_page = 30 - # - # You can control the max per page count too. - # - # config.max_per_page = 10_000 - - # == Filters - # - # By default the index screen includes a "Filters" sidebar on the right - # hand side with a filter for each attribute of the registered model. - # You can enable or disable them for all resources here. - # - # config.filters = true - # - # By default the filters include associations in a select, which means - # that every record will be loaded for each association (up - # to the value of config.maximum_association_filter_arity). - # You can enabled or disable the inclusion - # of those filters by default here. - # - # config.include_default_association_filters = true - - # config.maximum_association_filter_arity = 256 # default value of :unlimited will change to 256 in a future version - # config.filter_columns_for_large_association = [ - # :display_name, - # :full_name, - # :name, - # :username, - # :login, - # :title, - # :email, - # ] - # config.filter_method_for_large_association = '_starts_with' - - # == Head - # - # You can add your own content to the site head like analytics. Make sure - # you only pass content you trust. - # - # config.head = ''.html_safe - - # == Footer - # - # By default, the footer shows the current Active Admin version. You can - # override the content of the footer here. - # - # config.footer = 'my custom footer text' - - # == Sorting - # - # By default ActiveAdmin::OrderClause is used for sorting logic - # You can inherit it with own class and inject it for all resources - # - # config.order_clause = MyOrderClause - - # == Webpacker - # - # By default, Active Admin uses Sprocket's asset pipeline. - # You can switch to using Webpacker here. - # - # config.use_webpacker = true -end diff --git a/config/routes.rb b/config/routes.rb index bc05645f3..b178fcf3b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,8 +1,6 @@ Rails.application.routes.draw do resources :checklist_template_items - ActiveAdmin.routes(self) - devise_for :admin_users, ActiveAdmin::Devise.config devise_for :users, controllers: { registrations: "registrations", sessions: "users/sessions" diff --git a/db/migrate/20230925130443_remove_active_admin.rb b/db/migrate/20230925130443_remove_active_admin.rb new file mode 100644 index 000000000..7d0845e14 --- /dev/null +++ b/db/migrate/20230925130443_remove_active_admin.rb @@ -0,0 +1,6 @@ +class RemoveActiveAdmin < ActiveRecord::Migration[7.0] + def change + drop_table :active_admin_comments + drop_table :admin_users + end +end diff --git a/db/schema.rb b/db/schema.rb index 5b01c01b3..694492527 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,24 +10,10 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[7.0].define(version: 2023_09_18_105616) do +ActiveRecord::Schema[7.0].define(version: 2023_09_25_130443) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" - create_table "active_admin_comments", force: :cascade do |t| - t.string "namespace" - t.text "body" - t.string "resource_type" - t.bigint "resource_id" - t.string "author_type" - t.bigint "author_id" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false - t.index ["author_type", "author_id"], name: "index_active_admin_comments_on_author" - t.index ["namespace"], name: "index_active_admin_comments_on_namespace" - t.index ["resource_type", "resource_id"], name: "index_active_admin_comments_on_resource" - end - create_table "active_storage_attachments", force: :cascade do |t| t.string "name", null: false t.string "record_type", null: false @@ -56,18 +42,6 @@ t.index ["blob_id", "variation_digest"], name: "index_active_storage_variant_records_uniqueness", unique: true end - create_table "admin_users", force: :cascade do |t| - t.string "email", default: "", null: false - t.string "encrypted_password", default: "", null: false - t.string "reset_password_token" - t.datetime "reset_password_sent_at" - t.datetime "remember_created_at" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false - t.index ["email"], name: "index_admin_users_on_email", unique: true - t.index ["reset_password_token"], name: "index_admin_users_on_reset_password_token", unique: true - end - create_table "adopter_accounts", force: :cascade do |t| t.datetime "created_at", null: false t.datetime "updated_at", null: false @@ -194,21 +168,6 @@ t.string "slug" end - create_table "people", force: :cascade do |t| - t.datetime "created_at", null: false - t.datetime "updated_at", null: false - t.string "phone_number" - t.string "contact_method" - t.string "country" - t.string "province_state" - t.string "city_town" - t.text "referral_source" - t.bigint "user_id" - t.string "first_name" - t.string "last_name" - t.index ["user_id"], name: "index_people_on_user_id" - end - create_table "pets", force: :cascade do |t| t.bigint "organization_id", null: false t.datetime "created_at", null: false diff --git a/db/seeds/01_alta.rb b/db/seeds/01_alta.rb index d8d801b7f..5af689010 100644 --- a/db/seeds/01_alta.rb +++ b/db/seeds/01_alta.rb @@ -253,7 +253,4 @@ end @match.assign_checklist_template(@checklist_template) - - # active admin seed - AdminUser.create!(email: "admin@alta.com", password: "password", password_confirmation: "password") if Rails.env.development? end diff --git a/db/seeds/02_baja.rb b/db/seeds/02_baja.rb index 957229139..3af330700 100644 --- a/db/seeds/02_baja.rb +++ b/db/seeds/02_baja.rb @@ -252,7 +252,4 @@ end @match.assign_checklist_template(@checklist_template) - - # active admin seed - AdminUser.create!(email: "admin@baja.com", password: "password", password_confirmation: "password") if Rails.env.development? end diff --git a/lib/tasks/auto_annotate_models.rake b/lib/tasks/auto_annotate_models.rake index 39a086516..55a256917 100644 --- a/lib/tasks/auto_annotate_models.rake +++ b/lib/tasks/auto_annotate_models.rake @@ -7,7 +7,6 @@ if Rails.env.development? # You can override any of these by setting an environment variable of the # same name. Annotate.set_defaults( - "active_admin" => "false", "additional_file_patterns" => [], "routes" => "false", "models" => "true", diff --git a/vendor/assets/stylesheets/active_admin.scss b/vendor/assets/stylesheets/active_admin.scss deleted file mode 100644 index 41c27b384..000000000 --- a/vendor/assets/stylesheets/active_admin.scss +++ /dev/null @@ -1,17 +0,0 @@ -// Sass variable overrides must be declared before loading up Active Admin's styles. -// -// To view the variables that Active Admin provides, take a look at -// `app/assets/stylesheets/active_admin/mixins/_variables.scss` in the -// Active Admin source. -// -// For example, to change the sidebar width: -// $sidebar-width: 242px; - -// Active Admin's got SASS! -@import "active_admin/mixins"; -@import "active_admin/base"; - -// Overriding any non-variable Sass must be done after the fact. -// For example, to change the default status-tag color: -// -// .status_tag { background: #6090DB; }