Skip to content
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

Deprecate Recline views #7078

Merged
merged 9 commits into from
Sep 26, 2022
Merged

Deprecate Recline views #7078

merged 9 commits into from
Sep 26, 2022

Conversation

amercader
Copy link
Member

It has served CKAN very well but in 2.10 is time to start saying goodbye to the venerable Recline-based views. Recline hasn't been maintained in many years, and it doesn't even have its own repository now.

The DataTables view is a much more solid replacement for tabular data, and for the functionality that will be lost (generate (crappy) graphs or maps from tabular data) there are more modern alternatives maintained elsewhere (eg from Keitaro or Datopian). The other thing that Recline offered that has no immediate replacement is the ability to preview tabular data not present in the DataStore via the DataProxy service but this has always proven very unreliable and the source of confusion for users, so again I think it's worth deprecating it.

This PR does a bit of cleanup and it mainly includes:

  • Remove recline views from config defaults, tests and examples in docs
  • Adds a warning deprecation notice when loading a recline plugin
  • Adds datatables_view as a default view to be created (if loaded). I didn't add it as default to ckan.plugins as without the datastore one (and xloader) it won't work, but happy to discuss
  • Refreshes the data viewer documentation, marking the recline views as deprecated and mentioning community alternatives like the ones mentioned before.

It doesn't remove the actual plugins, which we can do later on.

@amercader amercader added this to the CKAN 2.10 milestone Sep 13, 2022
@smotornyuk smotornyuk merged commit 68b6e9d into master Sep 26, 2022
@smotornyuk smotornyuk deleted the deprecate-recline-views branch September 26, 2022 23:17
amercader added a commit that referenced this pull request Nov 17, 2023
Following up on the deprecation work done in CKAN 2.10 (#7078)
this finally removes the venerable Recline-based view plugins from
core.

Users should use the DataTables view plugin or other more advanced
extensions:

https://docs.ckan.org/en/2.10/maintaining/data-viewer.html#other-view-plugins
@ThrawnCA
Copy link
Contributor

The Datopian plugin is interesting, but has no tagged release versions. Are we meant to just run from the master branch? That's not acceptable for a production system.

The Keitaro plugin is also interesting, but doesn't seem to offer maps. So it isn't really a replacement for Recline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants