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:
JustZoe101 committed 2026-10-09 18:40:08 +02:00
1 parent b2b44bca73
commit 587bf732b5
31 files changed
+1919 -46

No files matched your search

@@ -15,6 +15,7 @@ import { queryClient } from '@/core/api/query-client';
import type { BiometricSupport } from '@/core/security/biometrics';
import { getBiometricSupport } from '@/core/security/biometrics';
import { useSettingsStore, type ThemePreference } from '@/features/settings/settings-store';
import { useCurrentUser } from '@/features/profile/queries';
import { useRootNavigation } from '@/navigation/use-root-navigation';
import type { LanguagePreference } from '@/i18n';
import { useTheme } from '@/theme/theme-provider';
@@ -45,6 +46,7 @@ export function SettingsScreen(_props: Props) {
const setNotificationPollSeconds = useSettingsStore((s) => s.setNotificationPollSeconds);
const editorUrlTemplate = useSettingsStore((s) => s.editorUrlTemplate);
const setEditorUrlTemplate = useSettingsStore((s) => s.setEditorUrlTemplate);
const currentUser = useCurrentUser();
const [support, setSupport] = useState<BiometricSupport | null>(null);
@@ -215,8 +217,16 @@ export function SettingsScreen(_props: Props) {
leadingIcon="lock"
title={t('credentials.title')}
onPress={() => stackNavigation.navigate('Credentials')}
divider={false}
divider={currentUser.data?.is_admin ? true : false}
/>
{currentUser.data?.is_admin ? (
<ListItem
leadingIcon="shield"
title={t('admin.title')}
onPress={() => stackNavigation.navigate('Admin')}
divider={false}
/>
) : null}
</Card>
</Section>