Skip to content

Commit 72ab81e

Browse files
feat: adding ci to integrate with oxfmt and build check (#407)
* feat: adding ci to integrate with oxfmt and build check * fix: formatting
1 parent ee0bea0 commit 72ab81e

22 files changed

Lines changed: 167 additions & 122 deletions

File tree

.github/workflows/ci.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened]
6+
7+
jobs:
8+
check-format:
9+
name: Check Formatting
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- uses: pnpm/action-setup@v4
15+
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: 24
19+
cache: pnpm
20+
21+
- run: pnpm install --frozen-lockfile
22+
23+
- run: pnpm check:format
24+
25+
build:
26+
name: Build
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@v4
30+
31+
- uses: pnpm/action-setup@v4
32+
33+
- uses: actions/setup-node@v4
34+
with:
35+
node-version: 24
36+
cache: pnpm
37+
38+
- run: pnpm install --frozen-lockfile
39+
40+
- run: pnpm build

.oxfmtrc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "./node_modules/oxfmt/configuration_schema.json",
3+
"ignorePatterns": []
4+
}

docs/.vitepress/config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,9 @@ export default defineConfig({
196196

197197
socialLinks: [
198198
{ icon: "github", link: "https://github.com/makeplane/plane" },
199-
{ icon: "discord", link: "https://discord.com/invite/A92xrEGCge" },
200-
{ icon: "twitter", link: "https://twitter.com/planepowers" },
201-
{ icon: "linkedin", link: "https://www.linkedin.com/company/planepowers/" },
199+
{ icon: "discord", link: "https://discord.com/invite/A92xrEGCge" },
200+
{ icon: "twitter", link: "https://twitter.com/planepowers" },
201+
{ icon: "linkedin", link: "https://www.linkedin.com/company/planepowers/" },
202202
],
203203

204204
nav: [

docs/.vitepress/theme/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export default {
113113
handleTabHash();
114114
setupTabHashUpdates();
115115
});
116-
}
116+
},
117117
);
118118
},
119119
} satisfies Theme;

docs/.vitepress/theme/style.css

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,11 @@
187187

188188
/* Fonts */
189189
--vp-font-family-base:
190-
"Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
190+
"Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
191+
sans-serif;
191192
--vp-font-family-mono:
192-
"IBM Plex Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
193-
monospace;
193+
"IBM Plex Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas,
194+
"Liberation Mono", "Courier New", monospace;
194195
}
195196

196197
/* Dark mode */
@@ -686,7 +687,6 @@ a.VPLink.VPNavBarMenuLink[href*="sign-in"]:hover {
686687
}
687688
}
688689

689-
690690
/* ================================================
691691
HERO IMAGE STYLES
692692
================================================ */
@@ -874,4 +874,3 @@ article img[src$="#hero-br"] {
874874
.medium-zoom-image--opened {
875875
z-index: 1000;
876876
}
877-

docs/ai/plane-ai-credits.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,19 +135,19 @@ Credits provide granular control while remaining predictable. Unlike token-based
135135
It depends on your plan and how you acquired them. Free plan credits reset monthly with no rollover. Pro plan credits roll over for 1 month, Business for 3 months, and Enterprise plans roll over for up to 12 months. Top-up credits purchased separately are valid for 12 months on all paid plans, regardless of your base plan's rollover period.
136136
:::
137137

138-
::: details Do all workspace members share the same credit pool?
138+
::: details Do all workspace members share the same credit pool?
139139
Yes. Credits are allocated at the workspace level, creating a shared balance that all members draw from. This prevents the problem of some team members having unused credits while others run out. Admins can set per-user limits if needed to prevent any single member from consuming the entire pool.
140140
:::
141141

142-
::: details What happens when my workspace runs out of credits?
142+
::: details What happens when my workspace runs out of credits?
143143
You'll receive alerts when your balance reaches 20% and 5% of total capacity, giving you time to respond. Once you hit zero, AI features become unavailable until you top up or your monthly allocation renews. Your existing data, past AI results, and all non-AI functionality remain fully accessible. You just can't request new AI operations.
144144
:::
145145

146-
::: details Can I switch between plans without losing credits?
146+
::: details Can I switch between plans without losing credits?
147147
Yes, you can change plans anytime. When you switch, your unused credits carry forward and adopt the new plan's rollover rules. If you upgrade mid-month, your increased allocation takes effect immediately. If you downgrade, the change happens at your next billing cycle to avoid losing paid credits.
148148
:::
149149

150-
::: details How can I monitor my workspace's credit usage?
150+
::: details How can I monitor my workspace's credit usage?
151151
The real-time dashboard shows your remaining balance, consumption history, and trends over time. Before executing any AI action, you'll see a credit cost preview.
152152
:::
153153

docs/authentication/group-sync.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ Group syncing lets workspace admins map identity provider groups to Plane projec
2323
1. Navigate to **Workspace Settings → Group syncing**.
2424
2. Toggle on **Enable group syncing**.
2525

26-
![Group syncing](https://media.docs.plane.so/sso/enable-group-sync.webp#hero)
26+
![Group syncing](https://media.docs.plane.so/sso/enable-group-sync.webp#hero)
2727

2828
## Configure sync settings
2929

30-
| Setting | Description | Default |
31-
|---------|-------------|---------|
32-
| **Sync on login** | Update group membership and project access when a user signs in | Enabled (recommended) |
33-
| **Offline sync** | Run sync automatically every six hours, without waiting for users to log in | Disabled |
34-
| **Auto remove** | Automatically remove users from projects when they no longer match the group | Disabled |
35-
| **Group attribute key** | The identity provider attribute used to identify and sync user groups | `groups` |
30+
| Setting | Description | Default |
31+
| ----------------------- | ---------------------------------------------------------------------------- | --------------------- |
32+
| **Sync on login** | Update group membership and project access when a user signs in | Enabled (recommended) |
33+
| **Offline sync** | Run sync automatically every six hours, without waiting for users to log in | Disabled |
34+
| **Auto remove** | Automatically remove users from projects when they no longer match the group | Disabled |
35+
| **Group attribute key** | The identity provider attribute used to identify and sync user groups | `groups` |
3636

3737
Set **Group attribute key** to match exactly what your IdP sends. Common values include `groups` (default), `roles`, `memberOf`, or `custom:groups`.
3838

@@ -52,18 +52,19 @@ Repeat for additional group-to-project mappings.
5252

5353
## What happens on login
5454

55-
| Condition | Result |
56-
|-----------|--------|
57-
| User not in workspace, but in a mapped group | Added to workspace as Member, then added to mapped project(s) |
58-
| User in workspace, in mapped group, not yet in project | Added to project with configured role |
59-
| User in workspace, in mapped group, already in project | No change |
60-
| User in workspace, not in any mapped group | No action |
55+
| Condition | Result |
56+
| ------------------------------------------------------ | ------------------------------------------------------------- |
57+
| User not in workspace, but in a mapped group | Added to workspace as Member, then added to mapped project(s) |
58+
| User in workspace, in mapped group, not yet in project | Added to project with configured role |
59+
| User in workspace, in mapped group, already in project | No change |
60+
| User in workspace, not in any mapped group | No action |
6161

6262
## When users leave IdP groups
6363

6464
If a user is removed from an IdP group and **Auto remove** is enabled, they're removed from the corresponding project. They are never removed from the workspace.
6565

6666
**These users are never auto-removed**
67+
6768
- Users who were manually added to the project
6869
- Users who are the sole project admin
6970

@@ -86,4 +87,4 @@ Map your `engineering` group to all engineering projects. New engineers get acce
8687
Map `product-team`, `design-team`, and `marketing-team` to their respective projects. Users only see what's relevant to them.
8788

8889
**Contractor offboarding**
89-
Map `contractors` to projects with Guest role and enable Auto remove. Access is revoked the moment they're removed from the IdP group.
90+
Map `contractors` to projects with Guest role and enable Auto remove. Access is revoked the moment they're removed from the IdP group.

docs/core-concepts/issues/epics.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ A work item can belong to only one Epic. This ensures clarity in organization an
8686
:::
8787

8888
## Duplicate Epics <Badge type="info" text="Pro" />
89+
8990
When you need to create similar Epics or replicate an Epic's structure across projects, Plane allows you to duplicate existing Epics either within the same project or to different projects in your workspace.
9091

9192
To duplicate an Epic, click the ••• menu in the Epic header and select Make a copy. You'll see two options:

docs/core-concepts/issues/overview.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ Break down larger tasks into smaller, manageable components by creating sub-work
4646
![sub-work items](https://media.docs.plane.so/issues/issue-sub-issues.webp#hero)
4747

4848
## Duplicate work items <Badge type="info" text="Pro" />
49+
4950
When you need to create similar work items or replicate a work item's structure and properties, Plane lets you duplicate existing work items either within the same project or across different projects.
5051

5152
To duplicate a work item, click the **•••** menu in the work item header and select **Make a copy**. You'll see two options:
@@ -124,6 +125,7 @@ Plane allows you to upload different file types directly to the work item. Use t
124125
CSS, JavaScript, JSON, XML, CSV, SQL
125126

126127
## Link pages to work items <Badge type="info" text="Pro" />
128+
127129
Connect relevant project pages and wiki documentation to your work items to provide instant access to related context, specifications, or reference materials.
128130

129131
1. Use the **Link pages** button in the work item to open the page linking modal.

docs/core-concepts/pages/overview.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ Share the page by copying its link to send to your teammates or link it in a wor
134134
Duplicate an existing page to jumpstart new content.
135135

136136
### Move Page <Badge type="info" text="Pro" />
137+
137138
Transfer a page to Wiki, Teamspace or a different Project in your workspace.
138139

139140
### Lock Page

0 commit comments

Comments
 (0)