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

Project slug length limit #73032

Closed
beloniki-flant opened this issue Jun 19, 2024 · 7 comments · Fixed by #75737
Closed

Project slug length limit #73032

beloniki-flant opened this issue Jun 19, 2024 · 7 comments · Fixed by #75737

Comments

@beloniki-flant
Copy link

Problem Statement

Hey 👋
Is there any opportunity to change max size of project's slug field?
This request is based on UX, 50 chars is not quite enough.
By project convention, used in our company, some project's names can be longer than 50 chars, so we face char limit in "slug" field.

Thanks

Solution Brainstorm

No response

Product Area

Settings - Projects

@getsantry
Copy link
Contributor

getsantry bot commented Jun 19, 2024

Assigning to @getsentry/support for routing ⏲️

@getsantry
Copy link
Contributor

getsantry bot commented Jun 20, 2024

Routing to @getsentry/product-owners-settings-projects for triage ⏲️

@getsantry getsantry bot moved this from Waiting for: Support to Waiting for: Product Owner in GitHub Issues with 👀 3 Jun 20, 2024
@markstory
Copy link
Member

By project convention, used in our company, some project's names can be longer than 50 chars, so we face char limit in "slug" field.

How long do project names get?

@beloniki-flant
Copy link
Author

How long do project names get?

It seems that a length of 100 characters will cover all of our needs

@beloniki-flant
Copy link
Author

Hi
Any news?

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Aug 5, 2024
@leedongwei
Copy link
Member

@beloniki-flant I've scheduled it but there are competing priorities at the moment.

@getsantry getsantry bot removed the status in GitHub Issues with 👀 3 Aug 6, 2024
schew2381 added a commit that referenced this issue Sep 30, 2024
Increase project slug limit from 50 -> 100. There are no FE changes
needed b/c we don't validate length on frontend, but show the error
received from the failed POST request.
<img width="679" alt="Screenshot 2024-08-07 at 10 59 23 AM"
src="https://github.com/user-attachments/assets/72c21448-6e09-4474-94fb-882d4a370e0b">

Also switch to using a constant for default slug length.


Closes #73032
Fixes
[ALRT-195](https://getsentry.atlassian.net/browse/ALRT-195?atlOrigin=eyJpIjoiZDA1MzllNWQ5MDY5NDY5YWEwOGI1NTMyOWE1ZDc3NzciLCJwIjoiaiJ9)

[ALRT-195]:
https://getsentry.atlassian.net/browse/ALRT-195?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
@schew2381
Copy link
Contributor

@beloniki-flant Hi there, sorry for the delay but I've finally updated the project slug character limit. I've confirmed that it allows up to 100 characters now.

Let me know if you run into any other issues!

@github-actions github-actions bot locked and limited conversation to collaborators Oct 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants