2024
Sheet
Currently trying to get the modal or sheet to load the captcha, but damn its been a wild ride. I am going to assume this is the party where I quickly advance from a simple react native developer to an expert xD. There are 10 mini bosses that you have to face before becoming the greatest champion ever, or in this case, just getting a damn simple app functional.\
Fudster
After the migration of nx to v20, we need to make sure that the python eco-system still works without any major errors.
For this, we will test case the fudster library and see if we can build and add around it.
The python monorepo library or extension we are using is @nxlv/python
, which is sitting at aroujnd version "@nxlv/python": "19.1.3",
.
Lets upgrade that to the latest , v19.2.1 and see if can help us with making sure that the python package builds without any issues.
After the upgrade, we are going to bump the haystack version up to the latest version.
We could also move the whole library up to python 3.13 but that can be done later on, first we should tackle the upgrading of the haystack-ai
.
Fudster package currently sits at haystack-ai = "^2.2.3"
and we will want to bump it up to 2.6.1
.
For this, here is the sample command that we will run:
pnpm nx run fudster:add --name haystack-ai
Oh, I made a mistake, we need to update it, so it be:
pnpm nx run fudster:update --name haystack-ai
Okay but I believe that did not version bump our main poetry file, however that will be fine for now because the lock was updated.
Next we want to update the fudster
pip with the latest pgvector pip, since we are working around haystack, hmm.
We will be running this:
pnpm nx run fudster:add --name pgvector-haystack
This will be adding the pgvector-haystack
and that will be the base for our vector search and memory store.
Drizzle
Looks like we have two more libraries in our package.json that we need to remove.
"drizzle-orm": "^0.31.1",
"drizzle-zod": "^0.5.1"
I will create a new branch and run pnpm remove drizzle-orm drizzle-zod
.
Let us take a quick branch split before we remove the planetscale library.
Tamagui
Taking a break from the python scripting and looking at the Tamagui
instance under the expo-lcagents.
I believe we will backtrack and remove the portal part of the code and revert back to the general sheet because it seems that the native sheet is a bit too much for now.
Our index right now with the portal looks like this:
import { ExpoRoot } from 'expo-router';
import 'expo-router/entry';
import { PortalProvider } from '@tamagui/portal';
export default function App() {
const ctx = require.context('./src/app');
return (
<PortalProvider shouldAddRootHost>
<ExpoRoot context={ctx} />
</PortalProvider>
);
}
However, I am going to remove the @tamagui/portal
for the time being and the PortalProvider
.
Rather than spending more time trying to solve the native sheet integration, it would be better to just let it go for now.
iOS
Back on the macbook, thus it will be time to focus on the build!
After removing the portal, we need to remove the "react-native-ios-modal": "^0.1.8",
library as well.
We will try to keep the sheet / modal to the tamagui default rather than the native.