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

front end refresh #510

Open
gubuntu opened this issue May 5, 2023 · 0 comments
Open

front end refresh #510

gubuntu opened this issue May 5, 2023 · 0 comments
Labels
type:enhancement New feature or request

Comments

@gubuntu
Copy link
Contributor

gubuntu commented May 5, 2023

Gavin: The testing site is quite clunky and slow and does page reloads in situations where it should be doing more ajaxy behaviour.

Mohab: the most obvious two places need ajax calls are the facets (filters like organizations, SASDI themes ...) and spatial search, all of this is a result of using ckan javascript modules, take these ckan-based sites for similar behaviour (the U.S. Government's Open Data https://catalog.data.gov/dataset, Berlin open data https://daten.berlin.de/datensaetze, swiss open data (slightly better one for server conditions i assume, it still reload the page) https://opendata.swiss/en/dataset , Mexican open data https://datos.gob.mx/busca/dataset , )
changing implementation of parts that comes out of the box with CKAN -like CKAN facets which controls the filters, and make calls to solr then reload the page with the results - meant investing in CKAN core which is/was out of discussion.
the spatial search is specially slow because we don't modify the plugins and rather inject them as dependencies (an early requirement was not to modify anything beside EMC logic), spatial search doesn't support boundaries meant waiting for the map to load and applying boundaries to it, and spatial search also reloads the page the same way as facets.
after all newer frameworks like React, Vuew ..etc. shine for these reasons, unless we separate the UI from backend (i.e using CKAN as a backend only and call it's APIs while the whole Front end is handled with other frameworks) it won't feel fresh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant