Reviewed:  https://reviews.mahara.org/10110
Committed: 
https://git.mahara.org/mahara/mahara/commit/d05113f59537cdaee39b1d0aa89a13a96015d847
Submitter: Robert Lyon (robe...@catalyst.net.nz)
Branch:    19.04_STABLE

commit d05113f59537cdaee39b1d0aa89a13a96015d847
Author: Robert Lyon <robe...@catalyst.net.nz>
Date:   Mon Jun 17 17:31:58 2019 +1200

Bug 1833034: Allow folder fail message be removed on success

And show a success message

Also remove metadata edit error message on form resubmit rather than
appending the same message again

behatnotneeded

Change-Id: I31f99a6ca384b74ca3e2ea795055667811f58e0a
Signed-off-by: Robert Lyon <robe...@catalyst.net.nz>
(cherry picked from commit e69b8a8546e57fd7c499350574e022bb34e200f1)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1833034

Title:
  Error/warning/success messages remains unless page is refreshed

Status in Mahara:
  Fix Committed
Status in Mahara 19.04 series:
  Fix Committed
Status in Mahara 19.10 series:
  Fix Committed

Bug description:
  Mahara: 19.04.0
  OS: Linux 16.04
  DB: Postgres
  Browser: FF and Chrome (and others)

  In the Files upload screen (and other screens that display error
  message):

  When a user accidentally clicks on the 'Create folder' icon before
  entering a folder name, a red error message appears:

  "Please provide a name for the new folder."

  
  When the user enters the folder name and clicks the button again, the folder 
is created but the red error message still appears.

  The message is only removed after the user refreshes the page.

  This can be misleading to the user.

  Can you lease clear the message when the folder is created - and
  display a success message?

  
  Another scenario:

  * The user creates a folder successfully. 
  * The user then clicks into the new folder
  * Clicks the 'Create folder' button (in the child folder) without providing a 
name
  * The error message then appears
  * Clicks the up arrow to go to the parent folder.
  * The error message still appears - even though the user has moved out of the 
child folder.

  Expected, the error message should clear.

  
  Ideally, all alert messages in danger, warning, success classes should fade 
out after perhaps 10 seconds? This should be throughout the entire site not 
just the above screens.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1833034/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to