Problem/Motivation

Currently the teaser component is effectively broken. It pulls in a ton of very specific settings and options as well as uses a filter for classes that doesn't exist in Drupal. Proposing a simpler version that can be more easily built on top of.

CommentFileSizeAuthor
#5 3427970-1.patch86.52 KBrishabjasrotia

Issue fork prototype-3427970

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jnettik created an issue. See original summary.

jnettik’s picture

Status: Active » Needs review

Submitted MR with notes for improvements in the comments.

jnettik’s picture

Also potentially related to the issue in #3401403: Component: Teaser Card

rishabjasrotia’s picture

StatusFileSize
new86.52 KB

Tested patch working fine.

rishabjasrotia’s picture

Status: Needs review » Reviewed & tested by the community
pixelwhip’s picture

Status: Reviewed & tested by the community » Needs work

Thanks for getting this started. It's definitely a step in the right direction. I've added comments to the pull request.

rishabjasrotia’s picture

Hello @jnettik @pixelwhip
I have fixed some issue mentioned in the PR.

jldust changed the visibility of the branch 3427970-simplify-teaser-component to hidden.

jldust changed the visibility of the branch 3427970-simplify-teaser-component to active.

jldust’s picture

Assigned: jnettik » pixelwhip
Status: Needs work » Needs review

Please review these changes.

  • pixelwhip committed 87da4afc on 5.x
    Issue #3427970 by rishabjasrotia, pixelwhip, jnettik, jldust: Simplify...
pixelwhip’s picture

Status: Needs review » Fixed

Thanks everyone for your help on this. I've made some additional modifications and merged it into 5.x. There are some related changes I'd like to consider regarding the links and spacing but will handle that elsewhere. For now, this is a big improvement over the previous teaser and provides a more sane default.

jldust’s picture

Status: Fixed » Closed (fixed)