Is it possible to generate a github action to build a preview of a pull request in nextjs?
File Uploads to Local Storage
Change ctx.session.user values to include new ones? Bad idea?
ctx.session.user
I get a few default options that come with t3-app.
.id
, .name?
, .image?
and .email?
. Is there a way to change this to include new values? I can't find an obvious spot or I am being silly....Next13 app-router: How to get request headers on client page comp?
Can i send a file from trcp router?
useSession has an empty user object {}
{ user: {}, expires: '2023-06-30T20:30:42.181Z' }
this is my auth options:
```ts
declare module 'next-auth' {...TypeSafe external API ?
Want to request only half of the audio file but not working
Content-Range: bytes 0-5510814/11021629;
Content-Range: bytes 0-5510814/11021629;
How is realtime DB syncing accomplished without Firestore/Supabase?
Drag and drop library recommendation?
tRPC invalid_type error with Clerk

Save selected option on dropdown
End-to-end testing tools, Suggestions
N Nested Relations
A question on procedure design.
Migrating to supabase from create-t3-turbo
System dark mode not detected when using darkMode: "media" in tailwind.config.ts
shadcn-ui
components. I want the webapp to display dark mode/light mode depending on the system preference. My understanding from this documentation (https://tailwindcss.com/docs/dark-mode) is that if I set darkMode: "media"
in tailwind.config.ts
, then the app will automatically detect the system preference of dark mode/light mode. However, despite this modification there is no effect in the webapp when switching dark/light mode on my OS.
Am I missing some functionality here? All I've done is install shadcn-ui
components with the CLI and use them to build a simple page layout (with some help from the examples in the documentation).
The repo link is: https://github.com/hcs-t4sg/starter-project-2023-core...What is wrapping a next server action in startTransition doing?
redirect, revalidatePath, or revalidateTag
. If we ARE updating state, and therefore updating the client, this inherently means we are manipulating the client state in some way, since our UI is changing after the server action is complete. In react, we use startTransition to start non-blocking state updates, so in theory, if you use a server action & dont wrap it in startTransition, your UI would completely block untill the server action is done. Since this is not what we want, we tell react to let the client continue to update and move around while the server is processing the request by wrapping it in the startTransition....Can I call tRPC procedure inside another procedure?
.mutation(async ({ ctx }) => {...