#195: Attach file form à la GMail
--------------------------+----------------------
Reporter: jdreimann | Owner:
Type: enhancement | Status: needinfo
Priority: major | Milestone:
Component: ui design | Version:
Resolution: | Keywords:
--------------------------+----------------------
Comment (by olemis):
Replying to [comment:13 jdreimann]:
> Replying to [comment:11 olemis]:
> > Pending issues
> > - Question: What is it that should happen in the UI after
overwriting an
> > existing attachment ?
> Instead of 'added by [...]' (eg on the ticket page) it should say
'**updated** by [...]'.
I c . I'll need to make some more changes to the current implementation
and figure out how to get this done using jQuery File Upload plugin
extension points . I think highlighting «updated» word might be useful to
identify recent file file uploads . What du you think ?
> > - Determine the definitive name of the attachment (e.g. when
> > file of the same name exists but it won't be overwritten)
> If this type of query is possible ("Does a file of the same name already
exist?"),
it's possible ...
> would it also be possible to ''only'' show the {{{[replace file]}}}
option when a file with the same name already exists?
> This should be dealt with in a separate ticket of course, I'm just
curious if it's feasible.
... but I'd not recommend to do so due to the characteristics of web
applications . I mean, maybe there was no other file with the same name at
file selection time (i.e. when upload form fields are added dynamically) ,
but it does exist later when file is uploaded onto the server . Its
possible that such race conditions will happen in practice .
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/195#comment:14>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker