Open cangoektas opened 8 years ago
@ahmedissa I need your help for this one. I think I already implemented about 90 % of this feature but you have to make some small changes.
avatarFactory
in the newly created eventImagesFactory
eventImagesFactory.uploadLogo
and eventImagesFactory.uploadHeader
)eventShowCtrl
we do not save the url of the uploaded images to the event object because currently the response of an upload is user data with the url of the event image being in the avatar
fieldI think you should be able to fix this in a couple minutes or what do you think?. The important files for you are:
form-edit-event.html
:
logoFileSelected
and headerFileSelected
(done)eventShowCtrl
:
logoFileSelected
and headerFileSelected
is whereeventImagesFactory
(done)eventImagesFactory
:
uploadLogo
needs to specify event logo instead of avatar (TODO)uploadHeader
needs to specify event header instead of avatar (TODO)getEventLogo
needs to get the event logo of an event (probably done)getEventHeader
needs to get the event header of an event (probably done)In order to test all this you need to
feature/events-file-uploads
localhost:9000/#/event
FYI just fixed some small issues with displaying upload status.
@ahmedissa Also removed the branch feature/event-images
and replaced it with the branch feature/events-file-uploads
Same thing in #35 where we currently try to upload file attachements for an event application as an avatar...
@ahmedissa can you take a look at this and #35 in the coming days? I really think it shouldn't take too much time for you 😊
Event logos and event headers can currently be shown in the event show view, but not added when creating an event and there's no way in changing the images.
Waiting on the backend APIs to implement this.
Related to #23