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

Add Data Request button on openafrica home page. #26

Open
andela-onnenanya opened this issue Sep 11, 2017 · 2 comments
Open

Add Data Request button on openafrica home page. #26

andela-onnenanya opened this issue Sep 11, 2017 · 2 comments

Comments

@andela-onnenanya
Copy link
Contributor

andela-onnenanya commented Sep 11, 2017

Currently:

When you install ckanext-datarequest on your ckan instance, it shows the button for DATAREQUEST. But once ckanext-openafrica is installed, the button is overridden.
Navigating to /datarequest show the page for requesting for dataset but the button is missing on the home page. see https://africaopendata.org/datarequest

Desired Behaviour:

A user should be able to see the datarequest button on the home page, which when clicked, should navigate to /datarequest.

Why This Issue is Important:

Without the button, the user may not have any clue that datasets can be requested for. Moreover, a user who is aware of datarequest will not have to type /datarequest but can easily navigate to the page by clicking on the button.

Notes:

  • This issue can easily be handled by replicating the Suggest a dataset button shown at the bottom when no dataset is found for a user's search.
  • Since ckanext-datarequest adds the button, it seems like a bug when the button does not appear after installing ckanext-openafrica

Let's also ensure there is a way to check if data requests extension is activated before it shows the link to avoid 404 in a case where it isn't
by @DavidLemayian

.

@andela-onnenanya
Copy link
Contributor Author

I'm currently working on this issue

@andela-onnenanya
Copy link
Contributor Author

I have raised the PR.
I also ensured that the user must be logged in for the button to be visible.

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

No branches or pull requests

2 participants