Closed jazelly closed 5 months ago
This is not a "strict" validation. We just wanted to have it to where the workspace name was not just a
or something like that. I suppose it could be argued it doesn't make sense and we should permit anything since in the landing page that is also allowed
@timothycarambat Yes, exactly, I think it's up to the design, but considering the name length has been allowed to be less than 4 characters in the workspace settings page, wouldn't it be kind of breaking backward compatibility by reintroducing that?
So IMHO, probably just remove the workspace length restriction in the onboarding flow. I'm happy to raise a PR to address this trivial change.
IIRC, the reason it every existed is because in like the v0 version of AnythingLLM we did not use slugs
for the paths, so there was no guarantee they would be unique. Now, that is long long gone and you can have 40 workspaces all named a
and they will get unique slugs so its basically a non-issue now and that limitation can be removed.
How are you running AnythingLLM?
All versions
What happened?
in the onboarding flow, the workspace name length is restricted to be minimum 4 characters, while in the sidebar, a user can create a workspace name with any length.
Are there known steps to reproduce?
No response