@witsdevi
iAccount based inUnited States
About this account
- Account based in
- United States
- Connected via
- United States App Store
Account-level information from X, not a live location or the device used for a specific post.
Pinned Tweet
I haven't released any personal projects for five years.
I've built plenty of prototypes, but none of them ever felt ready.
Here's what I've been doing, and what I'm going to do next:
we do this with overscroll-behavior: none
but we gate it behind a (pointer: fine) media query, so that it doesn’t impact touch devices. this means you can still pull to refresh on mobile
when users type a query that we can't find a simple match for, we switch to determining the filters using AI
this is primarily done by:
• generating a zod schema based on the relevant filter definitions
• generating an object that matches that schema based on the user's query
but there is additional nuance, like:
• select/multi-select values are matched to their closest valid value on the server
• the LLM can include a special sequence to indicate that a value should match the current user
• dates are passed back raw to the client so that they can be parsed with the user's local timezone