Open
Conversation
* chore: update dependencies and lockfile versions - Updated various Radix UI components to their latest versions. - Upgraded several packages including React, TypeScript, and ESLint plugins. - Adjusted package versions in package.json and bun.lock for consistency. * bump appwrite to 21.1.0 --------- Co-authored-by: Ariel Weinberger <weinberger.ariel@gmail.com>
* feat: support client-side appwrite session Expose Appwrite config client-side by prefixing env vars with VITE_ so they can be used in the client build. Set Appwrite session cookie name to the standard Appwrite session cookie name so that if the cookie goes to Appwrite, it will be recognized. * feat: update sign-out Ensure the session is deleted from Appwrite. * fix: set session cookie expiration to session expire * fix: linting --------- Co-authored-by: Steven Nguyen <stnguyen90@users.noreply.github.com> Co-authored-by: Ariel Weinberger <weinberger.ariel@gmail.com>
* fix: remove unused query client and related exports We should always use the QueryClient from the context rather than a separate QueryClient because using multiple QueryClients means data will be cached in different places and may require unnecessary fetches. * chore: refactor router - Remove getContext() to discourage using that to get the QueryClient - Remove the custom TanstackQuery provider since setupRouterSsrQueryIntegration will automatically wrap the query client. --------- Co-authored-by: Steven Nguyen <stnguyen90@users.noreply.github.com> Co-authored-by: Ariel Weinberger <weinberger.ariel@gmail.com>
* chore: reuse currentUser from root loader * chore: delete unused sign-out route * fix: update getCurrentUser() to return null if session is invalid If the session is invalid/expired, account.get() will throw an exception. This update catches the exception and returns null instead. * chore: remove redirect from auth server functions They are already handled client-side so we don't need them server-side. In addition, doing it client-side allows us to invalidate whatever caches we need before redirecting to the new page. * refactor: use TanStack Query for auth Use TanStack Query so that API calls are cached, reducing unnecessary network requests and improving performance. --------- Co-authored-by: Steven Nguyen <stnguyen90@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
So we can produce a final sandbox template image and run some tests.