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

Allow access to some sidebar controls for owners of fully yanked gems #5260

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

martinemde
Copy link
Member

Access to control ownerships, trusted publishers, etc is still important when all versions have been yanked so that new versions of the gem can be pushed.

Adds a limited sidebar view to yanked gems that is mostly only visible to owners. The only exception is if adoption, which will show on the page for non-owners if currently active.

Screenshot 2024-11-20 at 12 11 06 PM

Access to control of ownership, trusted publishers, etc is still
important so that new versions of the gem can be pushed.
@martinemde martinemde requested a review from segiddins November 20, 2024 20:14
@martinemde
Copy link
Member Author

I decided to remove the downloads count from the sidebar after I took this screenshot, so that won't be shown. I think including it for a gem that's fully yanked doesn't quite make sense (and could help people find targets for high download gems)

Copy link

codecov bot commented Nov 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.81%. Comparing base (fdebde8) to head (dad0c65).
Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5260   +/-   ##
=======================================
  Coverage   96.81%   96.81%           
=======================================
  Files         456      456           
  Lines        9548     9548           
=======================================
  Hits         9244     9244           
  Misses        304      304           

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


🚨 Try these New Features:

@martinemde martinemde changed the title Allow access some sidebar controls for owners of fully yanked gems Allow access to some sidebar controls for owners of fully yanked gems Nov 20, 2024
@martinemde martinemde enabled auto-merge (squash) November 20, 2024 21:23
@martinemde martinemde merged commit b414e83 into master Nov 20, 2024
19 checks passed
@martinemde martinemde deleted the martinemde/yank-gem-owner-controls branch November 20, 2024 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants