ioos / ckanext-ioos-theme

IOOS Catalog as a CKAN extension
GNU Affero General Public License v3.0
7 stars 14 forks source link

Add feedback button #144

Closed mwengren closed 6 years ago

mwengren commented 7 years ago

Similar to https://github.com/ioos/ioos-us/issues/6, we need to add a common feedback UI element to the Catalog site.

Ideally, we could add a button somewhere in/near the header in CKAN that opens up a form a user can submit feedback to (including information about the page/dataset their feedback was generated from).

mwengren commented 7 years ago

Can we make the feedback button tied to a dataset, instead of generic across the site?

I'd rather the feedback button go in the dataset tab area, just before the 'Groups' tab, and auto-submit a hidden field(s) with the dataset URL, and possibly Title as well, so when the email gets generated, we can bundle that info along with whatever the feedback comment is. Otherwise, we're going to be having a lot of back and forth: 'Which _____ dataset are you referring to', etc.

mwengren commented 7 years ago

Just including the below email from Phil Ashlock of Data.gov for reference. Related info on Data.gov's HelpDesk tool for managing feedback in CKAN. Don't know that we want to go to this level, but note they have public tracking of feedback/tickets submitted:

https://www.data.gov/issues/?agency_responsible=GSA


The Help Desk tool is still a work in progress and we've yet to publish good documentation for how agencies can implement it, but for now I'll just share that here via email. Before I go into detail, let me first stress that you not simply link to data.gov/contact as many agencies are currently doing. Not only will this likely confuse your users, but it also puts more work on the Data.gov staff to determine which agency the user was coming from. Instead you should only use the Help Desk URL specifically associated with your agency or with a specific dataset.

The Help Desk tool is powered by an API and if you'd like richer integration on your website we can work with you to do that, but otherwise the easiest way to incorporate it on your [agency.gov]/data page is to simply provide links to the different Help Desk pages associate with your agency or dataset. We're currently using a set of numerical agency IDs from the Federal Agency Directory API to associate these requests with your agency, but we'll be moving to a more human readable ID in the future. A list of agency IDs is copied at the bottom of this email.

To preselect your agency for a dataset being requested, you can add the parameter "agency_name" to the URL for the dataset request form and then just add your agency ID. Here's an example with the ID for GSA (49048)

https://www.data.gov/data-request/?agency_name=49048

To preselect the URL for a dataset that has a problem, you can add the parameter "media_url" to the URL for the issue reporting form and then just append the dataset URL. Here's an example:

https://www.data.gov/issue/?media_url=https://catalog.data.gov/dataset/national-stock-number-extract

To preselect the URL for a dataset that has a success story or notable use case, you can add the parameter "media_url" to the URL for the issue reporting form and then just append the dataset URL. Here's an example:

https://www.data.gov/story/?media_url=https://catalog.data.gov/dataset/national-stock-number-extract

For requests that have been received and moderated, you can also provide links to URLs that show the current status of these requests. Here you can actually use a human readable agency abbreviation for the ID. Here are example URLs for GSA:

Issues: https://www.data.gov/issues/?agency_responsible=GSA Requests: https://www.data.gov/requests/?agency_responsible=GSA

This concludes the overview of how to provide links to the Data.gov Help Desk.

To highlight a few agencies that are using other tools and doing a great job:

Other tools that agencies are using include GitHub Issues, the Open Data StackExchange tagged for your agency, and features available as part of the Socrata SaaS.

I spent some time doing an updated evaluation for each agency which I'll make available for reference as part of OMB's May 31st quarterly review, but if you'd like me to directly share my current feedback for your agency's reference to a feedback mechanism on your /data page just let me know.

I know that's a lot, so congrats if you made it this far and please let me know if you have any questions.

Best, Phil

mwengren commented 7 years ago

@lukecampbell Can you make sure that you have a quick discussion with @ericmbernier on the status of the feedback button functionality and a plan/approach to add dataset metadata to the generated email, as described above? This is something we'll probably want to add in the near future.

lukecampbell commented 7 years ago

Sure

mwengren commented 7 years ago

Where to move the Feedback button when dataset -> feedback association is made:

catalog_feedback_button_move.png

Just adding this to give some clarification to the above, when we get to it.

benjwadams commented 6 years ago

Implemented by #170.