DEV: Cleanup unused wizard illustrations (#23659)

These were defunct since #19487
This commit is contained in:
Godfrey Chan
2023-09-25 19:34:38 -07:00
committed by GitHub
parent e2c7ecfe65
commit b5ccf89914
8 changed files with 2 additions and 208 deletions

View File

@ -10,7 +10,6 @@ class Wizard
return @wizard unless SiteSetting.wizard_enabled? && @wizard.user.try(:staff?)
@wizard.append_step("introduction") do |step|
step.banner = "welcome-illustration"
step.emoji = "wave"
step.description_vars = { base_path: Discourse.base_path }
@ -59,7 +58,6 @@ class Wizard
end
@wizard.append_step("privacy") do |step|
step.banner = "members-illustration"
step.emoji = "hugs"
step.add_field(
id: "login_required",
@ -109,7 +107,6 @@ class Wizard
@wizard.append_step("ready") do |step|
# no form on this page, just info.
step.banner = "finished-illustration"
step.emoji = "rocket"
end

View File

@ -3,7 +3,7 @@
class Wizard
class Step
attr_reader :id, :updater
attr_accessor :index, :fields, :next, :previous, :banner, :disabled, :description_vars, :emoji
attr_accessor :index, :fields, :next, :previous, :disabled, :description_vars, :emoji
def initialize(id)
@id = id