-
Notifications
You must be signed in to change notification settings - Fork 212
Only put platforms list is less than 10, otherwise load with AJAX #2181
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
GuillaumeGomez
merged 14 commits into
rust-lang:master
from
GuillaumeGomez:ajax-platforms
Sep 7, 2023
Merged
Changes from 7 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
20a14d4
Only put platforms list is less than 6, otherwise load with AJAX
GuillaumeGomez 0e30925
Create DEFAULT_MAX_TARGETS constant
GuillaumeGomez b951f77
Improve code readability
GuillaumeGomez 43cd580
Improve routes for AJAX resources
GuillaumeGomez 127f936
Directly use `params.path` instead of using original URI
GuillaumeGomez f2e302d
Fix failing tests
GuillaumeGomez 75541b6
Add test for target list
GuillaumeGomez 26cfbea
Remove blacklisting for URIs starting with `/-/` and move `/menus/` r…
GuillaumeGomez 237a3ab
Correctly set `use_direct_platform_links` field value depending if it…
GuillaumeGomez f3d8e3e
Add missing test for docs.rs crate page
GuillaumeGomez c3d8050
Allow platforms async load to work on docs.rs crates pages
GuillaumeGomez a8be4b0
Improve `platform_links_are_direct_and_without_nofollow` readability
GuillaumeGomez 529aa33
Fix crate pages handling target-redirect
GuillaumeGomez 686fb37
Migrate menus URLs under `/crate/`
GuillaumeGomez 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
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.