Skip to content

Vue avatar management - #647

Merged
suntala merged 27 commits into
vuefrom
vue-avatar-management
Sep 28, 2018
Merged

suntala merged 27 commits into
vuefrom
vue-avatar-management

Conversation

@sleepypioneer

Copy link
Copy Markdown
Member

Here is our work in progress on the Vue avatar Management, please look over it @skjnldsv and let us know if anything stands out as taking the wrong direction. We still need to do the delete photo and download photo functions.

@sleepypioneer sleepypioneer added 3. to review Waiting for reviews 2. developing Work in progress vue labels Sep 26, 2018
@sleepypioneer sleepypioneer added this to the 3.0.0 milestone Sep 26, 2018

@skjnldsv skjnldsv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nice work so far!!
This is working really nicely!!

},
methods: {
processFile(event) {
let file = event.target.files[0]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cannot read property '0' of undefined after clicking the input.
So I'm guessing a simple click triggers a change, This is weird 🤔

<template>
<div :class="{'maximised':maximizeAvatar }" class="contact-header-avatar">
<div class="contact-header-avatar__background" @click="toggleSize" />
<img v-if="contact.photo" :src="contact.photo"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe use a background-image instead, otherwise the image is deformed if it's not square :)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Comment thread css/contact-details-avatar.scss Outdated
opacity: 1;
padding: 0;
// 300px padding on left to compensate for app-navigation having 1000 z-index
padding-left: 300px;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you remove this and the padding: 20px 20px 20px 300px; it seems to work fine on my setup? :)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we then discuss what the final set up is? it does not work on mine and the app-navigation has the z-index 1000 Arati also had it up where it worked full screen so I'm not sure what is going on. Happy to remove it if it looks fine for you and your happy with that.

Comment thread src/components/ContactDetails/ContactDetailsAvatar.vue
@skjnldsv skjnldsv removed the 2. developing Work in progress label Sep 28, 2018
@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Sep 28, 2018
@suntala
suntala merged commit 4169161 into vue Sep 28, 2018
@suntala
suntala deleted the vue-avatar-management branch September 28, 2018 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants