feat(ui): add GitLab connect settings

This commit is contained in:
2026-08-16 15:42:26 +00:00
parent d798b3f479
commit a42eec5c9c
15 changed files with 626 additions and 0 deletions
@@ -1695,6 +1695,29 @@ export const settingsDict = {
'settings.github.page.toast.ghCliEnabled': 'gh CLI fallback enabled',
'settings.github.page.toast.ghCliDisabled': 'gh CLI fallback disabled',
'settings.github.page.toast.ghCliUpdateFailed': 'Failed to update gh CLI setting',
'settings.gitlab.page.title': 'GitLab Personal Access Token',
'settings.gitlab.page.description': 'Paste a GitLab personal access token to connect. Set the base URL when using a self-hosted GitLab instance.',
'settings.gitlab.page.tooltip.connectAccount': 'Connect a GitLab account for in-app issue and merge request workflows.',
'settings.gitlab.page.accessToken.label': 'Personal Access Token',
'settings.gitlab.page.accessToken.placeholder': 'Paste your GitLab personal access token',
'settings.gitlab.page.baseUrl.label': 'Base URL (optional)',
'settings.gitlab.page.baseUrl.placeholder': 'https://gitlab.com',
'settings.gitlab.page.actions.connect': 'Connect GitLab',
'settings.gitlab.page.actions.disconnect': 'Disconnect',
'settings.gitlab.page.actions.switch': 'Switch to',
'settings.gitlab.page.status.notConnected': 'Not Connected',
'settings.gitlab.page.label.unknownUser': 'unknown',
'settings.gitlab.page.label.otherAccounts': 'Other Accounts',
'settings.gitlab.page.avatarAlt.withLogin': '{login} avatar',
'settings.gitlab.page.avatarAlt.fallback': 'GitLab avatar',
'settings.gitlab.page.connectedAs': 'Connected as',
'settings.gitlab.page.errors.invalidToken': 'Enter a valid GitLab personal access token',
'settings.gitlab.page.errors.failed': 'Failed to connect GitLab',
'settings.gitlab.page.toast.connected': 'GitLab connected',
'settings.gitlab.page.toast.disconnected': 'GitLab disconnected',
'settings.gitlab.page.toast.disconnectFailed': 'Failed to disconnect GitLab',
'settings.gitlab.page.toast.accountSwitched': 'GitLab account switched',
'settings.gitlab.page.toast.accountSwitchFailed': 'Failed to switch GitLab account',
'settings.notifications.page.delivery.title': 'Notification Delivery',
'settings.notifications.page.delivery.enableAria': 'Enable notifications',
'settings.notifications.page.delivery.enableLabel': 'Enable Notifications',