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
@@ -4,6 +4,7 @@ import { useTranslation } from 'react-i18next';
|
||||
import { QueryList } from '@/components/layout/query-list';
|
||||
import { AppText } from '@/components/ui/app-text';
|
||||
import { Badge } from '@/components/ui/badge';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { EmptyState } from '@/components/ui/state-views';
|
||||
import type { Release } from '@/core/api/types';
|
||||
import { flattenPages } from '@/core/utils/infinite';
|
||||
@@ -28,6 +29,17 @@ export function ReleasesScreen({ navigation, route }: Props) {
|
||||
query={query}
|
||||
items={releases}
|
||||
keyExtractor={(release) => String(release.id ?? release.tag_name)}
|
||||
header={
|
||||
<View style={styles.header}>
|
||||
<Button
|
||||
label={t('releases.create')}
|
||||
variant="secondary"
|
||||
iconLeft="plus"
|
||||
fullWidth
|
||||
onPress={() => navigation.navigate('ReleaseCompose', { owner, name })}
|
||||
/>
|
||||
</View>
|
||||
}
|
||||
renderItem={(release) => (
|
||||
<View style={styles.row}>
|
||||
<AppText
|
||||
@@ -57,6 +69,7 @@ export function ReleasesScreen({ navigation, route }: Props) {
|
||||
}
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
header: { paddingHorizontal: spacing.lg, paddingVertical: spacing.sm },
|
||||
row: {
|
||||
paddingHorizontal: spacing.lg,
|
||||
paddingVertical: spacing.md,
|
||||
|
||||
Reference in new issue
Block a user