feat(phase5): actions, repo settings, collaborators, webhooks, protections, orgs, packages, credentials, release management
- API: Actions (workflows/runs/jobs/logs getText), repo create/edit/delete, collaborators, webhooks, branch protections, orgs, packages, user keys/GPG keys/tokens, release create/edit/delete - hooks: features/actions, repositories/settings-queries, features/profile - screens: Actions + run detail (expandable job logs), RepoSettings, Collaborators, Webhooks, Protections, CreateRepo, Organizations, OrgRepos, Packages, Credentials, ReleaseCompose; releases list/detail management - navigation + i18n (en/nl) wired for all new screens
This commit is contained in:
1 parent
5e8c9492b3
commit
fa1ebc9184
30 files changed
+3001
-9
No files matched your search
@@ -7,7 +7,10 @@ import { createNativeStackNavigator } from '@react-navigation/native-stack';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
import { HeaderAccountAndSettings } from '@/components/layout/header-buttons';
|
||||
import { ActionsScreen } from '@/features/repository/screens/actions-screen';
|
||||
import { ActionRunDetailScreen } from '@/features/repository/screens/action-run-detail-screen';
|
||||
import { BranchesScreen } from '@/features/repository/screens/branches-screen';
|
||||
import { CollaboratorsScreen } from '@/features/repository/screens/collaborators-screen';
|
||||
import { CommitDetailScreen } from '@/features/repository/screens/commit-detail-screen';
|
||||
import { CommitsScreen } from '@/features/repository/screens/commits-screen';
|
||||
import { FileEditScreen } from '@/features/repository/screens/file-edit-screen';
|
||||
@@ -15,16 +18,20 @@ import { FileViewerScreen } from '@/features/repository/screens/file-viewer-scre
|
||||
import { FilesScreen } from '@/features/repository/screens/files-screen';
|
||||
import { IssueComposeScreen } from '@/features/repository/screens/issue-compose-screen';
|
||||
import { IssueDetailScreen } from '@/features/repository/screens/issue-detail-screen';
|
||||
import { ProtectionsScreen } from '@/features/repository/screens/protections-screen';
|
||||
import { PullDetailScreen } from '@/features/repository/screens/pull-detail-screen';
|
||||
import { PullDiffScreen } from '@/features/repository/screens/pull-diff-screen';
|
||||
import { PullFilesScreen } from '@/features/repository/screens/pull-files-screen';
|
||||
import { PullReviewScreen } from '@/features/repository/screens/pull-review-screen';
|
||||
import { ReleaseComposeScreen } from '@/features/repository/screens/release-compose-screen';
|
||||
import { RepoIssuesScreen } from '@/features/repository/screens/repo-issues-screen';
|
||||
import { RepoOverviewScreen } from '@/features/repository/screens/repo-overview-screen';
|
||||
import { RepoPullsScreen } from '@/features/repository/screens/repo-pulls-screen';
|
||||
import { RepoSettingsScreen } from '@/features/repository/screens/repo-settings-screen';
|
||||
import { ReleaseDetailScreen } from '@/features/repository/screens/release-detail-screen';
|
||||
import { ReleasesScreen } from '@/features/repository/screens/releases-screen';
|
||||
import { TagsScreen } from '@/features/repository/screens/tags-screen';
|
||||
import { WebhooksScreen } from '@/features/repository/screens/webhooks-screen';
|
||||
import { shortSha } from '@/core/utils/format';
|
||||
import { useStackScreenOptions } from '@/navigation/header-options';
|
||||
import type { RepositoryStackParamList } from '@/navigation/types';
|
||||
@@ -148,6 +155,48 @@ export function RepositoryNavigator() {
|
||||
: t('pulls.comment'),
|
||||
})}
|
||||
/>
|
||||
<Stack.Screen
|
||||
name="ReleaseCompose"
|
||||
component={ReleaseComposeScreen}
|
||||
options={({ route }) => ({
|
||||
title: route.params.id ? t('releases.edit') : t('releases.create'),
|
||||
})}
|
||||
/>
|
||||
<Stack.Screen
|
||||
name="RepoIssues"
|
||||
component={RepoIssuesScreen}
|
||||
options={{ title: t('repo.issuesTab') }}
|
||||
/>
|
||||
<Stack.Screen
|
||||
name="RepoSettings"
|
||||
component={RepoSettingsScreen}
|
||||
options={{ title: t('repoSettings.title') }}
|
||||
/>
|
||||
<Stack.Screen
|
||||
name="Collaborators"
|
||||
component={CollaboratorsScreen}
|
||||
options={{ title: t('repoSettings.collaborators') }}
|
||||
/>
|
||||
<Stack.Screen
|
||||
name="Webhooks"
|
||||
component={WebhooksScreen}
|
||||
options={{ title: t('repoSettings.webhooks') }}
|
||||
/>
|
||||
<Stack.Screen
|
||||
name="Protections"
|
||||
component={ProtectionsScreen}
|
||||
options={{ title: t('repoSettings.protections') }}
|
||||
/>
|
||||
<Stack.Screen
|
||||
name="Actions"
|
||||
component={ActionsScreen}
|
||||
options={{ title: t('actions.title') }}
|
||||
/>
|
||||
<Stack.Screen
|
||||
name="ActionRunDetail"
|
||||
component={ActionRunDetailScreen}
|
||||
options={{ title: t('actions.runTitle') }}
|
||||
/>
|
||||
</Stack.Navigator>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user