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

Problem name fields are too long #244

Open
Xyene opened this issue Sep 17, 2015 · 4 comments
Open

Problem name fields are too long #244

Xyene opened this issue Sep 17, 2015 · 4 comments

Comments

@Xyene
Copy link
Member

Xyene commented Sep 17, 2015

They break perfectly good styles, and become impossible for mobile.

@FatalEagle
Copy link
Contributor

Just change the font size with code.

@Xyene
Copy link
Member Author

Xyene commented Sep 17, 2015

name = models.CharField(max_length=100, verbose_name='Problem name', db_index=True)

An informal demonstration of what 100 characters looks like:

yes this is exager

@quantum5 I'm all for being generous, but...

I think cutting it off at 50 characters is more than enough. Like Github commits, problem names should be short and sweet.

@Xyene
Copy link
Member Author

Xyene commented Jan 8, 2016

@quantum5

@quantum5
Copy link
Member

To cap problem name at 50, we must deal with these problems:

tsoc15c1p1
vmss7wc15c2p3
vmss7wc15c2p2
vmss7wc15c4p1
vmss7wc15c4p2
vmss7wc15c6p3
vmss7wc15c6p2
ccoprep3p1
dmpg15g2
vmss15c1p5
vmss15c1p0
vmss7wc16c1p1
vmss7wc16c1p2
vmss7wc16c1p3
vmss7wca
vmss7wcb
vmss7wcd
vmss7wc16c3p1
vmss7wc16c3p2
vmss7wc16c3p3
vmss7wc16c4p1
vmss7wc16c4p2
vmss7wc16c4p3
vmss7wc16c5p2
vmss7wc16c5p1
vmss7wc16c5p3
vmss7wc16c6p3
vmss7wc16c6p1
vmss7wc16c6p2
vmss7wc16c5p4
dmopc15c7p6
vmss7wc17c1p1
tle16c7p5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants