这是indexloc提供的服务,不要输入任何密码
Skip to content

Chore: Move View Component style variants from classy_yaml to view_component-contrib #5059

@KevinMulhern

Description

@KevinMulhern

Checks

  • I have thoroughly read and understand The Odin Project Contributing Guide
  • The title of this issue follows the Chore: brief description of chore format, e.g. Chore: Lesson complete button does not update on click
  • Would you like to work on this issue?

Chore description

Why?:

  • classy_yaml doesn't seem to be compatiable with the latest versions of ViewComponents
  • view_component-contrib is better supported and gives us more tools.

Acceptance criteria

The classy_yaml styles are in _component.yml files within each component folder. For example, the flash style variants are in this file.

We want to use view_component-contrib style variants for these styles instead.

Components that will need moved over:

  • Alerts::FlashComponent
  • Course::BadgeComponent
  • ProgressCircle::Component
  • Theme::SwitcherComponent
  • VerticalNavigation::ItemComponent

Additional Comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: ChoreInvolves changes with no user-facing value, to the build process/internal tooling, refactors, etc.

    Type

    No type

    Projects

    Status

    📋 Backlog / Ideas

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions