Gossamer Forum
Home : Products : Gossamer Links : Discussions :

File upload, browser.cgi changed files

Quote Reply
File upload, browser.cgi changed files
 
Hello to everybody after looong time, I hope you're doing well.


I am redesigning/fixing some stuff on an old website and I noticed some things.



Modify form and file uploads:

If you have file uploads on modify form, when the user change file nothing changes on "Validate Changes"
../admin.cgi?do=page&page=tools_validate_changes.html

No indication is available that the user has changed some files.

OK, link to download / view now points to ...&src=path&do=view_tmp_file...
instead of ...&src=db&do=view_file...


My (jquery) dirty quick fix for this is:

copy tools_validate_changes.html from
.../templates/admin/ to /templates/admin/local

and put the following in the head of the document


<style>
.changed-file {
color: #9C0000;
}
</style>

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>

<script>

$(document).ready(function (){

$('a[href*="src=path"]').addClass( "changed-file" ).prepend('Changed: ');

});

</script>


At least, you now have indication that something has changed.


You can also do the same thing if you use browser.cgi

File is browser_link_validate_form.html
copy to .../templates/browser/local/ and make changes




Another big bug is:

if you go to Validate Links or Validate Changes and you have more than one
page of links, when you validate first page you are on the next page where you can validate links but now
download / view links are populated with ALL link fields like Title, isChanged User_Last_Checked_Date...




It is nice to have indicators that field has changed (like text and textarea) but where are others?


It is not clear what delete checkbox will delete when you validate link with file changed.
If you check delete checkbox and approve change nothing changes - new files are approved.

In my humble opinion this could be much better UX:

When files are changed give option to user to preview current file, newly uploaded file and option to
delete new file but still approve change.

Another thing would be useful:
ability to validate/modify link and send custom message like "Delete and e-mail reason" where you can
change text of message.


User experience: 0 out of 10
Subject Author Views Date
Thread File upload, browser.cgi changed files Payooo 5945 May 23, 2014, 2:03 PM
Thread Re: [Payooo] File upload, browser.cgi changed files
Andy 5780 May 23, 2014, 11:23 PM
Thread Re: [Andy] File upload, browser.cgi changed files
Payooo 5659 May 24, 2014, 8:35 AM
Thread Re: [Payooo] File upload, browser.cgi changed files
Andy 5574 May 24, 2014, 1:22 PM
Post Re: [Andy] File upload, browser.cgi changed files
Payooo 4205 May 27, 2014, 5:10 AM