about summary refs log tree commit diff
path: root/src/test/rustdoc-gui/settings.goml
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-200/+0
2022-11-13Update GUI testGuillaume Gomez-39/+2
2022-11-11rustdoc: add test cases for checkbox togglesMichael Howell-4/+79
2022-11-10rustdoc: use checkbox instead of switch for settings togglesMichael Howell-6/+3
The switch is designed to give the application a "physical" feel, but nothing else in here really followed through. They didn't support the "flick" gesture that real iOS switches support, and the radio buttons that were also used in Rustdoc Settings were a more "classic" form element anyway. Also, while "switches" are the exclusive toggle design on iOS (since [Apple HIG] reserves checkboxes for Mac only), the [Google Material] guidelines say that lists of switches are bad, and you should just use check boxes. [Apple HIG]: https://developer.apple.com/design/human-interface-guidelines/components/selection-and-input/toggles [Google Material]: https://m3.material.io/components/checkbox/guidelines#6902f23d-ceba-4b19-ae3b-b78b9b01d185
2022-10-20rustdoc: improve appearance of source page navigation barMichael Howell-1/+1
This commit changes things so that the search bar is exactly centered between the top of the page and the top of the source code content area.
2022-10-15Add more GUI tests for settings pageGuillaume Gomez-2/+9
2022-10-07Update rustdoc-gui test to new browser-ui-test versionGuillaume Gomez-2/+2
2022-07-27Add GUI test for settings in small deviceGuillaume Gomez-0/+9
2022-07-16Fix flakyness of GUI testsGuillaume Gomez-0/+2
2022-06-28rustdoc: add assertion for missing popover divMichael Howell-1/+3
2022-06-28rustdoc: make keyboard commands work when checkboxes are selectedMichael Howell-0/+1
2022-06-28rustdoc: fix keyboard shortcuts bug in settings menuMichael Howell-0/+11
This commit fixes the keyboard shorts code to call localStorage every time a key is pressed. This matters because you're supposed to be able to change a setting and have it immediately take effect.
2022-05-31Rollup merge of #97089 - GuillaumeGomez:improve-settings-theme-display, r=jshaDylan DPC-0/+60
Improve settings theme display This is a follow-up of #96958. In this PR, I changed how the theme radio buttons are displayed and improved their look as well. It now looks like this: ![Screenshot from 2022-05-17 20-46-20](https://user-images.githubusercontent.com/3050060/168887703-a01e3bd5-9644-4012-ac11-2ae7bacd6be6.png) ![Screenshot from 2022-05-17 20-46-12](https://user-images.githubusercontent.com/3050060/168887707-132f8b2d-1163-462f-b7dd-f861121bdee7.png) You can test it [here](https://rustdoc.crud.net/imperio/improve-settings-theme-display/doc/foo/index.html). r? `@jsha`
2022-05-30Add GUI test for settings displayGuillaume Gomez-0/+60
2022-05-28Add GUI test for javascript disabled display of settings pageGuillaume Gomez-0/+6
2022-05-24Add GUI test for click on setting textGuillaume Gomez-2/+8
2022-05-14Update GUI testsGuillaume Gomez-17/+6
2022-05-11Ensure that the settings CSS is loaded on the settings pageGuillaume Gomez-0/+5
2022-04-30Extend settings test to ensure settings text is as expectedGuillaume Gomez-0/+29
2022-04-30Add GUI test for settings menuGuillaume Gomez-0/+38