alexdobre / RDL_Google_Tech

Java for the Google technology code
0 stars 0 forks source link

User avatar - does not appear on user profile page after upload #52

Closed alexdobre closed 11 years ago

alexdobre commented 11 years ago

After a user uploads a new avatar the image should appear on the user profile page as well.

It should first appear after the upload as a confirmation and be present each time the user accesses the page afterwards.

nsavageJVM commented 11 years ago

nigel will work on this

nsavageJVM commented 11 years ago

now the "appear after the upload as a confirmation" works, i will continue to extend the code to be as close to the mock up as possible, I am not sure if it will be possible to extend the GWT Form Upload Widget to be just as the mock up, if the original mock up is required it may be necessary to implement a custom widget or more involved code requiring more classes, The GWT Form Upload panel encapsulates a lot of complexity

nsavageJVM commented 11 years ago

current code 1 click on empty avatar place holder as in mock-up design

  1. form upload commences, user chooses file from file system
  2. file uploads and is stored in mongo db, hence avatar for user persists across builds
  3. when upload finish user see new avatar in avatar place holder 5 when logging in to a new session, avatar is retrieved from mongo and appears for the user where required in views

issue closed