You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Address PR feedback: Make status sync opt-in and fix issues
- Add EnableStatusSync config option (opt-in, default: false)
- Check if GitHub status is already busy before overwriting
- Clear stored GitHub status from KV store on account disconnect
- Fix misleading post type name (remove "ephemeral")
- Add error wrapping for better traceability in GraphQL client
- Format code with gofmt
Addresses feedback from reviewers:
- System-wide opt-in configuration
- Respects manually set GitHub OOO statuses
- Proper cleanup on disconnect
- Improved error messages
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
Copy file name to clipboardExpand all lines: plugin.json
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -134,6 +134,13 @@
134
134
"type": "bool",
135
135
"help_text": "When set to 'true' you will get a notification with less details when a draft pull request is created and a notification with complete details when they are marked as ready for review. When set to 'false' no notifications are delivered for draft pull requests.",
136
136
"default": false
137
+
},
138
+
{
139
+
"key": "EnableStatusSync",
140
+
"display_name": "Enable Status Synchronization:",
141
+
"type": "bool",
142
+
"help_text": "(Optional) When enabled, users can opt-in to automatically sync their Mattermost 'Out of Office' status to GitHub. When a user sets their status to OOO in Mattermost, their GitHub status will be updated to 'Out of office' with busy indicator. The status is restored when they return. The feature respects manually set GitHub statuses and will not overwrite them.",
143
+
"default": false
137
144
}
138
145
],
139
146
"footer": "* To report an issue, make a suggestion or a contribution, [check the repository](https://github.com/mattermost/mattermost-plugin-github)."
0 commit comments