Skip to content

Commit

Permalink
Merge pull request #1144 from andrew-bierman/hide-features-temp
Browse files Browse the repository at this point in the history
disable some features in short term
  • Loading branch information
andrew-bierman authored Jul 26, 2024
2 parents fbdbd5c + 9968963 commit ea74cf8
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 19 deletions.
18 changes: 10 additions & 8 deletions packages/app/components/feed/FeedSearchFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ const dataValues = [
'Most Recent',
'Lightest',
'Heaviest',
'Most Items',
'Fewest Items',
// 'Most Items',
// 'Fewest Items',
'Oldest',
];

Expand Down Expand Up @@ -188,12 +188,14 @@ const FeedSearchFilter = ({
>
Sort By:
</RText>
<DropdownComponent
value={queryString}
data={dataValues}
onValueChange={handleSortChange}
placeholder={queryString}
/>
<View style={{ flex: 1 }}>
<DropdownComponent
value={queryString}
data={dataValues}
onValueChange={handleSortChange}
placeholder={queryString}
/>
</View>
</RStack>
{(feedType === 'userPacks' || feedType === 'userTrips') && (
<RButton onPress={handleCreateClick}>Create</RButton>
Expand Down
13 changes: 7 additions & 6 deletions packages/app/hooks/dashboard/useQuickActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ const quickActionData: IQuickActionData[] = [
text: 'Create a Pack',
href: '/pack/create',
},
{
action: 'createTrip',
iconName: 'navigation',
text: 'Create a Trip',
href: '/trip/create',
},
/* DISABLE TRIP TEMP */
// {
// action: 'createTrip',
// iconName: 'navigation',
// text: 'Create a Trip',
// href: '/trip/create',
// },
];

export const useQuickActions = () => {
Expand Down
6 changes: 3 additions & 3 deletions packages/ui/src/Bento/forms/layouts/SignInScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export function SignInScreen({
<Paragraph>Or</Paragraph>
<Separator />
</View>
<View flexDirection="row" flexWrap="wrap" gap="$3">
{/* <View flexDirection="row" flexWrap="wrap" gap="$3">
<RIconButton
disabled={!isGoogleSignInReady}
flex={1}
Expand All @@ -121,8 +121,8 @@ export function SignInScreen({
>
Continue with Google
</RIconButton>
</View>
<ForgotPasswordLink />
</View> */}
{/* <ForgotPasswordLink /> */}
</Theme>
</View>
</Form>
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/src/Bento/forms/layouts/SignUpScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export function SignUpScreen({
<Paragraph>Or</Paragraph>
<Separator />
</View>
<View flexDirection="row" flexWrap="wrap" gap="$3">
{/* <View flexDirection="row" flexWrap="wrap" gap="$3">
<RIconButton
disabled={!isGoogleSignInReady}
flex={1}
Expand All @@ -117,7 +117,7 @@ export function SignUpScreen({
>
Continue with Google
</RIconButton>
</View>
</View> */}
</Theme>
</View>
</Form>
Expand Down

0 comments on commit ea74cf8

Please sign in to comment.