Skip to content

Link author meetings when creating a proposal#5674

Merged
tramuntanal merged 5 commits intomasterfrom
proposals/link-author-meeting
Feb 9, 2020
Merged

Link author meetings when creating a proposal#5674
tramuntanal merged 5 commits intomasterfrom
proposals/link-author-meeting

Conversation

@mrcasals
Copy link
Copy Markdown
Contributor

@mrcasals mrcasals commented Jan 30, 2020

🎩 What? Why?

When creating a proposal from the admin section, admins can mark it as coming from a meeting. When this is checked and a meeting is selected, the proposal is created with that meeting as author, but this doesn't use the "linked resources" feature. This link can only be created from the meeting page, when closing it. This forces admins to duplicate their work.

This PR improves the proposal creation process so that when a meeting is set as an author of a proposal, the proposal and the meeting are automatically linked.

Screenshots for this PR might not be very relevant, since nothing has changed in the layout. This PR simplifies a two-step process so that it can be done in a single step.

📌 Related Issues

📋 Subtasks

  • Add CHANGELOG entry

📷 Screenshots (optional)

This is how a proposal looks when it has a linked meeting:
image

This is a meeting with two proposals automatically linked, setting this meeting as author:
image

@mrcasals mrcasals marked this pull request as ready for review January 30, 2020 08:34
@mrcasals mrcasals force-pushed the proposals/link-author-meeting branch from d039016 to 273bb90 Compare January 31, 2020 10:22
@mrcasals
Copy link
Copy Markdown
Contributor Author

I had to rebase to get the changes from #5673, but @decidim/core this has been approved by Product, can you review it please? 😄

@mrcasals mrcasals requested review from agustibr and leio10 February 4, 2020 14:52
@tramuntanal tramuntanal added the project: PAM2020 Barcelona City Council contract label Feb 9, 2020
@tramuntanal tramuntanal merged commit e337261 into master Feb 9, 2020
@tramuntanal tramuntanal deleted the proposals/link-author-meeting branch February 9, 2020 20:49
@tramuntanal tramuntanal mentioned this pull request Feb 9, 2020
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

project: PAM2020 Barcelona City Council contract

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make visible the link between proposals and meetings when the author is a meeting

3 participants