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 logoPosition #10284

Merged
merged 2 commits into from
Jun 24, 2024
Merged

Remove logoPosition #10284

merged 2 commits into from
Jun 24, 2024

Conversation

chris48s
Copy link
Member

In #3747 we removed the popout style. Since then, the remnants of the logoPosition param have been knocking about. We really should have removed this at the time.

This came up in the review of #9645 where @zavoloklom suggested removing it but provided an incomplete implementation. In this PR, I have completed the job.

Removing this seems like a no-brainer as it is just cruft. Passing logoPosition as a URL param or in the endpoint badge already does nothing.

@chris48s chris48s added the core Server, BaseService, GitHub auth label Jun 21, 2024
Although this does nothing,
passing it should not throw an error
*/
logoPosition: optionalNumberWhenAnyLogoPresent,
Copy link
Member Author

Choose a reason for hiding this comment

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

I've left this in the schema so it is not a breaking change

Copy link
Contributor

Messages
📖 ✨ Thanks for your contribution to Shields, @chris48s!

Generated by 🚫 dangerJS against aff0b0d

Copy link
Member

@calebcartwright calebcartwright left a comment

Choose a reason for hiding this comment

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

yup, seems like the right move to me

Copy link
Member

@PyvesB PyvesB left a comment

Choose a reason for hiding this comment

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

On board with this 👍🏻

@chris48s chris48s added this pull request to the merge queue Jun 24, 2024
Merged via the queue into badges:master with commit 677e713 Jun 24, 2024
24 checks passed
@chris48s chris48s deleted the remove-logoposition branch June 24, 2024 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Server, BaseService, GitHub auth
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants