Skip to content

Add Metadata Content Block in Process Groups#6699

Merged
tramuntanal merged 29 commits intodevelopfrom
feature/process_groups_improvements-metadata_title_content_block
Dec 3, 2020
Merged

Add Metadata Content Block in Process Groups#6699
tramuntanal merged 29 commits intodevelopfrom
feature/process_groups_improvements-metadata_title_content_block

Conversation

@entantoencuanto
Copy link
Copy Markdown
Contributor

@entantoencuanto entantoencuanto commented Oct 16, 2020

🎩 What? Why?

This PR:

  • Adds some metadata attributes to participatory process groups and updates the admin panel to manage them as described in Add Metadata in Process Groups #6474
  • Defines a new content block containing title description and part of metadata if present (Add title, description and Hashtag in Process Groups #6472)
  • Renames the column name with title in participatory process groups table and changes accordingly all translations, references in code and serialized data used by PaperTrail versions (included in the migration)
  • Adds some tests for the title cell
  • Removes not longer used view hooks for processess groups

📌 Related Issues

Link your PR to an issue

Testing

Describe the best way to test or validate your PR.

📋 Checklist

🚨 Please review the guidelines for contributing to this repository.

  • CONSIDER adding a unit test if your PR resolves an issue.
  • ✔️ DO check open PR's to avoid duplicates.
  • ✔️ DO keep pull requests small so they can be easily reviewed.
  • ✔️ DO build locally before pushing.
  • ✔️ DO make sure tests pass.
  • ✔️ DO make sure any new changes are documented in docs/.
  • ✔️ DO add and modify seeds if necessary.
  • ✔️ DO add CHANGELOG upgrade notes if required.
  • ✔️ DO add to GraphQL API if there are new public fields.
  • ✔️ DO add link to MetaDecidim if it's a new feature.
  • AVOID breaking the continuous integration build.
  • AVOID making significant changes to the overall architecture.

📷 Screenshots

Please add screenshots of the changes you're proposing
Description

♥️ Thank you!

@entantoencuanto entantoencuanto force-pushed the feature/process_groups_improvements-metadata_title_content_block branch 5 times, most recently from 7008b20 to 5aba00f Compare October 23, 2020 21:01
@entantoencuanto entantoencuanto force-pushed the feature/process_groups_improvements-metadata_title_content_block branch from 5aba00f to de14187 Compare November 4, 2020 12:27
border-right: $card-border;
border-right: 0;
border-bottom: $card-border;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Don't leave trailing whitespace

border-right: $card-border;
border-right: 0;
border-bottom: $card-border;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Unexpected whitespace at end of line (no-eol-whitespace)

@entantoencuanto entantoencuanto force-pushed the feature/process_groups_improvements-metadata_title_content_block branch from 0a3f8f6 to 1a79a3f Compare November 10, 2020 16:04
@entantoencuanto entantoencuanto marked this pull request as ready for review November 16, 2020 11:21
@andreslucena andreslucena changed the title Feature/process groups improvements metadata title content block Add Metadata Content Block in Process Groups Nov 18, 2020
@entantoencuanto
Copy link
Copy Markdown
Contributor Author

I'm going to resolve conflicts and notify you when ready

@entantoencuanto entantoencuanto force-pushed the feature/process_groups_improvements-metadata_title_content_block branch from be6750d to 5908fb6 Compare November 24, 2020 12:40
@entantoencuanto entantoencuanto force-pushed the feature/process_groups_improvements-metadata_title_content_block branch from 5908fb6 to 9ced8c3 Compare November 24, 2020 14:14
@entantoencuanto
Copy link
Copy Markdown
Contributor Author

entantoencuanto commented Nov 24, 2020

Hi, @tramuntanal, the PR is ready for review, I've rebuilt the PR rebased on develop removing changes in :es and :ca languages

@tramuntanal tramuntanal self-assigned this Nov 25, 2020
tramuntanal
tramuntanal previously approved these changes Nov 25, 2020
Copy link
Copy Markdown
Contributor

@tramuntanal tramuntanal left a comment

Choose a reason for hiding this comment

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

LGTM!

@tramuntanal
Copy link
Copy Markdown
Contributor

Hi @decidim/product I see this PR is related to #6472, which has been approved, and #6474, which is pending approval.
We're waiting to merge until both issues are in Technical Review.

@tramuntanal
Copy link
Copy Markdown
Contributor

@decidim/product can you confirm this PR can be reviewed and merged?

@entantoencuanto can you solve conflicts meanwhile?

@entantoencuanto
Copy link
Copy Markdown
Contributor Author

Well, actually the changes introduced by this PR are included in the recently merged PR #6823. The branch of each PR is built on top of the previous one. I'm sorry if it's an inconvenient, some branches have dependencies on the others.

@carolromero
Copy link
Copy Markdown
Member

@tramuntanal this is now ready for review and merge. Thank you

@tramuntanal
Copy link
Copy Markdown
Contributor

Thanks @carolromero for confirming everything is ok

@tramuntanal tramuntanal merged commit 7f2571e into develop Dec 3, 2020
@tramuntanal tramuntanal deleted the feature/process_groups_improvements-metadata_title_content_block branch December 3, 2020 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Metadata in Process Groups Add title, description and Hashtag in Process Groups

5 participants