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

Projects page cleanup #33117

Merged
merged 10 commits into from Feb 19, 2020
Merged

Projects page cleanup #33117

merged 10 commits into from Feb 19, 2020

Conversation

maddiedierker
Copy link
Contributor

@maddiedierker maddiedierker commented Feb 12, 2020

This is a pure refactor, so there should be no user-visible changes here.

Both projects/index.html.haml and projects/index.js had a lot of artifacts from our AngularJS days, so I'm cleaning that up here to simplify the code (end goal is to add a "My Libraries" tab to the projects/ page).

Follow-up work:

  1. Rename <GallerySwitcher/> to <ProjectsGallery/> now that this component renders both the gallery tabs and the content -- Rename <GallerySwitcher/> to <ProjectsGallery/> #33121
  2. Move <PublishDialog/> and <DeleteProjectDialog/> into <PersonalProjectsTable/>

Reviewer Checklist:

  • Tests provide adequate coverage
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Pull Request is labeled appropriately
  • Follow-up work items (including potential tech debt) are tracked and linked

@maddiedierker maddiedierker marked this pull request as ready for review February 12, 2020 22:54
@maddiedierker maddiedierker changed the title Projects page refactor 2 Projects page cleanup Feb 12, 2020
limitedGallery={projectsData.limitedGallery}
canShare={projectsData.canShare}
/>
{/* TODO: Move components below into <PersonalProjectsTable/>? */}
Copy link
Contributor

Choose a reason for hiding this comment

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

Those Dialogs are only relevant from the Personal Project Table, so sounds good to me!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

lol i almost forgot about this! i'll make a follow-up PR to scooch these over 🎉

Copy link
Contributor

@Erin007 Erin007 left a comment

Choose a reason for hiding this comment

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

Yay! Thanks for taking the time to refactor this and all of the little clean up along the way. Lovely!

Copy link

@clareconstantine clareconstantine left a comment

Choose a reason for hiding this comment

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

I'm not very familiar with this area yet, but this makes sense to me and seems cleaner!

@maddiedierker maddiedierker merged commit 956d59c into staging Feb 19, 2020
@maddiedierker maddiedierker deleted the projects-page-refactor-2 branch December 1, 2020 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants