Skip to content
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

rustdoc: add test cases, and fix, search tabs layout jank #115988

Merged
merged 2 commits into from
Sep 20, 2023

Conversation

notriddle
Copy link
Contributor

@notriddle notriddle commented Sep 20, 2023

Before

Resizing

Screen.Recording.2023-09-19.at.20.36.43.mov

Typing

Screen.Recording.2023-09-19.at.20.44.43.mov

After

Resizing

Screen.Recording.2023-09-19.at.20.50.52.mov

Typing

Screen.Recording.2023-09-19.at.20.49.51.mov

@rustbot
Copy link
Collaborator

rustbot commented Sep 20, 2023

r? @jsha

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Sep 20, 2023
@rustbot
Copy link
Collaborator

rustbot commented Sep 20, 2023

Some changes occurred in HTML/CSS/JS.

cc @GuillaumeGomez, @jsha

Some changes occurred in GUI tests.

cc @GuillaumeGomez

@rust-log-analyzer

This comment has been minimized.

@notriddle notriddle changed the title rustdoc: add test cases, and fix, search tabs rustdoc: add test cases, and fix, search tabs layout jank Sep 20, 2023
@notriddle notriddle force-pushed the notriddle/search-tab-layout branch 4 times, most recently from 6641bcc to a630701 Compare September 20, 2023 04:05
@rust-log-analyzer

This comment has been minimized.

@@ -2334,11 2334,16 @@ ${item.displayPath}<span class="${type}">${name}</span>\
}

function makeTabHeader(tabNb, text, nbElems) {
// https://blog.horizon-eda.org/misc/2020/02/19/ui.html
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice read. Could you add a small explanation nonetheless in case the website disappears? Something like \u{2007} is a unicode character the same size as a digit to keep alignment locked.

Copy link
Member

@GuillaumeGomez GuillaumeGomez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from my nit, it's a really nice improvement, thanks!

@GuillaumeGomez
Copy link
Member

Thanks! r=me once CI pass.

@notriddle
Copy link
Contributor Author

@bors r=GuillaumeGomez

@bors
Copy link
Contributor

bors commented Sep 20, 2023

📌 Commit 66e0483 has been approved by GuillaumeGomez

It is now in the queue for this repository.

@bors 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 Sep 20, 2023
bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 20, 2023
…llaumeGomez

Rollup of 5 pull requests

Successful merges:

 - rust-lang#115566 (clean up unneeded `ToPredicate` impls)
 - rust-lang#115962 (coverage: Remove debug code from the instrumentor)
 - rust-lang#115988 (rustdoc: add test cases, and fix, search tabs layout jank)
 - rust-lang#115991 (Ensure `build/tmp` exists in `rustdoc_themes::get_themes`)
 - rust-lang#115997 (RELEASES.md: Add missing patch releases)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit c535041 into rust-lang:master Sep 20, 2023
11 checks passed
@rustbot rustbot added this to the 1.74.0 milestone Sep 20, 2023
@notriddle notriddle deleted the notriddle/search-tab-layout branch September 20, 2023 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants