mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: Wizard Step Enhancements (#19487)
* UX: Wizard Step Enhancements - Remove illustrations - Add Emoji graphic to top of steps - Add description below step title - Move point of contact to last step * Move step count to header, plus some button navigation tweaks * add remaining emoji to step headers * fix button logic on steps * Update Point of Contact * remove automated messages field * adjust styling for counter, title, and emoji * Update wording for logos * Fix tests * fix prettier * fix specs * set same with for steps except for styling screen * use sentence case; remove duplicate copy under your organization fields * fix missing buttons on small screens * add spacing to buttons; adjust font weight to labels * adjust styling for community logo step; use sentence case for button * update copy for point of contact text helper * use sentence case for field labels * fix ui tests * use btn-back class to fix ui tests * reduce bottom margin for toggle fields * clean up Co-authored-by: Ella <ella.estigoy@gmail.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
class WizardStepSerializer < ApplicationSerializer
|
||||
|
||||
attributes :id, :next, :previous, :description, :title, :index, :banner
|
||||
attributes :id, :next, :previous, :description, :title, :index, :banner, :emoji
|
||||
has_many :fields, serializer: WizardFieldSerializer, embed: :objects
|
||||
|
||||
def id
|
||||
@@ -65,4 +65,8 @@ class WizardStepSerializer < ApplicationSerializer
|
||||
object.banner.present?
|
||||
end
|
||||
|
||||
def emoji
|
||||
object.emoji
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user