ooiepe / epe_modules

1 stars 0 forks source link

EPE-19 Debug "save as" issues (seems to be working at the moment) #130

Open seagrinch opened 8 years ago

seagrinch commented 8 years ago

As noted in EPE-18, we should rename the "Save As" button to "Save As New" in all cases, because a user might expect to then be presented with an option to rename the new resource, but what happens is the resource is immediately saved instead.

It appears the "create date" of the original resource is carried over to the new one. We should probably use the current date. The various shared status flags are also copied. They should reset to private, or at the very least, Public/Shared should both reset to Public. The Featured status should be reset too.

The Save and Cancel buttons are both orange while the Save As is the more pronounced blue. Since the primary action should be Save, that's the one that should be blue with the others a more subdued color (in this case, orange).

On the Vis and CM pages, the Save As and Cancel buttons are on the left, while Save is on the right. One LLB, they're all on the Right. But given that they're also on the top of the page while the others are on the bottom, this is probably fine.

seagrinch commented 7 years ago

Save As seems to be working, but I just copied a resource and it's parent doesn't show up as a linked resources, nor does the new copy show up on it's parent (which even if it hasn't been published, a user should be able to see their own parents and copies). Copy: http://epedev.ooi.rutgers.edu/node/1733 Parent: http://epedev.ooi.rutgers.edu/node/300