Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancements/add profile image component #120

Merged

Conversation

JayyajGH
Copy link
Contributor

This is the first stage of creating the profile component to sort out some of the broken image issues. There are quite a few parts to this - updating quite a few components and moving some styles around - so I thought I would check it in a bit at a time so the change doesn't go stale before I finish it and become a merge nightmare.
If you're happy with this change then go ahead and merge it and I'll work through using this everywhere as time permits.

@project-bot project-bot bot added this to Triage in FD Nuxt Client Dec 30, 2019
@edwh edwh added the DevReady - Low Ready to code. Minor. label Dec 30, 2019
@project-bot project-bot bot moved this from Triage to DevReady - Low in FD Nuxt Client Dec 30, 2019
@edwh
Copy link
Member

edwh commented Dec 30, 2019 via email

@JayyajGH
Copy link
Contributor Author

Many moons ago I read somewhere that every component should have a name property set. That might have changed now though... I'll look into it...

Yup that would be a good plan. When I did this initially I just tried to keep the changes to a minimum but I'll update that. There are probably a number of other things that could be refactored out too which will be clearer to see once all places are using the component.

@JayyajGH
Copy link
Contributor Author

I think this is where I read about always adding a name to a component:
https://vuejs.org/v2/api/#name

@JayyajGH
Copy link
Contributor Author

Looks like there is a current PR to add a check for a name property to eslint too...

vuejs/eslint-plugin-vue#945

@edwh
Copy link
Member

edwh commented Dec 30, 2019 via email

@edwh
Copy link
Member

edwh commented Dec 31, 2019

Is this still WIP or waiting for merge? I'm not sure if you did the size prop.

@JayyajGH
Copy link
Contributor Author

JayyajGH commented Dec 31, 2019

I've not done the size prop yet. I have work work to get done today so I'll take a look on Friday.

Is there any way to convert a PR to a draft PR?

@JayyajGH
Copy link
Contributor Author

JayyajGH commented Jan 1, 2020

Ok @edwh - This should now be ready to merge. I'll then sort all the others out on Friday.

@edwh edwh merged commit 20f472c into Freegle:master Jan 2, 2020
@JayyajGH JayyajGH deleted the enhancements/add-profile-image-component branch January 2, 2020 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DevReady - Low Ready to code. Minor.
Projects
FD Nuxt Client
  
DevReady - Low
Development

Successfully merging this pull request may close these issues.

None yet

2 participants