Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Merge requests
  • !9876

Merged
Created Dec 03, 2015 by Administrator@rootOwner

Clarify Project Limit Reached

  • Overview 5
  • Commits 1
  • Changes 7

Created by: atomaka

Issue #9874 (closed) points at that realizing your project limit has been reached can be difficult. Ideally, the user needs to be notified in some way. This pull request adds an alert to the user's dashboard when they have reached their project limit.

project-limit

This functions the same way as the alerts for when a user does not have an SSH key or a password and can be hidden temporarily or permanently. This is accomplished using Javascript to create a cookie when the user clicks Remind later and a boolean field on the User model (hide_project_limit) when the user clicks Don't show again. Based on the truthiness of these two values and the status of User.can_create_project? the message will be displayed or not.

If accepted, a follow up pull request will need to be issued to address the repetitive code. This will be the third time that similar code is used and it should be abstracted. I thought adding that to this pull request would be too much, but could visit it now if you'd like.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: github/fork/atomaka/atomaka/feature/project-limit-notify