rustdoc: animate the :target
highlight by notriddle · Pull Request #129284 · rust-lang/rust (original) (raw)
This approach is, roughly, based on how Discourse does it. It came up while discussing some other possible sidebar changes, as a design that made rapid scanning easier while avoiding the inherent trade-offs in summarizing.
Screencast.from.2024-08-19.16-35-40.mp4
rustbot has assigned @GuillaumeGomez.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.
Use r?
to explicitly pick a reviewer
This comment has been minimized.
This approach is, roughly, based on how Discourse does it. It came up while discussing some other possible sidebar changes, as a design that made rapid scanning easier while avoiding the inherent trade-offs in summarizing.
Nice improvement!
@bors r+ rollup
📌 Commit 9d7574f has been approved by GuillaumeGomez
It is now in the queue for this repository.
bors added S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
and removed S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties.
labels
jieyouxu added a commit to jieyouxu/rust that referenced this pull request
bors added a commit to rust-lang-ci/rust that referenced this pull request
Rollup of 6 pull requests
Successful merges:
- rust-lang#127623 (fix: fs::remove_dir_all: treat internal ENOENT as success)
- rust-lang#128627 (Special case DUMMY_SP to emit line 0/column 0 locations on DWARF platforms.)
- rust-lang#129187 (bootstrap: fix clean's remove_dir_all implementation)
- rust-lang#129190 (Added f16 and f128 to tests/ui/consts/const-float-bits-conv.rs)
- rust-lang#129231 (improve submodule updates)
- rust-lang#129284 (rustdoc: animate the
:target
highlight)
r? @ghost
@rustbot
modify labels: rollup
bors added a commit to rust-lang-ci/rust that referenced this pull request
Rollup of 6 pull requests
Successful merges:
- rust-lang#127623 (fix: fs::remove_dir_all: treat internal ENOENT as success)
- rust-lang#128627 (Special case DUMMY_SP to emit line 0/column 0 locations on DWARF platforms.)
- rust-lang#129187 (bootstrap: fix clean's remove_dir_all implementation)
- rust-lang#129190 (Added f16 and f128 to tests/ui/consts/const-float-bits-conv.rs)
- rust-lang#129231 (improve submodule updates)
- rust-lang#129284 (rustdoc: animate the
:target
highlight)
r? @ghost
@rustbot
modify labels: rollup
tgross35 added a commit to tgross35/rust that referenced this pull request
tgross35 added a commit to tgross35/rust that referenced this pull request
tgross35 added a commit to tgross35/rust that referenced this pull request
bors added a commit to rust-lang-ci/rust that referenced this pull request
Rollup of 7 pull requests
Successful merges:
- rust-lang#128432 (WASI: forbid
unsafe_op_in_unsafe_fn
forstd::{os, sys}
) - rust-lang#128627 (Special case DUMMY_SP to emit line 0/column 0 locations on DWARF platforms.)
- rust-lang#129187 (bootstrap: fix clean's remove_dir_all implementation)
- rust-lang#129257 (Allow rust staticlib to work with MSVC's /WHOLEARCHIVE)
- rust-lang#129264 (Update
library/Cargo.toml
in weekly job) - rust-lang#129284 (rustdoc: animate the
:target
highlight) - rust-lang#129332 (Avoid extra
cast()
s afterCStr::as_ptr()
)
r? @ghost
@rustbot
modify labels: rollup
bors added a commit to rust-lang-ci/rust that referenced this pull request
…iaskrgr
Rollup of 9 pull requests
Successful merges:
- rust-lang#127279 (use old ctx if has same expand environment during decode span)
- rust-lang#127945 (Implement
debug_more_non_exhaustive
) - rust-lang#128941 ( Improve diagnostic-related lints:
untranslatable_diagnostic
&diagnostic_outside_of_impl
) - rust-lang#129070 (Point at explicit
'static
obligations on a trait) - rust-lang#129187 (bootstrap: fix clean's remove_dir_all implementation)
- rust-lang#129231 (improve submodule updates)
- rust-lang#129264 (Update
library/Cargo.toml
in weekly job) - rust-lang#129284 (rustdoc: animate the
:target
highlight) - rust-lang#129302 (compiletest: use
std::fs::remove_dir_all
now that it is available)
r? @ghost
@rustbot
modify labels: rollup
bors added a commit to rust-lang-ci/rust that referenced this pull request
…iaskrgr
Rollup of 9 pull requests
Successful merges:
- rust-lang#127279 (use old ctx if has same expand environment during decode span)
- rust-lang#127945 (Implement
debug_more_non_exhaustive
) - rust-lang#128941 ( Improve diagnostic-related lints:
untranslatable_diagnostic
&diagnostic_outside_of_impl
) - rust-lang#129070 (Point at explicit
'static
obligations on a trait) - rust-lang#129187 (bootstrap: fix clean's remove_dir_all implementation)
- rust-lang#129231 (improve submodule updates)
- rust-lang#129264 (Update
library/Cargo.toml
in weekly job) - rust-lang#129284 (rustdoc: animate the
:target
highlight) - rust-lang#129302 (compiletest: use
std::fs::remove_dir_all
now that it is available)
r? @ghost
@rustbot
modify labels: rollup
jieyouxu added a commit to jieyouxu/rust that referenced this pull request
bors added a commit to rust-lang-ci/rust that referenced this pull request
…iaskrgr
Rollup of 9 pull requests
Successful merges:
- rust-lang#127279 (use old ctx if has same expand environment during decode span)
- rust-lang#127945 (Implement
debug_more_non_exhaustive
) - rust-lang#128941 ( Improve diagnostic-related lints:
untranslatable_diagnostic
&diagnostic_outside_of_impl
) - rust-lang#129070 (Point at explicit
'static
obligations on a trait) - rust-lang#129187 (bootstrap: fix clean's remove_dir_all implementation)
- rust-lang#129231 (improve submodule updates)
- rust-lang#129264 (Update
library/Cargo.toml
in weekly job) - rust-lang#129284 (rustdoc: animate the
:target
highlight) - rust-lang#129302 (compiletest: use
std::fs::remove_dir_all
now that it is available)
r? @ghost
@rustbot
modify labels: rollup
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request
notriddle deleted the notriddle/animate-target=light branch
zopsicle added a commit to zopsicle/rust that referenced this pull request
zopsicle added a commit to zopsicle/rust that referenced this pull request
This gates rust-lang#129284 behind an inverted prefers-reduced-motion media query.
zopsicle added a commit to zopsicle/rust that referenced this pull request
This accessibility improvement gates rust-lang#129284 behind an inverted prefers-reduced-motion media query.
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request