Review main Merged

78547[TASK] Streamline checkbox and radio rendering

Benjamin Kott CR +2 V +2 Expert +619 −847 updated 04/11/23, 18:10

Commit message

We still carry around a lot of legacy checkbox
and radio styling, this patch reduces the
the complexity of existing overrides and drops
legacy classes like .checkbox and .radio and
their relatives.

We are adapting to the modern checkbox and
radio rendering at all places.

The .form-switch now drops all overrides and
takes full advantage of the bootstrap included
component.

The modifier .form-check-type-labeled-toggle
has been rebuilt to be accessible through
keyboard navigation and we are dropping
the custom green and red colorings for a
more unified primary color activation color.

The modifier .form-check-type-icon-toggle
has also been adapted, it allows providing
custom icons for the checked and unchecked states.
It is now also keyboard accessible and adapts
the primary activation color.

The modifier .form-check-type-toggle was adjusted
to be scoped. It is used in the list renderings and
the constant editor and has no label attached.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 70

Show 50 more files