-
-
Notifications
You must be signed in to change notification settings - Fork 194
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove jquery.highlightsearchterms.js? #1811
Comments
if we keep the feature, it should be turned into a pattern, IMO best living in mockup. |
which is actually super easy to do. |
@rodfersou do you want to take this challenge? |
i played a bit with this and it seems today it is pointless:
only when coming from detail search highlighting works. I propose to remove the feature as is (it is just broken). I started a mockup branch using mark.js (see reference above) - it's just a stub. It would need some love parsing our own query-string. Also, it would need some integration with live-search. If there are any takers... |
This bug is a major issue since it disallows the usage of the addPloneSite() which is necessary for creating Plone Site programmatically. |
May you explain why this issue is related to creating a Plone Site? |
Ah, its #2317 |
Why? Because the error is reproducible with the following code used for created a Plone 5.1.0 site as part of a small provisioning API. The error is reproducible even when you don't pass any extension profiles - naked Plone only.
|
…- plone_ecmascript skin layer. See https://github.com/plone/Products.CMFPlone/pull/1963/commits and plone/Products.CMFPlone#1811 plone/Products.CMFPlone#1801 removing records (wip) remove jquery-highlightsearchterms from the plone-legacy bundle c
fix #1811: Remove last legacy Javascript highlight-searchterms.js
Branch: refs/heads/master Date: 2018-09-06T18:21:00+02:00 Author: Sune Broendum Woeller (sunew) <sune@woeller.dk> Commit: plone/plone.app.upgrade@6bab181 remove the jquery-highlightsearchterms resource, and the - now empty - plone_ecmascript skin layer. See https://github.com/plone/Products.CMFPlone/pull/1963/commits and plone/Products.CMFPlone#1811 plone/Products.CMFPlone#1801 removing records (wip) remove jquery-highlightsearchterms from the plone-legacy bundle c Files changed: A plone/app/upgrade/v52/profiles/to_alpha1/registry.xml M CHANGES.rst M plone/app/upgrade/v52/alphas.py M plone/app/upgrade/v52/profiles/to_alpha1/skins.xml Repository: plone.app.upgrade Branch: refs/heads/master Date: 2018-09-06T20:23:08+02:00 Author: Sune Broendum Woeller (sunew) <sune@woeller.dk> Commit: plone/plone.app.upgrade@c979968 Also remove the jquery-highlightsearchterms resource, and the plone_ecmascript skin layer for plone 5.1.4 Files changed: A plone/app/upgrade/v51/profiles/to_514/skins.xml M CHANGES.rst M plone/app/upgrade/v51/configure.zcml M plone/app/upgrade/v51/final.py M plone/app/upgrade/v51/profiles/to_514/registry.xml Repository: plone.app.upgrade Branch: refs/heads/master Date: 2018-09-08T12:26:59+02:00 Author: Sune Broendum Woeller (sunew) <sune@woeller.dk> Commit: plone/plone.app.upgrade@0c1c1ee Update the compilation date of the plone-legacy bundle, to force recompilation Files changed: M plone/app/upgrade/v51/profiles/to_514/registry.xml M plone/app/upgrade/v52/profiles/to_alpha1/registry.xml Repository: plone.app.upgrade Branch: refs/heads/master Date: 2018-09-09T08:41:13+02:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/plone.app.upgrade@8d8f25d Merge pull request #170 from plone/remove-highlightsearchterms Remove jquery-highlightsearchterms and plone_ecmascript layer Files changed: A plone/app/upgrade/v51/profiles/to_514/skins.xml A plone/app/upgrade/v52/profiles/to_alpha1/registry.xml M CHANGES.rst M plone/app/upgrade/v51/configure.zcml M plone/app/upgrade/v51/final.py M plone/app/upgrade/v51/profiles/to_514/registry.xml M plone/app/upgrade/v52/alphas.py M plone/app/upgrade/v52/profiles/to_alpha1/skins.xml
Branch: refs/heads/master Date: 2018-09-06T18:21:00+02:00 Author: Sune Broendum Woeller (sunew) <sune@woeller.dk> Commit: plone/plone.app.upgrade@6bab181 remove the jquery-highlightsearchterms resource, and the - now empty - plone_ecmascript skin layer. See https://github.com/plone/Products.CMFPlone/pull/1963/commits and plone/Products.CMFPlone#1811 plone/Products.CMFPlone#1801 removing records (wip) remove jquery-highlightsearchterms from the plone-legacy bundle c Files changed: A plone/app/upgrade/v52/profiles/to_alpha1/registry.xml M CHANGES.rst M plone/app/upgrade/v52/alphas.py M plone/app/upgrade/v52/profiles/to_alpha1/skins.xml Repository: plone.app.upgrade Branch: refs/heads/master Date: 2018-09-06T20:23:08+02:00 Author: Sune Broendum Woeller (sunew) <sune@woeller.dk> Commit: plone/plone.app.upgrade@c979968 Also remove the jquery-highlightsearchterms resource, and the plone_ecmascript skin layer for plone 5.1.4 Files changed: A plone/app/upgrade/v51/profiles/to_514/skins.xml M CHANGES.rst M plone/app/upgrade/v51/configure.zcml M plone/app/upgrade/v51/final.py M plone/app/upgrade/v51/profiles/to_514/registry.xml Repository: plone.app.upgrade Branch: refs/heads/master Date: 2018-09-08T12:26:59+02:00 Author: Sune Broendum Woeller (sunew) <sune@woeller.dk> Commit: plone/plone.app.upgrade@0c1c1ee Update the compilation date of the plone-legacy bundle, to force recompilation Files changed: M plone/app/upgrade/v51/profiles/to_514/registry.xml M plone/app/upgrade/v52/profiles/to_alpha1/registry.xml Repository: plone.app.upgrade Branch: refs/heads/master Date: 2018-09-09T08:41:13+02:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/plone.app.upgrade@8d8f25d Merge pull request #170 from plone/remove-highlightsearchterms Remove jquery-highlightsearchterms and plone_ecmascript layer Files changed: A plone/app/upgrade/v51/profiles/to_514/skins.xml A plone/app/upgrade/v52/profiles/to_alpha1/registry.xml M CHANGES.rst M plone/app/upgrade/v51/configure.zcml M plone/app/upgrade/v51/final.py M plone/app/upgrade/v51/profiles/to_514/registry.xml M plone/app/upgrade/v52/alphas.py M plone/app/upgrade/v52/profiles/to_alpha1/skins.xml
Branch: refs/heads/master Date: 2018-09-06T18:21:00+02:00 Author: Sune Broendum Woeller (sunew) <sune@woeller.dk> Commit: plone/plone.app.upgrade@6bab181 remove the jquery-highlightsearchterms resource, and the - now empty - plone_ecmascript skin layer. See https://github.com/plone/Products.CMFPlone/pull/1963/commits and plone/Products.CMFPlone#1811 plone/Products.CMFPlone#1801 removing records (wip) remove jquery-highlightsearchterms from the plone-legacy bundle c Files changed: A plone/app/upgrade/v52/profiles/to_alpha1/registry.xml M CHANGES.rst M plone/app/upgrade/v52/alphas.py M plone/app/upgrade/v52/profiles/to_alpha1/skins.xml Repository: plone.app.upgrade Branch: refs/heads/master Date: 2018-09-06T20:23:08+02:00 Author: Sune Broendum Woeller (sunew) <sune@woeller.dk> Commit: plone/plone.app.upgrade@c979968 Also remove the jquery-highlightsearchterms resource, and the plone_ecmascript skin layer for plone 5.1.4 Files changed: A plone/app/upgrade/v51/profiles/to_514/skins.xml M CHANGES.rst M plone/app/upgrade/v51/configure.zcml M plone/app/upgrade/v51/final.py M plone/app/upgrade/v51/profiles/to_514/registry.xml Repository: plone.app.upgrade Branch: refs/heads/master Date: 2018-09-08T12:26:59+02:00 Author: Sune Broendum Woeller (sunew) <sune@woeller.dk> Commit: plone/plone.app.upgrade@0c1c1ee Update the compilation date of the plone-legacy bundle, to force recompilation Files changed: M plone/app/upgrade/v51/profiles/to_514/registry.xml M plone/app/upgrade/v52/profiles/to_alpha1/registry.xml Repository: plone.app.upgrade Branch: refs/heads/master Date: 2018-09-09T08:41:13+02:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/plone.app.upgrade@8d8f25d Merge pull request #170 from plone/remove-highlightsearchterms Remove jquery-highlightsearchterms and plone_ecmascript layer Files changed: A plone/app/upgrade/v51/profiles/to_514/skins.xml A plone/app/upgrade/v52/profiles/to_alpha1/registry.xml M CHANGES.rst M plone/app/upgrade/v51/configure.zcml M plone/app/upgrade/v51/final.py M plone/app/upgrade/v51/profiles/to_514/registry.xml M plone/app/upgrade/v52/alphas.py M plone/app/upgrade/v52/profiles/to_alpha1/skins.xml
It's the last file on plone_ecmascripts folder: https://github.com/plone/Products.CMFPlone/blob/master/Products/CMFPlone/skins/plone_ecmascript/jquery.highlightsearchterms.js
Turn it into a pattern? Do we actually even want that? Opinions?
The text was updated successfully, but these errors were encountered: