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

Consolidate /projects/public into /projects #33033

Merged
merged 1 commit into from
Feb 11, 2020

Conversation

maddiedierker
Copy link
Contributor

This PR deletes the HAML view and JS entry-point for /projects/public -- it was duplicated code from /projects, so this is the first step toward condensing the logic for these two routes.

Background

I'm adding a new tab to /projects (called "My Libraries" -- see STAR-748), and noticed that a lot of the code between /projects and /projects/public is unnecessarily duplicated (it looks like an artifact from our Angular days). So before I add a new tab, I'm doing some cleanup!

Testing story

There should be no user-visible change, so I manually tested that /projects and /projects/public work as expected for various relevant users (signed out + in and project_validator admin).

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

Copy link
Contributor

@dmcavoy dmcavoy left a comment

Choose a reason for hiding this comment

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

Looks good to me! Thank you for doing this clean up!

@maddiedierker maddiedierker merged commit 3c23ae0 into staging Feb 11, 2020
@maddiedierker maddiedierker deleted the refactor-projects-page branch February 11, 2020 01:22
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

2 participants