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 unused subjects.js #8783

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

cdrini
Copy link
Collaborator

@cdrini cdrini commented Feb 1, 2024

Refactor. Found no references to Subject( in the js or in the python referencing this object. My guess was this was an attempted restructure which was never actually switched to/used.

Technical

Testing

  • ✅ Confirm subjects pages still work.

Screenshot

Stakeholders

@cdrini cdrini force-pushed the refactor/rm-subjects-js branch from a2de179 to baeb0cc Compare February 1, 2024 04:20
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7927be4) 16.62% compared to head (baeb0cc) 16.29%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8783      +/-   ##
==========================================
- Coverage   16.62%   16.29%   -0.33%     
==========================================
  Files          88       87       -1     
  Lines        4698     4596     -102     
  Branches      838      811      -27     
==========================================
- Hits          781      749      -32     
+ Misses       3399     3342      -57     
+ Partials      518      505      -13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cdrini cdrini added the On testing.openlibrary.org This PR has been deployed to testing.openlibrary.org for testing label Feb 1, 2024
@cdrini cdrini marked this pull request as ready for review February 1, 2024 04:34
@mekarpeles
Copy link
Member

@cdrini did we test the published graph? e.g. selecting regions and seeing if the subjects page reloads w/ the right queries?

@mekarpeles mekarpeles self-assigned this Feb 5, 2024
@mekarpeles mekarpeles added the Needs: Submitter Input Waiting on input from the creator of the issue/pr [managed] label Feb 5, 2024
@cdrini
Copy link
Collaborator Author

cdrini commented Feb 5, 2024

Yep! Works as it did :)

@cdrini cdrini removed the Needs: Submitter Input Waiting on input from the creator of the issue/pr [managed] label Feb 5, 2024
@cdrini
Copy link
Collaborator Author

cdrini commented Feb 5, 2024

It's up on testing.openlibrary.org

@mekarpeles mekarpeles assigned jimchamp and unassigned mekarpeles Feb 5, 2024
Copy link
Collaborator

@jimchamp jimchamp left a comment

Choose a reason for hiding this comment

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

subjects.js was used to support the home page subjects carousels, when those were a thing.

@jimchamp jimchamp merged commit 7be52f4 into internetarchive:master Feb 22, 2024
3 checks passed
@cdrini cdrini deleted the refactor/rm-subjects-js branch February 23, 2024 09:04
@jimchamp jimchamp removed the On testing.openlibrary.org This PR has been deployed to testing.openlibrary.org for testing label Apr 2, 2024
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.

4 participants