Reporting objectionable content link should ask for confirmation

Bug #692784 reported by François Marier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Low
Melissa Draper

Bug Description

Apparently some people click the "report this view" link thinking they are posting view feedback.

This is a usability problem.

Revision history for this message
Sean Brennan (the-ioniser) wrote :

I have added a popup confirm dialogue before the submission of this. It was a small modification of the javascript used to create the form.
Should I try to avoid javascript at all costs instead and for future modifications?
for example, should I convert this "popup" into a yes no form like on other parts of mahara?

Revision history for this message
François Marier (fmarier) wrote :

It would be better to be consistent with other similar areas in Mahara.

Also, we're hoping that someday Mahara will gracefully degrade but still be usable when Javascript is turned off. So if you can easily do something without Javascript, that's probably a good idea.

Revision history for this message
Richard Mansfield (richard-mansfield) wrote :

I think a javascript confirm popup is fine for this, but some people will say it breaks consistency with some of the other confirmation pages. I doubt this is actually a widespread problem anyway, I mean the button text says 'Notify Site Administrator', it's pretty obvious!

Revision history for this message
Sean Brennan (the-ioniser) wrote :

we really need a message template that is used for all messages where we plug in the type and text to be shown. this would remove the need for javascript of a second pieform to display a unique template for each one. could this be added as an addition to the pieform submit?

Revision history for this message
Sean Brennan (the-ioniser) wrote :

the simple fix for this is here
http://www.gitorious.org/~ioniser/mahara/ionisers-mahara/commits/lp692784-objectional-content-link-should-confirm

I will also start an experimental branch to try out replacing all confirm forms with one customisable one. This will include a richer jquery confirm dialogue if javascript is turned on, and a pieform confirm/error/warning template page if off.

Revision history for this message
Sean Brennan (the-ioniser) wrote :

ignore the link in the previous comment. I accidentally turned on remove white space.

Revision history for this message
Sean Brennan (the-ioniser) wrote :

fixed and attached patch.

Changed in mahara:
importance: Low → Medium
Revision history for this message
François Marier (fmarier) wrote :

Patch needs to be reviewed and tested.

tags: added: bite-sized
Changed in mahara:
importance: Medium → Low
Revision history for this message
Melissa Draper (melissa) wrote :

Patch refers to the page as "view" which is a recent change as per bug 771152 and will hence need re-rolling.

Melissa Draper (melissa)
Changed in mahara:
assignee: nobody → Melissa Draper (melissa)
status: Confirmed → In Progress
Melissa Draper (melissa)
Changed in mahara:
status: In Progress → Fix Committed
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.