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

remove people.jsx, refactor people.scss #2686

Closed
Pomax opened this issue Feb 19, 2019 · 8 comments
Closed

remove people.jsx, refactor people.scss #2686

Pomax opened this issue Feb 19, 2019 · 8 comments

Comments

@Pomax
Copy link
Contributor

Pomax commented Feb 19, 2019

We're no longer using the people page, but some of its SCSS is used by other pages/components, so we should pull those two things apart, remove the people page code itself, and make sure we relocate the still-used styling.

@HSR05
Copy link
Contributor

HSR05 commented Feb 27, 2019

Is this still open?

@Pomax
Copy link
Contributor Author

Pomax commented Feb 28, 2019

It is, but this one is not actually as easy as the original comment makes it sound, so we'll be tackling this one internally.

@mmmavis
Copy link
Collaborator

mmmavis commented Mar 13, 2019

Just a note that /source/sass/views/fellowships/people.scss (which its code is identical to /source/js/components/people/people.scss) is not being imported and used. We should decide which file we wanna keep and remove the not in-use one.

/cc @youriwims

@youriwims
Copy link
Contributor

I'm not sure if /source/js/components/people/people.scss is still being used...would have to look more into that. But, we can remove /source/js/components/people/people.scss. I think I was going to update that one, but then found /source/sass/wagtail/profiles.scss and settled on updating that file and forgot to remove the other. Feel free to create a ticket for it and assign me 😄

@youriwims
Copy link
Contributor

Update: Looks like the entire source/js/components/people directory which includespeople.jsx, people.scss, and person.jsx can safely be removed. Styles in people.scss are no longer in use since the new Fellowship Directory was built ( Ref #2511, #2685, #2474 ). Lastly, the Person module will be obsolete once all of the fellowship related files and people.jsx are removed.

@mmmavis
Copy link
Collaborator

mmmavis commented Mar 21, 2019

Awesome. Don't forget to remove people_page.html and other related bits! 👍

@youriwims
Copy link
Contributor

youriwims commented Mar 21, 2019

Thanks! 😸

@youriwims
Copy link
Contributor

Temporarily blocked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants