-
Notifications
You must be signed in to change notification settings - Fork 11
fix: Add is404
flag for 404ed routes
#151
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
justlevine
merged 37 commits into
rtCamp:develop
from
Swanand01:fix/status-code-for-404ed-routes
Apr 17, 2025
Merged
Changes from 19 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
603c1f1
feat : add import/no-default-export eslint rule.
Ta5r bd598d5
chore : updated files for no-default-exports.
Ta5r 5e2df69
chore : add changeset.
Ta5r 33c10fc
Merge branch 'develop' into feat/import-no-default-export
Ta5r 0b88cc1
chore : reorder-import
Ta5r 29025e1
temp : fix failing gh actions
Ta5r 89eaa67
fix : export default for codegen config and baseConfig
Ta5r 123a436
Merge branch 'develop' into feat/import-no-default-export
justlevine fd0f6da
Merge pull request #147 from Ta5r/feat/import-no-default-export
Ta5r 76dcef2
feat: add connectedNode field to template query
Swanand01 5a80814
feat: add `is404` flag to parseQueryResult return values
Swanand01 6542789
chore: add changeset
Swanand01 5a13a33
chore: add is404 test
Swanand01 119c625
Merge branch 'develop' into fix/status-code-for-404ed-routes
Swanand01 0d8f1d5
feat: expose `is404` to the frontend
Swanand01 63c4f79
chore: use named import in next config
Swanand01 5ee8cca
Merge remote-tracking branch 'upstream/develop' into fix/status-code-…
Swanand01 8202409
feat: add 404 handling to current path middleware
Swanand01 74120c2
Merge branch 'develop' into fix/status-code-for-404ed-routes
justlevine 5b3bc6b
refactor: remove custom header
Swanand01 e607e12
refactor: update is404 parsing
Swanand01 5088f62
fix: update tests
Swanand01 3193579
revert: current path middleware
Swanand01 a6bb2cd
feat: redirect to not-found
Swanand01 8d4a0ce
revert: connectedNode from query
Swanand01 680b91d
Merge branch 'develop' into fix/status-code-for-404ed-routes
Swanand01 9240dfe
revert: not-found.tsx
Swanand01 5ff9667
Merge branch 'fix/status-code-for-404ed-routes' of https://github.com…
Swanand01 73f7b8c
Merge branch 'develop' into fix/status-code-for-404ed-routes
Swanand01 02877c7
revert: passing is404 to `TeemplateRenderer` children
Swanand01 f9570ed
feat: add docs on handling 404 pages
Swanand01 200e7b0
chore: update changeset
Swanand01 9884e17
chore: sort query a to z
Swanand01 f01314f
chore: format
Swanand01 ef20325
chore: cleanup
justlevine 74b88cd
docs: working example
justlevine c97d860
chore: format
justlevine 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@snapwp/query": patch | ||
--- | ||
|
||
fix: Add is404 flag for 404ed routes | ||
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
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.