Skip to content

Fix/0.12 NEW content processors#422

Merged
moustachu merged 4 commits into0.12-stablefrom
fix/0.12-content-processors
Jan 18, 2019
Merged

Fix/0.12 NEW content processors#422
moustachu merged 4 commits into0.12-stablefrom
fix/0.12-content-processors

Conversation

@moustachu
Copy link
Copy Markdown
Member

🎩 What? Why?

Detected with #421 : Component object path (like Results or Projects) are interpreted as Proposals when adding a link in a comment.

We might leave this one opened to push it to 0.16-stable

This PR intend to :

  • check the embed link for actual reference to /proposals/ in their path
  • add the same mecanism for Accountability Results
  • add the same mecanism for Budgets Projects
  • the new content processors should check for their "model" in the parsed urls (like the fix for /proposals/)

📌 Related Issues

📋 Subtasks

  • Add CHANGELOG entry
  • Add documentation regarding the feature
  • TODO Add specific tests

- only replace link when url contains "proposals" path
- prevent switching between components with same item id
- add new `ContentProccessor` objects (`Parser` & `Renderer`)
- add new `ResultPresenter`
- add new `ContentProccessor` objects (`Parser` & `Renderer`)
- add new `ProjectPresenter`
@moustachu moustachu added this to the Late fixes 0.12 milestone Jan 17, 2019
@moustachu moustachu self-assigned this Jan 17, 2019
@ghost ghost added the needs-review label Jan 17, 2019
@moustachu moustachu merged commit 9337964 into 0.12-stable Jan 18, 2019
@ghost ghost removed the needs-review label Jan 18, 2019
moustachu added a commit to OpenSourcePolitics/osp-app that referenced this pull request Jan 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant