mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-20 18:08:55 +00:00
Add a plugin-based issue provider architecture that allows plugins to register as issue providers alongside the existing built-in providers. - Plugin API: types for search, display, comments, two-way sync, and field mappings in @super-productivity/plugin-api - Registry service to manage plugin provider lifecycle - HTTP proxy with SSRF protection for plugin network requests - Adapter service implementing IssueServiceInterface for plugins - Sync adapter for plugin-based two-way sync - Plugin config UI in the issue provider edit dialog - Plugin providers shown in setup overview and issue panel Migrate GitHub from built-in to plugin as first proof: - Bundled github-issue-provider plugin with full feature parity - Reducer migration converts old GitHub data to plugin format while preserving legacy fields for cross-version compatibility - Auto-enable plugin when existing GitHub providers are detected - Plugin registers under 'GITHUB' key via MigratedIssueProviderKey - GitHub translations moved to plugin i18n bundles Mark Two-Way Sync as experimental in the UI.
25 lines
1.5 KiB
JSON
25 lines
1.5 KiB
JSON
{
|
|
"CFG": {
|
|
"REPO": "username/repositoryName",
|
|
"TOKEN": "Access Token",
|
|
"FILTER_USERNAME": "Username (e.g. to filter out changes by yourself)",
|
|
"BACKLOG_QUERY": "Backlog query (default: \"sort:updated state:open assignee:@me\")",
|
|
"HOW_TO_GET_TOKEN": "How to get a token"
|
|
},
|
|
"DISPLAY": {
|
|
"SUMMARY": "Summary",
|
|
"STATE": "Status",
|
|
"ASSIGNEE": "Assignee",
|
|
"LABELS": "Labels",
|
|
"MILESTONE": "Milestone",
|
|
"CREATOR": "Created by",
|
|
"DESCRIPTION": "Description"
|
|
},
|
|
"FORM_HELP": "<p>Here you can configure Super Productivity to list open GitHub issues for a specific repository in the task creation panel in the daily planning view. They will be listed as suggestions and will provide a link to the issue as well as more information about it.</p> <p>In addition, you can automatically import all open issues.</p><p>To get by usage limits and to access you can provide a an access token. <a href='https://docs.github.com/en/free-pro-team@latest/developers/apps/scopes-for-oauth-apps'>More info about its scopes can be found here</a>.",
|
|
"ERRORS": {
|
|
"CONFIG_ERROR": "GitHub: Error while mapping data. Is your repository name correct?",
|
|
"ERR_UNKNOWN": "GitHub: Unknown error {{statusCode}} {{errorMsg}}. API rate limit exceeded?",
|
|
"TWO_WAY_SYNC_INSUFFICIENT_PERMISSIONS": "GitHub: Must have admin rights to update issues. Your token needs the 'repo' scope.",
|
|
"AUTO_CREATE_ISSUE_FAILED": "GitHub: Failed to auto-create issue"
|
|
}
|
|
}
|