feat: release asset upload, transfer, Actions secrets/variables/artifacts, admin, teams/projects, file search, reactions, attachments, package version delete
- client: multipart postForm; expo-document-picker + react-native-webview deps - release assets: upload (DocumentPicker) and delete; run artifacts list - repository transfer; Actions secrets + variables management screen - admin (users/orgs/repos) screen gated on is_admin - org teams, repo projects (read-only); find-file via recursive git tree - issue reactions toggle and attachments list; package version delete - endpoint tests (126 total)
This commit is contained in:
1 parent
b2b44bca73
commit
587bf732b5
31 files changed
+1919
-46
No files matched your search
@@ -9,6 +9,7 @@ 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 { ActionsSettingsScreen } from '@/features/repository/screens/actions-settings-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';
|
||||
@@ -17,8 +18,10 @@ import { DeployKeysScreen } from '@/features/repository/screens/deploy-keys-scre
|
||||
import { FileEditScreen } from '@/features/repository/screens/file-edit-screen';
|
||||
import { FileViewerScreen } from '@/features/repository/screens/file-viewer-screen';
|
||||
import { FilesScreen } from '@/features/repository/screens/files-screen';
|
||||
import { FindFileScreen } from '@/features/repository/screens/find-file-screen';
|
||||
import { IssueComposeScreen } from '@/features/repository/screens/issue-compose-screen';
|
||||
import { IssueDetailScreen } from '@/features/repository/screens/issue-detail-screen';
|
||||
import { ProjectsScreen } from '@/features/repository/screens/projects-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';
|
||||
@@ -203,6 +206,21 @@ export function RepositoryNavigator() {
|
||||
component={ActionRunDetailScreen}
|
||||
options={{ title: t('actions.runTitle') }}
|
||||
/>
|
||||
<Stack.Screen
|
||||
name="ActionsSettings"
|
||||
component={ActionsSettingsScreen}
|
||||
options={{ title: t('repoSettings.actionsSettings') }}
|
||||
/>
|
||||
<Stack.Screen
|
||||
name="FindFile"
|
||||
component={FindFileScreen}
|
||||
options={{ title: t('files.findFile') }}
|
||||
/>
|
||||
<Stack.Screen
|
||||
name="Projects"
|
||||
component={ProjectsScreen}
|
||||
options={{ title: t('projects.title') }}
|
||||
/>
|
||||
</Stack.Navigator>
|
||||
);
|
||||
}
|
||||
@@ -3,7 +3,9 @@ import { useTranslation } from 'react-i18next';
|
||||
|
||||
import { CredentialsScreen } from '@/features/profile/screens/credentials-screen';
|
||||
import { CreateOrgScreen } from '@/features/profile/screens/create-org-screen';
|
||||
import { AdminScreen } from '@/features/profile/screens/admin-screen';
|
||||
import { OrgReposScreen } from '@/features/profile/screens/org-repos-screen';
|
||||
import { OrgTeamsScreen } from '@/features/profile/screens/org-teams-screen';
|
||||
import { OrganizationsScreen } from '@/features/profile/screens/organizations-screen';
|
||||
import { PackagesScreen } from '@/features/profile/screens/packages-screen';
|
||||
import { ProfileScreen } from '@/features/profile/screens/profile-screen';
|
||||
@@ -54,6 +56,16 @@ export function SettingsNavigator() {
|
||||
component={CreateOrgScreen}
|
||||
options={{ title: t('organizations.create') }}
|
||||
/>
|
||||
<Stack.Screen
|
||||
name="OrgTeams"
|
||||
component={OrgTeamsScreen}
|
||||
options={{ title: t('organizations.teams') }}
|
||||
/>
|
||||
<Stack.Screen
|
||||
name="Admin"
|
||||
component={AdminScreen}
|
||||
options={{ title: t('admin.title') }}
|
||||
/>
|
||||
</Stack.Navigator>
|
||||
);
|
||||
}
|
||||
@@ -63,6 +63,9 @@ export type RepositoryStackParamList = {
|
||||
DeployKeys: { owner: string; name: string };
|
||||
Actions: { owner: string; name: string };
|
||||
ActionRunDetail: { owner: string; name: string; id: number };
|
||||
ActionsSettings: { owner: string; name: string };
|
||||
FindFile: { owner: string; name: string; ref?: string };
|
||||
Projects: { owner: string; name: string };
|
||||
};
|
||||
|
||||
export type RepositoriesStackParamList = {
|
||||
@@ -74,10 +77,12 @@ export type SettingsStackParamList = {
|
||||
Settings: undefined;
|
||||
Organizations: undefined;
|
||||
OrgRepos: { org: string };
|
||||
OrgTeams: { org: string };
|
||||
Packages: undefined;
|
||||
Credentials: undefined;
|
||||
Profile: undefined;
|
||||
CreateOrg: undefined;
|
||||
Admin: undefined;
|
||||
};
|
||||
|
||||
export type AccountsStackParamList = {
|
||||
|
||||
Reference in new issue
Block a user