Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@danciaclara
Copy link
Collaborator

@danciaclara danciaclara commented Oct 7, 2025

Description

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • Feature (non-breaking change which adds functionality)
  • Improvement (change that would cause existing functionality to not work as expected)
  • Code refactoring
  • Performance improvements
  • Documentation update

Screenshots and Media (if applicable)

Test Scenarios

References

Summary by CodeRabbit

  • Documentation
    • GitHub integration: tightened numbered-step formatting for clearer, more consistent instructions.
    • GitLab integration: reorganized into tabbed Cloud vs Self‑managed flows with separate setup paths, images, and platform-specific redirect guidance.
    • Expanded setup guidance: clarified OAuth/application steps, confidentiality notes, and a detailed scopes table.
    • Improved configuration: clearer activation steps, credential copy instructions, and edition-specific environment variable guidance.

@vercel
Copy link

vercel bot commented Oct 7, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
developer-docs Error Error Oct 13, 2025 1:14pm

@coderabbitai
Copy link

coderabbitai bot commented Oct 7, 2025

Walkthrough

GitHub doc: indentation-only formatting fixes. GitLab doc: restructured from a single linear guide into tabbed GitLab Cloud vs GitLab Self‑managed flows with per-path redirect URIs, scopes, images, per-tab configuration steps, and edition-aware activation links.

Changes

Cohort / File(s) Summary
GitHub docs formatting
self-hosting/govern/integrations/github.mdx
Removed extra leading spaces in numbered list items; purely indentation/formatting changes with no semantic or functional edits.
GitLab docs restructure (tabs, edition-specific)
self-hosting/govern/integrations/gitlab.mdx
Replaced linear guide with tabbed Cloud vs Self‑managed paths; added global activation warning; per-tab Create GitLab Application steps (redirect URIs, confidentiality guidance, scopes, images); per-tab Configure Plane instance instructions (credentials, env/UI steps); copy-credentials visuals; and edition-aware activation links/flows.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant DocsUI as "Docs (Tabbed UI)"
    participant GitProvider as "GitLab Provider"
    participant Plane as "Plane Instance / Admin"

    User->>DocsUI: Open GitLab integration page
    DocsUI-->>User: Render tabs (GitLab Cloud / GitLab Self‑managed)
    alt Select Cloud
        User->>DocsUI: Choose "GitLab Cloud" tab
        DocsUI-->>User: Show Cloud-specific redirect URI, scopes, images
    else Select Self‑managed
        User->>DocsUI: Choose "GitLab Self‑managed" tab
        DocsUI-->>User: Show self‑managed redirect URI, scopes, images
    end
    User->>GitProvider: Create App with shown redirect URI & scopes
    GitProvider-->>User: Return Client ID / Client Secret
    User->>Plane: Provide credentials to Plane (per-tab env/UI steps)
    Plane-->>User: Display edition-aware activation link / next steps
    Note over DocsUI,Plane: Flow differs only by selected tab (Cloud vs Self‑managed)
Loading

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~45 minutes

Poem

I thump through docs with tidy paws,
Tabs split Cloud and Self‑managed laws.
URIs and scopes now neatly shown,
Secrets copied, configs known.
GitHub lists trimmed — hop, merge, applause! 🐰✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title highlights self-managed GitLab configuration but omits the parallel GitLab Cloud setup introduced by the new dual-tab design as well as the minor GitHub guide formatting tweaks, so it captures a real part of the changes but doesn’t summarize the full scope.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch gitlab-self-managed

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
self-hosting/govern/integrations/github.mdx (1)

75-134: Restore ordered-list indentation inside the GitHub Enterprise tab.

Dropping the two leading spaces before list items 2‑7 breaks the numbered list inside the tab—MDX treats them as separate paragraphs, so the order resets in the rendered docs. Please re-indent those items (match the Cloud tab) to preserve the sequence.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between cf59ae3 and 57cc722.

📒 Files selected for processing (2)
  • self-hosting/govern/integrations/github.mdx (3 hunks)
  • self-hosting/govern/integrations/gitlab.mdx (2 hunks)

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 57cc722 and c3ebd6a.

📒 Files selected for processing (1)
  • self-hosting/govern/integrations/gitlab.mdx (2 hunks)

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c3ebd6a and 53409bb.

📒 Files selected for processing (1)
  • self-hosting/govern/integrations/gitlab.mdx (4 hunks)

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

♻️ Duplicate comments (1)
self-hosting/govern/integrations/gitlab.mdx (1)

132-139: Add self‑managed instance configuration/env vars (currently missing).

Users copy credentials but aren’t told where to put them; the setup is incomplete without instance configuration.

Proposed patch (adjust env var names to match Plane’s actual config if different):

 <Tab title="GitLab Self-managed">
 
 1. Copy the **Application ID** and **Secret** from the newly created application.
     ![Copy credentials](/images/integrations/gitlab/copy-credentials.webp)
 
-2. Once you've created the application, [activate the GitLab Self-managed integration in Plane](https://docs.plane.so/integrations/gitlab?edition=gitlab-self-managed).
+2. Add these environment variables to your Plane instance's `.env` file:
+
+    ```bash
+    GITLAB_ENTERPRISE_CLIENT_ID=<application_id>
+    GITLAB_ENTERPRISE_CLIENT_SECRET=<secret>
+    GITLAB_ENTERPRISE_BASE_URL=<https://your-gitlab-instance>
+    ```
+
+3. Save the file and restart the instance.
+
+4. Once you've completed the instance configuration, [activate the GitLab Self-managed integration in Plane](https://docs.plane.so/integrations/gitlab?edition=gitlab-self-managed).
 </Tab>

Please confirm the exact env var keys Plane expects for self‑managed (enterprise) GitLab.

🧹 Nitpick comments (3)
self-hosting/govern/integrations/gitlab.mdx (3)

50-61: Reassess scopes: avoid redundant/over-broad permissions.

If api is required, read_api is redundant; if only read is needed, prefer read_api without api. Confirm the minimal scopes Plane actually uses.


82-96: Verify self‑managed redirect URIs and add language hint.

Confirm both callbacks, especially the “gitlab-enterprise” paths, are correct for Plane Cloud vs Self-hosted. Consider adding a language hint to the code fences (bash) for consistency.


31-37: Unify UI navigation wording for consistency.

Cloud uses “Preferences” while Self‑managed uses “Edit profile.” If both are valid (version-dependent), consider noting both to reduce confusion.

Also applies to: 65-69

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 53409bb and b3269da.

📒 Files selected for processing (1)
  • self-hosting/govern/integrations/gitlab.mdx (4 hunks)
🔇 Additional comments (2)
self-hosting/govern/integrations/gitlab.mdx (2)

29-63: Cloud tab rendering and confidentiality fix look good.

Tabs, lists, and code fences render correctly; “Confidential” is required—good catch.


114-131: Cloud instance configuration steps are complete.

Env vars and restart instructions are clear; activation link is edition‑specific.

@danciaclara danciaclara merged commit d3a57bb into preview Oct 13, 2025
4 of 5 checks passed
@danciaclara danciaclara deleted the gitlab-self-managed branch October 13, 2025 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants