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

Long filenames break rendering. #585

Merged
merged 1 commit into from
Aug 5, 2015

Conversation

wlonk
Copy link
Contributor

@wlonk wlonk commented Aug 5, 2015

Fixes #338.

I opted to fix this with a CSS overflow property. In most cases, it shouldn't look different, but for very long file names, such as in the Pillow project, you'll be able to see it.

I notice that the compiled CSS is under version control; that seems undesirable to me. Would there be any objections to adding something like warehouse/static/css/*.css to .gitignore? How would that interact with the manifest.json?

As per the ancient prophecy, here is a cute animal picture:

Aussie!

"Hazel beim Spiel" by SamyG - Own work. Licensed under CC BY 3.0 via Wikimedia Commons - https://commons.wikimedia.org/wiki/File:Hazel_beim_Spiel.jpeg#/media/File:Hazel_beim_Spiel.jpeg)

Fixes pypi#338.

I opted to fix this with a CSS overflow property. In most cases, it
shouldn't look different, but for very long file names, such as in the
Pillow project, you'll be able to see it.

I notice that the compiled CSS is under version control; that seems
undesirable to me. Would there be any objections to adding something
like `warehouse/static/css/*.css` to `.gitignore`? How would that
interact with the `manifest.json`?
@dstufft
Copy link
Member

dstufft commented Aug 5, 2015

We do check in the compiled CSS, largely so that working on Warehouse doesn't require having the CSS toolchain installed unless you're actively working on the CSS. Moving away from committing the compiled CSS would likely require setting up the docker containers so that they installed the node.js tooling that we need and ran grunt watch as part of the process. Not an impossible thing but not something I had bothered dealing with yet.

dstufft added a commit that referenced this pull request Aug 5, 2015
@dstufft dstufft merged commit 1bcde5b into pypi:master Aug 5, 2015
@wlonk
Copy link
Contributor Author

wlonk commented Aug 5, 2015

Gotcha, thanks for the clarification. I might put some work into that, but as it's not a blocker for replacing PyPI, it comes in further down the priority list.

@wlonk wlonk deleted the 338-long-filenames-break-rendering branch August 5, 2015 13:47
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.

Long filenames break rendering
2 participants