Improve behavior of the new project button when project limits are reached
Problem
As discussed in #367020 (comment 1619131164) - when a user's personal project limit has been hit, the new project button doesn't display on /dashboard/projects
, or in the +
menu:
This is confusing for people though (as evidenced by Confusing behaviour when user project limit is ... (#367020 - closed)), as users can still create new project, just not projects in their personal namespaces.
Proposal
The New project
button should be displayed at all times, except for when the user navigates to Yours > Personal
and sees the error message. If it is not possible to be that selective, then it's more correct to display the button together with the error message rather than not, because now we are disabling the user from creating ANY project and are forcing them into a different workflow, when actually only one namespace is restricted for them to create projects in.