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

[ENH] - Make categories case insensitive #634

Open
gabalafou opened this issue Jan 24, 2023 · 2 comments
Open

[ENH] - Make categories case insensitive #634

gabalafou opened this issue Jan 24, 2023 · 2 comments

Comments

@gabalafou
Copy link
Contributor

What site is this for?

Quansight Consulting, Quansight Labs

Expected behavior

No response

Actual behavior

This is our current list of categories:

[
  "Access-centered",
  "Array API",
  "Beyond PyData",
  "Community",
  "Developer workflows",
  "Funding",
  "IDEs",
  "Machine Learning",
  "OSS Experience",
  "Packaging",
  "PyData ecosystem"
]

Capitalization is not consistent. For example, why are both words in Machine Learning capitalized by not both words in PyData ecosystem?

However, the categories are case sensitive. So, for example, if a blog author puts "PyData Ecosystem" (instead of "PyData ecosystem") in the metadata of their blog post, it will not get appropriately categorized on the site.

I think that our website should treat the categories as case-insensitive.

How to Reproduce the problem?

No response

Anything else?

No response

@gabalafou gabalafou added the type: bug 🐛 Something isn't working label Jan 24, 2023
@gabalafou
Copy link
Contributor Author

gabalafou commented Jan 25, 2023

See for example:

@gabalafou gabalafou added type: enhancement 💅🏼 New feature or request and removed type: bug 🐛 Something isn't working labels Jan 25, 2023
@bskinn
Copy link
Contributor

bskinn commented Jan 25, 2023

Makes sense to me.

The drop-down on the Consulting site renders the category names in all-uppercase anyways, and best-practice for the slugs for Consulting is probably all-lowercase.

@bskinn bskinn changed the title [ENH] - Make categories case insensistive [ENH] - Make categories case insensitive Feb 13, 2023
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