mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-18 08:56:41 +00:00
GitHub API returns 404 instead of 401/403 when authentication is missing or insufficient. Add token validation, catch 401/403/404 responses with actionable translated error messages, and surface error details in snack notifications for both auto-create and two-way sync push failures.
23 lines
1.3 KiB
JSON
23 lines
1.3 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?"
|
|
}
|
|
}
|