Skip to content

Improve proposal preview: Use proposal card when previewing a proposal draft#6064

Merged
jesusdb merged 8 commits intodecidim:developfrom
verarojman:feature/proposal-preview
May 25, 2020
Merged

Improve proposal preview: Use proposal card when previewing a proposal draft#6064
jesusdb merged 8 commits intodecidim:developfrom
verarojman:feature/proposal-preview

Conversation

@verarojman
Copy link
Copy Markdown
Contributor

@verarojman verarojman commented May 4, 2020

🎩 What? Why?

This PR makes proposal draft previews use the card layout. Also, when images are enabled, the preview shows the final presentation of the image in the card.

📌 Related Issues

📋 Subtasks

  • Add CHANGELOG entry
  • Add tests

📷 Screenshots

Proposal preview with main image

Proposal with main image

Proposal preview from individual author

Proposal from individual author

Preview of co-authored proposal

Co-authored proposal

@verarojman verarojman linked an issue May 4, 2020 that may be closed by this pull request
1 task
@jesusdb
Copy link
Copy Markdown
Contributor

jesusdb commented May 15, 2020

Hi @verarojman, could you check the "Lint / Lint code" failing test? And the conflicting file, please :)

@jesusdb
Copy link
Copy Markdown
Contributor

jesusdb commented May 25, 2020

Hi @verarojman, has this been approved by @decidim/product? I see the comment from approval is by @carolromero in #5923?

Could you please check the conflicting file?

Other than that, it looks good to me!

@jesusdb jesusdb self-requested a review May 25, 2020 11:09
@verarojman
Copy link
Copy Markdown
Contributor Author

I think it is approved by @decidim/product since they are the ones that suggested the task. I updated the changelog, should be good to go now :)

@carolromero
Copy link
Copy Markdown
Member

@jesusdb yes this has been reviewed and it's working ok!

Copy link
Copy Markdown
Contributor

@jesusdb jesusdb left a comment

Choose a reason for hiding this comment

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

Excellent!

@jesusdb jesusdb merged commit ee0d6eb into decidim:develop May 25, 2020
ace pushed a commit to aspgems/decidim that referenced this pull request May 27, 2020
* develop:
  Include year in meetings card (decidim#6102)
  Add attachment enabled option to initiative types and initiatives (decidim#6036)
  Fix a flaky test in group profile conversations (decidim#6123)
  Add attachments to Initiatives (decidim#5844)
  Add initiatives export (decidim#6070)
  Improvements to conversations with more than one participant (decidim#6094)
  Elections module and election administration (decidim#6065)
  Separate forms in steps (decidim#6108)
  Add sorting by publishing date to initiatives (decidim#6016)
  Improve proposal preview: Use proposal card when previewing a proposal draft (decidim#6064)
  Newsletter templates fixes (decidim#6096)

# Conflicts:
#	decidim-initiatives/app/models/decidim/initiative.rb
#	decidim-initiatives/spec/system/admin/initiative_types_controller_spec.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

To see the preview of the proposal with image

3 participants