Skip to content

Redesign: visual placeholder cards#11038

Merged
ferblape merged 8 commits intofeature/redesignfrom
feature/redesign-visual-placeholder-cards
Jun 19, 2023
Merged

Redesign: visual placeholder cards#11038
ferblape merged 8 commits intofeature/redesignfrom
feature/redesign-visual-placeholder-cards

Conversation

@jorgeatgu
Copy link
Copy Markdown
Contributor

@jorgeatgu jorgeatgu commented Jun 14, 2023

🎩 What? Why?

If the element(initiative, processes etc...) doesn't have an image, we use the placeholder in the card.

Includes the placeholder as an icon because if we use the image_pack_tag, Rails include the svg as <image>, so we don't apply the currentColor to fill the <rect> and <path> with the primary color defined by Decidim.

📌 Related Issues

Link your PR to an issue

Testing

home
processes
blogs
assemblies

♥️ Thank you!

@jorgeatgu jorgeatgu added the project: redesign Barcelona City Council contract label Jun 14, 2023
@jorgeatgu jorgeatgu requested review from ferblape and furilo June 14, 2023 14:51
@furilo furilo requested a review from a team June 15, 2023 08:22
Copy link
Copy Markdown
Member

@carolromero carolromero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jorgeatgu! Can you please take a look at the blog placeholders?
The logo position is not consistent
imatge

@jorgeatgu
Copy link
Copy Markdown
Contributor Author

Thanks @jorgeatgu! Can you please take a look at the blog placeholders? The logo position is not consistent imatge

Done @carolromero
placeholder-blogs

@jorgeatgu jorgeatgu requested a review from carolromero June 15, 2023 11:56
Copy link
Copy Markdown
Member

@carolromero carolromero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you Jorge!

@ferblape ferblape requested a review from a team June 16, 2023 08:01
Copy link
Copy Markdown
Contributor

@alecslupu alecslupu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Processes:

image

Blogs
image

Copy link
Copy Markdown
Contributor

@alecslupu alecslupu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The search result page does not implement the image placeholder

image

I am not sure if it should, or not. My personal opinion is that it should.
The code seems to be OK. Your call on changing or merging this as it is.

@furilo
Copy link
Copy Markdown
Contributor

furilo commented Jun 19, 2023

Its in #11041 , so we can merge this.

@ferblape ferblape merged commit d30e5ca into feature/redesign Jun 19, 2023
@ferblape ferblape deleted the feature/redesign-visual-placeholder-cards branch June 19, 2023 08:24
entantoencuanto added a commit that referenced this pull request Jun 20, 2023
* feature/redesign:
  Redesign: change the filters style (#11049)
  Redesign: secondary actions (#11067)
  Redesign: assembly members page (#10992)
  Redesign: update default static map size to 300px (#10953)
  Redesign: visual placeholder cards (#11038)
  Redesign: fix emoji popup position (#10957)
  Redesign: enable REDESIGN_ENABLED on ParticipatoryProcesses (#10983)
  Redesign: opinion buttons (#10998)
  Display a disabled message button in public profile if user blocks them instead of hidding it (#10984)
  Redesign: confirm modal Foundation-free (#10978)
entantoencuanto added a commit that referenced this pull request Jun 23, 2023
* feature/redesign: (26 commits)
  Use the component name in the sidebar title (#11088)
  Redesign: layout center (#11068)
  Redesign: display only public users followings in following profile tab (#11051)
  Redesign: fix cards (#11072)
  Redesign: remove gcalendar warning (#10999)
  lock sass-embedded (#11077)
  Redesign: scopes picker (#11039)
  Redesign: pending notifications (#10926)
  Redesign: change the filters style (#11049)
  Redesign: secondary actions (#11067)
  Redesign: assembly members page (#10992)
  Redesign: update default static map size to 300px (#10953)
  Redesign: visual placeholder cards (#11038)
  Redesign: fix emoji popup position (#10957)
  Redesign: enable REDESIGN_ENABLED on ParticipatoryProcesses (#10983)
  Redesign: opinion buttons (#10998)
  Display a disabled message button in public profile if user blocks them instead of hidding it (#10984)
  Redesign: confirm modal Foundation-free (#10978)
  Redesign: initiatives (#10646)
  Redesign: surveys (#10922)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

project: redesign Barcelona City Council contract

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants