- auth: welcome/connect screens, shared connect form, connect flow, app lock - accounts: session hook, actions, switcher + add-account screens - home: dashboard (identity, shortcuts, recent repos, assigned issues, review requests, activity, unread badge) - repositories/repository: list+search, overview, files, file viewer, commits, commit detail, branches, tags, repo issues/pulls, issue/pull detail - issues/notifications: cross-repo search, query hooks, inbox with read marking and lifecycle-aware polling - settings: theme/language/biometrics/poll interval/cache/about
19 lines
628 B
TypeScript
19 lines
628 B
TypeScript
import { Screen } from '@/components/layout/screen';
|
|
import { ConnectForm } from '@/features/auth/components/connect-form';
|
|
import type { AuthStackParamList } from '@/navigation/types';
|
|
import type { ScreenProps } from '@/navigation/typing';
|
|
|
|
type Props = ScreenProps<AuthStackParamList, 'Connect'>;
|
|
|
|
/**
|
|
* Standalone sign-in screen: instance + personal access token. Registration
|
|
* flips the root navigator to the main app automatically (see RootNavigator).
|
|
*/
|
|
export function ConnectScreen({ route }: Props) {
|
|
return (
|
|
<Screen scroll>
|
|
<ConnectForm initialBaseUrl={route.params?.baseUrl} />
|
|
</Screen>
|
|
);
|
|
}
|