Skip to content

Commit fccceac

Browse files
fix(batch-changes): repair broken permissions table (#1770)
## What Fixes the broken table under "Batch Change access for each permission level" on `/batch-changes/permissions-in-batch-changes`. Previously the table rendered as a single paragraph with literal `|` separators visible to the reader. ## Currently at Permissions in Batch Changes You can see the page [here](https://sourcegraph.com/docs/batch-changes/permissions-in-batch-changes#permissions-in-batch-changes) <img width="754" height="590" alt="image" src="https://github.com/user-attachments/assets/9dafe43f-4737-4360-8af9-b17f38ecc5dc" /> ## After (locally) <img width="757" height="794" alt="image" src="https://github.com/user-attachments/assets/837b94e1-45fc-4166-be66-bca2dca649ef" /> ## Why The markdown was malformed in two ways: 1. There was a blank line between the header row and the `|---|` separator row. GFM requires the separator to be on the line immediately after the header, otherwise the whole block falls back to a paragraph. 2. The rows were missing leading/trailing `|` pipes, unlike every other table in the repo. ## How Rewrote the table using the standard pipe-delimited form already used elsewhere in the docs (e.g., `docs/tutorials/index.mdx`). No content changes — the actions and ✅/❌ values are identical to the previous source. ## Test plan - `pnpm run dev` and visit `/batch-changes/permissions-in-batch-changes` - Confirm the "Batch Change access for each permission level" section renders as a real table with three columns (Batch change action / Read / Admin) - Confirm no other pages are affected (only this one file changed)
1 parent d2fa014 commit fccceac

1 file changed

Lines changed: 14 additions & 15 deletions

File tree

docs/batch-changes/permissions-in-batch-changes.mdx

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,20 @@ Batch changes can be created under the user's or an organization's namespace. If
3030

3131
The following table shows the access for each permission level for a batch change.
3232

33-
**Batch change action** | **Read** | **Admin**
34-
35-
------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------: | :-------:
36-
View batch change name and description<br/>(Also shows input branch name, create/update dates, and batch change status) | ✅ | ✅
37-
View burndown chart (aggregate changeset statuses over time) | ✅ | ✅
38-
View list of patches and changesets | ✅ | ✅
39-
View `diffstat` (aggregate count of added/changed/deleted lines) | ✅ | ✅
40-
View error messages (related to creating or syncing changesets) | ❌ | ✅
41-
Edit batch change name, description, and branch name | ❌ | ✅
42-
Update batch change patches (and changesets on code hosts) | ❌ | ✅
43-
Publish changesets to code host | ❌ | ✅
44-
Add/remove existing changesets to/from batch change | ❌ | ✅
45-
Refresh changeset statuses | ❌ | ✅
46-
Close batch change | ❌ | ✅
47-
Delete batch change | ❌ | ✅
33+
| **Batch change action** | **Read** | **Admin** |
34+
| ----------------------- | :------: | :-------: |
35+
| View batch change name and description<br/>(Also shows input branch name, create/update dates, and batch change status) |||
36+
| View burndown chart (aggregate changeset statuses over time) |||
37+
| View list of patches and changesets |||
38+
| View `diffstat` (aggregate count of added/changed/deleted lines) |||
39+
| View error messages (related to creating or syncing changesets) |||
40+
| Edit batch change name, description, and branch name |||
41+
| Update batch change patches (and changesets on code hosts) |||
42+
| Publish changesets to code host |||
43+
| Add/remove existing changesets to/from batch change |||
44+
| Refresh changeset statuses |||
45+
| Close batch change |||
46+
| Delete batch change |||
4847

4948
<Callout type="note">
5049
Authorization for all actions is also subject to [repository

0 commit comments

Comments
 (0)