Decidim: Can't implement "follow" from resource card with the current layout

Created on 4 May 2018  路  4Comments  路  Source: decidim/decidim

This is a Bug Report

:tophat: Description

The new design component cards add a way to follow the resource from the M-sized card, which is used in the resource list (eg, proposals list). This couldn't be done from the old cards.

This forced us to generate a new layout to add a way for users to follow the resource, but the HTML used for this uses a link, while Rails forces us to use a <button> element inside a form.

This is the closest implementation to the original design I could get using the CSS classes we already have:

AFAIK, we don't have any class that can be applied to buttons that remove the border.

I found the issue while working on #3338 implementing the proposal cards.

I see two options:

  1. We drop the feature to follow the resource from the card list
  2. We redo the layout to use a button instead of a link, and see if we can find some CSS that gets the job done.

:pushpin: Related issues

  • #3338

:clipboard: Additional Data

  • Decidim deployment where you found the issue: master
design

Most helpful comment

Solved on #3338!

All 4 comments

I assume @decidim/product will want to keep the feature.

@Crashillo can you help me here? 馃槥

I assume @decidim/product will want to keep the feature.

@mrcasals yes, let's find a solution to keep it. The follow feature is especially useful in the card list since it allows you to quickly select items you want to receive feedback from.

@carolromero perfect, thanks! I'm already talking to @Crashillo to see if we can find a solution 馃槃

Solved on #3338!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mrcasals picture mrcasals  路  3Comments

will94290 picture will94290  路  3Comments

josanFFiG picture josanFFiG  路  3Comments

andreslucena picture andreslucena  路  4Comments

carolromero picture carolromero  路  4Comments