Skip to content

Feat: add dataspace and iframe#960

Merged
BarbaraOliveira13 merged 16 commits into
developfrom
feat/dataspace_and_iframe
Apr 3, 2026
Merged

Feat: add dataspace and iframe#960
BarbaraOliveira13 merged 16 commits into
developfrom
feat/dataspace_and_iframe

Conversation

@Stef-Rousset
Copy link
Copy Markdown
Contributor

@Stef-Rousset Stef-Rousset commented Mar 18, 2026

🎩 Description

This PR is linked to Multipod requirements.
It adds 2 functionalities:

  • decidim-module-dataspace
  • adds an iframe on the proposal show page

Testing

  • For dataspace on local env, run
bundle install
bundle exec rake railties:install:migrations
bundle exec rake db:migrate
bundle exec rake comments:add_reference
  1. Go to /system and enable dataspace
  2. As an admin, go to the proposals component configuration page, check "Add integration" and provide a url like "http://localhost:3000"
  3. As a user, go in the FO to the proposals index page, and see that proposals and external proposals are displayed (screenshot one)
  4. Click on an external proposal card with comments, and see that the external proposal show page is displayed with comments.
  • For iframe:
  1. As an admin, go to the proposals component configuration page, check "Enable iframe" and provide a url like "https://api.multipod.weblyzard.com/embed/27kVzAqaTFRLZU9v6xBvtHyZcPeURpsg/lite/source=news%2Cnon-profit/topic=democracy/pills=elections%2Cpolicymaking/date=p-1m%2Cp0d" (screenshot two)
  2. Go to /system, and in the advance settings add in frame src "api.multipod.weblyzard.com"
  3. As a user, go in the FO to a proposal show page and see that the iframe is displayed (screenshot three)

Tasks

  • Add specs
  • In case of new dependencies or version bump, update related documentation

🛠️ If your PR introduces or updates an Override

  • Add the label "override:pending" in your PR
  • Add the corresponding label based on the review deadline category (when this override must be checked):
    • WHEN BACKPORT 0.29 ·
    • BEFORE MIGRATION 0.31 ·
    • WAITING FOR PR UPSTREAM ·
    • OTHER

📷 Screenshots

Please add screenshots of the changes you're proposing if related to the UI
ONE
Capture d’écran 2026-03-18 à 15 07 14

TWO
Capture d’écran 2026-03-18 à 15 08 18

THREE
Capture d’écran 2026-03-18 à 15 04 40

@Stef-Rousset Stef-Rousset added Override:pending Override en attente de review / nettoyage Before migration 0.31 Date / situation prévue pour re-valider la pertinence de l'override ou besoin de supprimer labels Mar 18, 2026
@Stef-Rousset Stef-Rousset marked this pull request as ready for review March 18, 2026 15:26
AyakorK
AyakorK previously approved these changes Mar 18, 2026
Copy link
Copy Markdown
Collaborator

@BarbaraOliveira13 BarbaraOliveira13 left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

Copy link
Copy Markdown
Collaborator

@BarbaraOliveira13 BarbaraOliveira13 left a comment

Choose a reason for hiding this comment

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

Still good 🎉

@BarbaraOliveira13 BarbaraOliveira13 merged commit 10e7f90 into develop Apr 3, 2026
9 checks passed
@BarbaraOliveira13 BarbaraOliveira13 deleted the feat/dataspace_and_iframe branch April 3, 2026 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Before migration 0.31 Date / situation prévue pour re-valider la pertinence de l'override ou besoin de supprimer Override:pending Override en attente de review / nettoyage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants