-
-
Notifications
You must be signed in to change notification settings - Fork 142
migrate lazy queries to Apollo Client 4 #2916
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
huumn
merged 47 commits into
stackernews:master
from
Soxasora:refactor/lazy-queries-ac4-migration
Apr 27, 2026
Merged
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
846914f
chore: upgrade Next.js from 14.2.25 to 15.5.14; upgrade to React 19; …
Soxasora ffb119b
Merge branch 'master' into chore/update-nextjs-16
Soxasora e8fedc8
upgrade Bootstrap to 5.3.8; upgrade react-boostrap to 2.10.10; silenc…
Soxasora 8f7e221
upgrade Next.js to 16.2.2, rename middleware.js to proxy.js
Soxasora fd7cb96
polyfill URLPattern and add to js-standard lint globals
Soxasora 29ab41b
upgrade to next-plausible 4.0.0; remove PlausibleProvider dead props
Soxasora 0cf9f68
fix: run withPlausibleProxy through webpack instead of treating it as…
Soxasora da82997
apollo: useLazyQuery now throws AbortError, add errorPolicy 'all' to …
Soxasora 3813e00
apollo migration: remove @client and @defer directives support from A…
Soxasora 4717770
apollo migration: switch now-internal getOperationName with graphql's…
Soxasora 7a6367c
remove Apollo's execute double catch
Soxasora d556244
remove temporary nodejs nextjs 15 middleware workaround
Soxasora cb5b2fd
cleanup: linting
Soxasora 41a0307
remove legacyBehavior and passHref, use NextLink as anchor for compon…
Soxasora 2ae1b0d
Merge branch 'master' into chore/update-nextjs-16
Soxasora 96fd1f0
fix: allowedDevOrigins starts by default with NEXT_PUBLIC_URL, new AL…
Soxasora d7e6c3a
fix: put allowedDevOrigins in the right next.config.js section
Soxasora 5324862
merge master, adapt changes to Apollo Client v4
Soxasora 539b2a5
Merge branch 'master' into chore/update-nextjs-16
huumn 85d3e80
fix: switch back to notifyOnNetworkStatusChange false to get the orig…
Soxasora 1a2b129
remove dangling sub prop
Soxasora e5c99c6
filter AbortError from useLazyQuery executions
Soxasora 2a21acd
refactor: BaseSuggest with `useQuery` instead of `useLazyQuery`
Soxasora ed4227b
fix: add back resetSuggestions
Soxasora a853a2c
refactor: SubMultiSelect with `client.query`
Soxasora 5d338bc
refactor: TerritoryForm `onNameChange` with `client.query`
Soxasora 35020d0
Merge branch 'master' into refactor/lazy-queries-ac4-migration
Soxasora d2f3b34
fix unsuccessful web merge
Soxasora 00be54e
refactor: `useLexicalUploadFees` with `client.query`
Soxasora 13ff5cb
refactor: Lexical mentions plugin `useSuggestions` with `client.query`
Soxasora dfb3e15
refactor: `useAutoRetryPayIns` with `client.query`
Soxasora 6fbe41f
refactor: `useCrossposter` `fetchItemData` with `client.query`
Soxasora b1085e2
refactor: `PostEdit` with `useQuery`, compact logic
Soxasora c508c67
Merge branch 'master' into refactor/lazy-queries-ac4-migration
Soxasora 4c027df
cleanup: remove console.log from upload plugin
Soxasora 834ae2d
fix: re-implement resetSuggestions correctly
Soxasora a9606ed
cleanup: add back error handling to `client.query`
Soxasora 5cccc0b
fix: show mention suggestions even if query is empty
Soxasora 15b6524
add error handling to TerritoryForm
Soxasora 69c0da4
fix: suggestions array governed by show status
Soxasora 57e05d4
remove dead nextFetchPolicy option from client.query users
Soxasora 5c79e51
use functional updaters for BaseSuggest index
Soxasora d52e92e
Merge branch 'master' into refactor/lazy-queries-ac4-migration
huumn 95589d8
revert to useLazyQuery for territory-form and useLexicalUploadFees ho…
Soxasora 8676013
always base the active suggestions index on the current suggestions a…
Soxasora 6961664
restore useLazyQuery in BaseSuggest
Soxasora f4fae62
Merge branch 'master' into refactor/lazy-queries-ac4-migration
Soxasora File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.