Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature/9348-DemoModeAPIOverrides #9544

Merged
merged 31 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
3528f65
setup
Sparowhawk Sep 5, 2024
9188d9a
stage 2
Sparowhawk Sep 6, 2024
a2e306b
setup override api screen
Sparowhawk Sep 10, 2024
53a6807
applied to all gets
Sparowhawk Sep 10, 2024
6a8be15
applied to all gets
Sparowhawk Sep 10, 2024
7f4382b
fixed
Sparowhawk Sep 10, 2024
c8dd338
I think it's all updated
Sparowhawk Oct 1, 2024
ccb165c
updated
Sparowhawk Oct 1, 2024
c97ab43
Merge branch 'develop' into feature/9348-DemoModeAPIOverrides
Sparowhawk Oct 1, 2024
e3e2292
removed more unnecessary code
Sparowhawk Oct 1, 2024
5154eb5
updated pods
Sparowhawk Oct 1, 2024
556c4a6
updated
Sparowhawk Oct 3, 2024
15d974a
reverting more api files
Sparowhawk Oct 3, 2024
cfa6001
finished
Sparowhawk Oct 3, 2024
08fbc87
Merge branch 'develop' into feature/9348-DemoModeAPIOverrides
Sparowhawk Oct 3, 2024
03fd2ec
converted rest of keys to endpoint urls
Sparowhawk Oct 3, 2024
d008936
Merge branch 'develop' into feature/9348-DemoModeAPIOverrides
Sparowhawk Oct 4, 2024
d1874f4
updated with notifications
Sparowhawk Oct 4, 2024
83b6570
updates to redux
Sparowhawk Oct 22, 2024
16292b3
updated to array of api groupings
Sparowhawk Oct 24, 2024
00224ce
fixed linting error
Sparowhawk Oct 24, 2024
5afeb63
updated
Sparowhawk Oct 29, 2024
6bfc801
added type and updated to array
Sparowhawk Oct 29, 2024
69b74a4
reduced code
Sparowhawk Oct 29, 2024
19ee31d
fixed
Sparowhawk Nov 5, 2024
6186db2
updated
Sparowhawk Nov 5, 2024
1c86001
updated
Sparowhawk Nov 5, 2024
c63569b
Merge branch 'develop' into feature/9348-DemoModeAPIOverrides
rbontrager Nov 7, 2024
423554f
fixed recipients
Sparowhawk Nov 7, 2024
395025c
fixed unintended crash
Sparowhawk Nov 7, 2024
161a893
fixed unit test
Sparowhawk Nov 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions VAMobile/src/screens/HomeScreen/HomeScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ import ProfileScreen from './ProfileScreen/ProfileScreen'
import SettingsScreen from './ProfileScreen/SettingsScreen'
import AccountSecurity from './ProfileScreen/SettingsScreen/AccountSecurity/AccountSecurity'
import DeveloperScreen from './ProfileScreen/SettingsScreen/DeveloperScreen'
import OverrideAPIScreen from './ProfileScreen/SettingsScreen/DeveloperScreen/OverrideApiScreen'
import RemoteConfigScreen from './ProfileScreen/SettingsScreen/DeveloperScreen/RemoteConfigScreen'
import NotificationsSettingsScreen from './ProfileScreen/SettingsScreen/NotificationsSettingsScreen/NotificationsSettingsScreen'

Expand Down Expand Up @@ -587,6 +588,11 @@ function HomeStackScreen({}: HomeStackScreenProps) {
options={FEATURE_LANDING_TEMPLATE_OPTIONS}
/>
<HomeScreenStack.Screen name="Developer" component={DeveloperScreen} options={FEATURE_LANDING_TEMPLATE_OPTIONS} />
<HomeScreenStack.Screen
name="OverrideAPI"
component={OverrideAPIScreen}
options={FEATURE_LANDING_TEMPLATE_OPTIONS}
/>
<HomeScreenStack.Screen
name="RemoteConfig"
component={RemoteConfigScreen}
Expand Down
1 change: 1 addition & 0 deletions VAMobile/src/screens/HomeScreen/HomeStackScreens.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export type HomeStackParamList = WebviewStackParams & {
PersonalInformation: undefined
PreferredName: undefined
ContactInformation: undefined
OverrideAPI: undefined
RemoteConfig: undefined
Settings: undefined
WaygateEdit: { waygateName: string; waygate: Waygate }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,11 @@ function DeveloperScreen({ navigation }: DeveloperScreenSettingsScreenProps) {
</TextView>
<SimpleList items={firebaseList} />
</Box>
<Box mt={theme.dimensions.standardMarginBetween}>
<TextArea>
<Button onPress={() => navigateTo('OverrideAPI')} label={'Override Api Calls'} />
</TextArea>
</Box>
<Box mt={theme.dimensions.condensedMarginBetween}>
<TextArea>
<TextView variant="MobileBodyBold" accessibilityRole="header">
Expand Down
Loading
Loading