Nomes de tags muito restritos

I was trying to move completely away from categories on my forum BUT I discovered tags were way too restrictive with regard to their names. No spaces, 20 characters maximum, completely frustrated my desire. I read somewhere that discourse was trying to move away from categories into tags. This is an idea I support.

I also support adding a twiter like #hashtag feature within posts to increase awesomeness.

1 curtida

Kinda. We’re not moving away from categories, but we do recommend restricting the use of categories to situations where they are actually necessary. More information at It’s Time We Talked About Tags

3 curtidas

Yeah, that’s the article.

Still, one way to make people use less categories is make tags more flexible.

You can set the max length for tags

https://{your-site}/admin/site_settings/category/all_results?filter=max%20tag

5 curtidas

Tags behave like category stubs, which can’t have spaces either.

The 20 character is there because otherwise the tag selector begins to look pretty ridiculous.

If legal libraries can build their whole taxonomies using those limitations the rest of us have no excuse.

1 curtida

This is it…Solved!

3 curtidas

Existe uma maneira de editar o comprimento do rótulo após o qual ele é truncado?
Nomes longos de rótulos aparecem com reticências. “this-is-a-long-tag-name” é exibido como “this-is-a-lo…”, mesmo na página do rótulo. Como posso alterar esse limite? Estou disposto a modificar o código-fonte e reconstruir.

Isso pode ser feito editando o CSS em Admin, Personalizar.

Muito obrigado, Jeff.

Qual propriedade exatamente estou procurando alterar? Ou, se você puder me indicar um guia sobre como fazer isso.

Agradeço a ajuda.

Seria legal se o nome da tag e o slug da tag fossem tratados como as categorias. Com o slug separado do nome.

Assim, uma tag poderia ter um nome como:
Nome: Coisas Incríveis
Slug: coisas-incriveis

No momento, isso resultaria em:
Nome e slug: coisas-incriveis

2 curtidas