A restriction applied from a case is listed twice on the case page: once under Linked actions and again under Linked restrictions, with the same ID.
cases/[id]/+page.svelte:473-492 lists every linked action, including records whose type is restriction (it switches the ID label to "Restriction ID" for them, :488-490).
cases/[id]/+page.svelte:515-569 lists the same restrictions again with their scope, expiry, note and revoke button.
The duplicate makes the sidebar longer and suggests a second, separate action was taken.
Screenshots
Synthetic preview. Cases, archived chat and a second moderator were added through the moderation API for these screenshots. The after images are mockups.
Before:
After (mockup):
Fix
Show only warnings, kicks and messages under Linked actions, and say that restrictions are listed below
Keep restrictions available as supporting actions in the Close case dialog
A restriction applied from a case is listed twice on the case page: once under **Linked actions** and again under **Linked restrictions**, with the same ID.
- `cases/[id]/+page.svelte:473-492` lists every linked action, including records whose `type` is `restriction` (it switches the ID label to "Restriction ID" for them, `:488-490`).
- `cases/[id]/+page.svelte:515-569` lists the same restrictions again with their scope, expiry, note and revoke button.
The duplicate makes the sidebar longer and suggests a second, separate action was taken.
**Screenshots**
Synthetic preview. Cases, archived chat and a second moderator were added through the moderation API for these screenshots. The after images are mockups.
Before:

After (mockup):

**Fix**
- [ ] Show only warnings, kicks and messages under Linked actions, and say that restrictions are listed below
- [ ] Keep restrictions available as supporting actions in the Close case dialog
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
A restriction applied from a case is listed twice on the case page: once under Linked actions and again under Linked restrictions, with the same ID.
cases/[id]/+page.svelte:473-492lists every linked action, including records whosetypeisrestriction(it switches the ID label to "Restriction ID" for them,:488-490).cases/[id]/+page.svelte:515-569lists the same restrictions again with their scope, expiry, note and revoke button.The duplicate makes the sidebar longer and suggests a second, separate action was taken.
Screenshots
Synthetic preview. Cases, archived chat and a second moderator were added through the moderation API for these screenshots. The after images are mockups.
Before:

After (mockup):

Fix