-
-
Notifications
You must be signed in to change notification settings - Fork 393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix shortlink references #12004
Fix shortlink references #12004
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This pull request does not contain a valid label. Please add one of the following labels: ['type: feature', 'type: change', 'type: fix', 'type: removal', 'target: developer-experience', 'type: internal']
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and works fine! Just a small change to avoid the call to the EngineResolver
and make the request some ms faster.
I would add a task to fix the broken short links too. I fixed the ones on Decidim Barcelona with a query checking the short link route name is "calendar", the target type is "Decidim::Component" and changes the mounted engine depending on which type of space is containing that component.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! For me, it's ready to be merged and backported to 0.27
* Fix shortlink references * Add rake task to fix data * Add release notes
* Fix shortlink references (#12004) * Fix shortlink references * Add rake task to fix data * Add release notes * Fix tests --------- Co-authored-by: Alexandru Emil Lupu <contact@alecslupu.ro>
No backporting to v0.26 as the ShortLink helper was introduced on v0.27 |
馃帺 What? Why?
This PR tries to fix the shortlink issues for the components.
馃搶 Related Issues
Link your PR to an issue
Testing