GitLab group based communities
Problem to solve
As a GitLab user, Gitter doesn't suggest projects/groups from my linked GitLab when creating a new community. If my account is linked to GitHub it suggests my GitHub projects.
Further details
The current create community flow is GitHub focused and only supports creating GitHub based communities. We want to add support for GitLab groups.
Before this can be supported, a number of backend changes are required. See https://gitlab.com/gitlab-org/gitter/webapp/issues/2393
Proposal
Current experience for GitHub users
community-create/main-step/community-creation-main-view.js |
community-creation-github-projects-view.js |
---|---|
When signed in as a user linked to GitLab:
- when Creating a community, suggest creating a community based on my GitLab groups
- show a list of GitLab groups to choose from
A follow up will be required to add support for personal projects which do not have a namespace.
Todo
-
public/js/utils/backend-utils.js -
public/js/views/app/headerView.js -
public/js/views/chat/decorators/issuableDecorator.js- Not needed for this iteration
-
public/js/views/community-create/main-step/community-creation-main-view.js -
public/js/views/community-create/community-create-model.js -
public/js/views/community-create/github-projects-step/community-creation-github-projects-view.js -
public/js/views/community-create/github-projects-step/community-creation-github-projects-view.hbs - https://gitlab.com/gitlab-org/gitter/webapp/merge_requests/1559
- https://gitlab.com/gitlab-org/gitter/webapp/-/merge_requests/1757
-
-
public/js/views/modals/create-room-view.js- Not necessary for this iteration. It's only used for the "Only GitHub users" option
-
public/js/views/modals/permissions-view.js
Edited by Eric Eastwood