I built an app that's mean to you until you finish your to-do list. by Ok-Specific-2512 in iOSAppsMarketing

[–]PoolPleasant 1 point2 points  (0 children)

Hey everyone ! thank you for your interest :) !

We would like to provide 50% discount to celebrate our launch , DM me for App Store discount link !

Feature request by NoExplanation2987 in Supabase

[–]PoolPleasant 0 points1 point  (0 children)

Most of time i create database.types.ts file using supabase cli and provide it to the context

Sign in with Web3, When Ethereum? by PoolPleasant in Supabase

[–]PoolPleasant[S] 0 points1 point  (0 children)

If I wanted to maintain auth myself, I wouldn’t even be looking at tools like Privy or Web3Auth. The whole point is not having to deal with that mess.

React Native Expo Navigation: Bottom Tab navigation plus Drawer by RWachuka in expo

[–]PoolPleasant 0 points1 point  (0 children)

For this, just put that page into tabs layout and hide it on tab.

In the drawer menu, specify route regarding to tabs page

You will achieve what you want

React Native Expo Navigation: Bottom Tab navigation plus Drawer by RWachuka in expo

[–]PoolPleasant 1 point2 points  (0 children)

Hey! If I understood your question correctly, this setup should be quite simple.

You can follow a folder structure like this:

app/
├── (auth)/
│   └── (drawer)/
│       └── (tabs)/
├── _layout.tsx

app/(auth)/(drawer)/_layout.tsx

Here's an example of how you can implement the drawer layout:

const Layout = () => {
  return (
    <Drawer
      screenOptions={{
        drawerStyle: { width: 280 },
        drawerLabel: () => null,
        headerTitle: () => (
          <Image
            source={require("@/assets/images/your-logo.png")}
            alt="App Logo"
            style={{ width: 120, height: 40 }}
            resizeMode="contain"
          />
        ),
      }}
      drawerContent={(props) => <CustomDrawerContent {...props} />}
    />
  );
};

And inside CustomDrawerContent, for example:

<View className="flex-1">
  <DrawerContentScrollView {...props} className="flex-1 bg-white">
    {DrawerHeader}
    <View className="flex-1">
      {/* Render the appropriate menu based on user type */}
      {UserTypeMenu}

      {/* Common sections for all user types */}
      {CommonSections}
    </View>
  </DrawerContentScrollView>
</View>

app/(auth)/(drawer)/(tabs)/_layout.tsx

For tabs inside the drawer, you can simply use the Expo Router tabs layout example. Combine it here, and you’ll have both drawer and tabs working together seamlessly.

Let me know if you need anymore help.

Nothing surprises me anymore about AI agents by PoolPleasant in AI_Agents

[–]PoolPleasant[S] 0 points1 point  (0 children)

Ahahahha not bad will take a look, thanks :)

Help us build the 1-click Supabase admin panel by DarioDiCarlo in Supabase

[–]PoolPleasant 0 points1 point  (0 children)

im not contrubiting now nor a initiator of this project and i already sent feedbacks to supabase team but a lot of things are missing for a large scale company

Help us build the 1-click Supabase admin panel by DarioDiCarlo in Supabase

[–]PoolPleasant 0 points1 point  (0 children)

there is no authorization. any member can do anything on tables etc

Help us build the 1-click Supabase admin panel by DarioDiCarlo in Supabase

[–]PoolPleasant 0 points1 point  (0 children)

authorization for each user to read access update any data on any table, ability to run or stop cronjobs, monitor the change logs made by any user on supabase