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
@@ -234,6 +234,13 @@ export function RepoOverviewScreen({ navigation, route }: Props) {
|
||||
onPress={() => void Linking.openURL(`${repoUrl}/wiki`).catch(() => undefined)}
|
||||
/>
|
||||
) : null}
|
||||
{repo.has_actions !== false ? (
|
||||
<ListItem
|
||||
leadingIcon="autoRenew"
|
||||
title={t('actions.title')}
|
||||
onPress={() => navigation.navigate('Actions', { owner, name })}
|
||||
/>
|
||||
) : null}
|
||||
{repo.has_issues !== false ? (
|
||||
<ListItem
|
||||
leadingIcon="issue"
|
||||
@@ -254,6 +261,23 @@ export function RepoOverviewScreen({ navigation, route }: Props) {
|
||||
</Card>
|
||||
</View>
|
||||
|
||||
{/* Manage */}
|
||||
{repo.permissions?.push || repo.permissions?.admin || repo.permissions?.pull ? (
|
||||
<View style={styles.section}>
|
||||
<AppText variant="subheading" style={styles.sectionTitle}>
|
||||
{t('repo.manage')}
|
||||
</AppText>
|
||||
<Card padded={false} variant="flat" style={styles.card}>
|
||||
<ListItem
|
||||
leadingIcon="gear"
|
||||
title={t('repoSettings.title')}
|
||||
onPress={() => navigation.navigate('RepoSettings', { owner, name })}
|
||||
divider={false}
|
||||
/>
|
||||
</Card>
|
||||
</View>
|
||||
) : null}
|
||||
|
||||
{/* Statistics */}
|
||||
<View style={styles.section}>
|
||||
<AppText variant="subheading" style={styles.sectionTitle}>
|
||||
|
||||
Reference in new issue
Block a user