-
-
Notifications
You must be signed in to change notification settings - Fork 189
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
Add tidelift_url customization option #142
Conversation
Allows adding a Tidelift section to the sidebar by setting the `tidelift_url`theme option. **Screenshot** ![screenshot](https://user-images.githubusercontent.com/2379650/45132398-cf6efe00-b15e-11e8-887b-6bf8e41e2f87.png)
Thanks! Need this myself (🎉). Off the cuff thoughts follow; FWIW I can do any actionables myself if you don't get to them before I merge, which will prob be by next week on the outside.
OK well that's a lot of words for "we can probably merge this as-is and it wouldn't be the worst thing in the world". If Tidelift was more mature (not a dig, just a fact!) and I had more faith in the URLs not potentially changing, I might press harder on the slug-vs-url thing, but for now I suspect URL is most pragmatic. Not like |
Reckon we need a changelog entry for this too but that's probably it. |
Yeah, I saw that with
My thoughts exactly.
Yeah, I experimented a bit with using the Tidelift logo but was unsatisfied with the way it responded to different screen sizes. I also didn't want the section to take too much screen real estate/visual weight.
Would you like me to add that or would you prefer to add it after this is merged? |
I can do it, I'm picky about format/language anyhow. |
Back on this now. Not having memorized the discussion, I'd been assuming we'd want at least an option for the graphical Tidelift logo, but I see you already experimented with that and found it doesn't necessarily scale super well. I think my earlier decision of "let's just go text only for now" is the right one, yea. If Tidelift or users come back later with "the image would be so nice!" then we can work with them on finding an easy way to make sure the image is going to scale up/down/work on HiDPI displays/whatever. New to the discussion: I'm not sure I like the "professionally supported" language. It is one of the pre-supplied snippets Tidelift recommends, but in my mind it's going to mislead folks who think that "sign up as a subscriber" == "maintainers are going to prioritize all their tickets". OTOH, that's arguably between the subscribers and Tidelift, and Tidelift has already shown they're aware of the need to educate subscribers on exactly what assurances they are actually receiving, so...eh. I'll play around with it and if I do change it, it will fall under the same policy as the logo: folks who don't like what gets added now can have a later discussion about making it more flexible. |
Side issue, this looks mildly fugly on my display because of how This problem predates this PR (it would've happened for the Gratipay stuff too, which was rarely used and certainly shouldn't be in much use nowadays; eg I turned it off on my sites after they a) supported Nazis and b) then went bust anyways). But I might shoehorn a fix in anyways; it's not likely to break anything for anybody. |
Think I might just opt to merge some variant of #143 also and then handle the styling thing after that. |
Allows adding a Tidelift section to the sidebar
by setting the
tidelift_url
theme option.Screenshot