Jasper van Merle
c6f0f1693f
Limit new event listener to Chrome for Android
6 years ago
Jasper van Merle
c27868debc
Simplify re-triggering search after scope change
6 years ago
Jasper van Merle
8039610888
Remove scope by clicking on it or by backspacing into it
6 years ago
Jasper van Merle
504f95e4f4
Fix single documentation search on Android
6 years ago
Thibaut Courouble
e64cfcfb64
Add confirmation to "Uninstall all" action
...
Closes #913 .
6 years ago
Thibaut Courouble
a8a97e0198
Preserve path when reloading the app
...
Fixes #849 .
6 years ago
Thibaut Courouble
e8d52c9cfd
Fix app cache not updating when changing the app's color theme
...
This is needed because the index page is part of the app cache, and the <html> tag has a different class depending on the theme.
6 years ago
Jed Fox
a30fcf9d9a
Switch from SASS variables to CSS variables
...
* Switch from SASS variables to CSS variables for most styling
These are the simple cases, and the more complex ones will be covered by future commits. I’ve also replaced $fooZ ± 1 with the appropriate variable to avoid a runtime `calc()`.
* Eliminate the `$style` variable 🔥
I’ve added a `--absolute` variable that’s `white` in dark mode and `black` in regular mode.
* Remove `$inputFocusBorder` 🔥
* Switch the Prism styles to CSS variables
* Convert `$mediumScreen` to a mixin
* 🔥 `$selectionText`
* Eliminate the final uses of SCSS variables
I’ve dropped the 95% opacity on the background of the method source code overlay in RDoc since the difference isn’t noticeable but it makes implementation a lot easier.
* Misc fixes
* Extract the common variables from the two themes to a new file
* Remove illegal usages of CSS variables in SCSS functions
This flattens out the buttons on the settings page which makes the styles simpler (and more modern-looking IMO) and removes the box-shadow on the button, which was completely invisible to me.
* Fix usages of SCSS functions in CSS variables
* Use `html._theme-*` selectors
* Eliminate `application-dark.css`; switch themes by toggling classes
This also means that the Application Cache doesn’t have to get updated when toggling themes, and a new CSS file that’s nearly the same doesn’t need to be downloaded.
6 years ago
Thibaut Courouble
7d3c6bd970
Force HTTPS
6 years ago
Jasper van Merle
85f57fe5d0
Add option to automatically download documentation
6 years ago
Natnael Getahun
1bc380f12d
Add DuckDuckGo shortcut
...
Added an alias ```alt + d``` to be DuckDuckGo shortcut
7 years ago
Grant Bourque
d657377d1c
Use `document.scrollingElement` for mobile scrolls
...
- Set `document.scrollingElement` as the scrolling element
for scrolling to anchors when the app is mobile mode
to enhance support in newer browsers.
The CSS View Module spec considers `document.documentElement`/`<html>`
to be the standard scrolling element
and that is what appears to be used in the latest Firefox and Chrome.
However, some older browsers and even the current Safari
use `document.body` as the scrolling element
which is why I suspect the original code used `document.body`.
Since some browsers scroll on different elements,
`document.scrollingElement` exists
so the browser can tell us what to use
for scrolling to anchors work for all modern browsers.
Since `document.scrollingElement` is undefined in older browsers,
`document.body` is available as fallback mobile scrolling element.
7 years ago
Jasper van Merle
4b12335b19
Fix #829
7 years ago
Jed Fox
a5b6ffb116
Move “DevDocs” in the tab title to after the dynamic portion of the title
7 years ago
Grant Bourque
d5d913fc11
Use browser dimensions for mobile detection
...
- Use `max-width`/`max-height` mobile detection media queries
instead of `max-device-width`/`max-device-height`.
Some browsers inaccurately report the device dimensions
and get the mobile version of the DevDocs unexpectedly.
Not depending on the device dimensions also improves the experience
by displaying the mobile version
if a desktop browser window is sufficiently small enough.
7 years ago
Thibaut Courouble
d48396de57
DevDocs → freeCodeCamp
7 years ago
Thibaut Courouble
a379b6299d
Ask all HTTP users to switch to HTTPS
7 years ago
Thibaut Courouble
76aec2bd95
Don't reset to root page when clearing the search field
...
Closes #718 .
7 years ago
Thibaut Courouble
cbfc73951b
Improve Help page
...
Closes #676 .
7 years ago
Thibaut Courouble
9cce390ead
Fix alt+o shortcut not preventing default in Firefox
7 years ago
Thibaut Courouble
44e6316100
Add ability export/import preferences
...
Closes #671 .
7 years ago
Thibaut Courouble
64f04305d3
Replace all remaining PNG UI icons with SVGs
7 years ago
Thibaut Courouble
e212f62e89
Fix issue when hitting left-arrow keyboard shortcut on a disabled and unversioned doc
7 years ago
Thibaut Courouble
30dd32c1b5
Normalize event.target for old browsers incorrectly handling SVG elements
7 years ago
Thibaut Courouble
53f666a742
Use parentNode instead of parentElement as the latter doesn't work on SVG elements in some browsers
7 years ago
Thibaut Courouble
8d0606d070
Fix OpenJDK entry breaking keyboard navigation in the sidebar
8 years ago
Thibaut Courouble
d7001c2eb5
Optimize DOM query selectors
8 years ago
Thibaut Courouble
581e656fd2
Optimize search autofocus code
8 years ago
Thibaut Courouble
e2ad2e5117
Minor code cleanup
8 years ago
Thibaut Courouble
e7a0101910
Avoid forced style and layout recalculation when clicking entry in the sidebar
8 years ago
Thibaut Courouble
f891e16f39
Optimize scrolling code during page transitions
8 years ago
Thibaut Courouble
6587b7d878
Show/hide the sidebar on hover
...
Closes #657 .
8 years ago
Thibaut Courouble
01afa80686
Improve doc picker UI
...
Rel: #189
8 years ago
Thibaut Courouble
8d2a2fb298
Improve settings UI
...
Rel: #189
8 years ago
Thibaut Courouble
6de748ebc2
Add 'Customize' link next to 'Disabled' list title
...
Rel: #189
8 years ago
Thibaut Courouble
d852bde5f3
Improve "update ready" notification
8 years ago
Thibaut Courouble
bda3290cc6
Use an SVG icon for "dir" and "path" icons
8 years ago
Thibaut Courouble
9b28702e3a
Simplify code highlighting
8 years ago
Thibaut Courouble
bd7aec1311
Improve jQuery scraper
8 years ago
Thibaut Courouble
bffabec8a6
Simplify rdoc code highlighting
8 years ago
Thibaut Courouble
384ee20b28
Improve Dojo scraper
8 years ago
Thibaut Courouble
150a4b6ab1
Update RequireJS documentation (2.3.4)
8 years ago
Thibaut Courouble
9d53de6a59
Improve Grunt scraper
8 years ago
Thibaut Courouble
05f2a6628c
Update Lua documentation (5.3.4, 5.2.4, 5.1.5)
8 years ago
Thibaut Courouble
85fffdc242
Improve GitHub scraper
8 years ago
Thibaut Courouble
170445c95f
Add setting to force native scrollbars on webkit/blink
...
Closes #601 .
8 years ago
Thibaut Courouble
c06d1c4d2d
Move the app layout class to the <body> element
8 years ago
Thibaut Courouble
69ffa7babe
Improve keyboard navigation on mobile
...
Rel: #638
8 years ago
Thibaut Courouble
9adf4e2d9f
Focus the search field when typing '/' or alphanumeric characters on mobile
...
Rel: #638
8 years ago
Thibaut Courouble
48d85f1124
Improve behavior of search scope when hitting escape
...
Closes #639 .
8 years ago
Thibaut Courouble
7b20d6d02e
Don't open menu on hover
...
Closes #603 .
8 years ago
Thibaut Courouble
61930288b8
Add Electron documentation
8 years ago
Thibaut Courouble
b626a9d574
Improve Erlang documentation
...
Fixes #626 .
8 years ago
Thibaut Courouble
4fabd8bc64
Update Flow documentation (0.46.0)
8 years ago
Thibaut Courouble
7a1ca03397
Add Jasmine documentation
8 years ago
Thibaut Courouble
aa1be2f49d
Add Jest documentation
8 years ago
Thibaut Courouble
7961557468
Show doc version in sidebar when multiple versions of the same doc are enabled
8 years ago
freayd
f606c0abc8
Add OpenJDK documentation
8 years ago
Thibaut Courouble
dcca46cd0f
Fix race-condition when auto-opening first search result
...
Fixes #604 .
8 years ago
Thibaut Courouble
98a6eb58cb
Reset search field when browsing to index page in single doc mode
8 years ago
Thibaut Courouble
82743163c6
Fix searching disabled doc via URL not opening first result correctly
...
Fixes #604 .
8 years ago
Thibaut Courouble
4f62ccbdbf
Fix various issues when switching from single doc to full app
8 years ago
Thibaut Courouble
655beec28c
Don't auto-scroll when clicking checkbox in doc picker
...
Rel #609 .
8 years ago
Thibaut Courouble
a8073b3a12
Fix and improve doc picker tab navigation
...
Rel #609 .
8 years ago
Thibaut Courouble
54c7c0df5c
Don't autofocus search input when another input is focused
8 years ago
Thibaut Courouble
612aeafa22
Fix "Cannot read property load of undefined"
8 years ago
Thibaut Courouble
d59d43e64b
Minor performance optimization to speed up app boot
8 years ago
Thibaut Courouble
188c9d0229
Improve $.scrollTo
...
- Fixes #596 .
- Fixes incorrect sidebar scrolling when sidebar has padding-top.
8 years ago
Thibaut Courouble
63bb8cd1e1
Don't autofocus search input on Android/iOS
8 years ago
Thibaut Courouble
d63aadb27e
Improve IndexedDB error handling
8 years ago
Thibaut Courouble
29b839589c
Use <button> instead of <a> for mobile settings tabs
8 years ago
Thibaut Courouble
78213d015c
Tweak offline page
8 years ago
Thibaut Courouble
d6d7d450bd
Fix 'FastClick is not defined' error
8 years ago
Thibaut Courouble
c01782a02e
Improve automatic show/hide of sidebar
8 years ago
Thibaut Courouble
7980abde69
Fix sidebar not resizable when set to show/hide automatically
...
Fixes #592 .
8 years ago
Thibaut Courouble
57a995d2b2
Improve escape key behavior in single doc mode
8 years ago
Thibaut Courouble
82eed5d7e8
Fix menu re-opening after tap on Android Chrome
8 years ago
Thibaut Courouble
22cbb33d5a
Scroll to top when tapping mobile settings tabs
8 years ago
Thibaut Courouble
031b62485f
Add keyboard shortcut to open preferences
8 years ago
Thibaut Courouble
4984f0064f
Add setting for swapping arrow keys behavior
...
Closes #296 .
8 years ago
Thibaut Courouble
71a3c31145
Add setting to disable smooth scrolling
8 years ago
Thibaut Courouble
e94af979d9
Add settings page
8 years ago
Thibaut Courouble
0f238609da
UI improvements
8 years ago
Thibaut Courouble
f333f44111
Tweak title tags
8 years ago
Thibaut Courouble
d4d1b37626
Update Docker documentation (1.13)
8 years ago
Thibaut Courouble
c2c26ad576
Remove flawed touchscreen detection
...
https://www.fxsitecompat.com/en-CA/docs/2016/touch-event-support-has-been-re-enabled-on-windows-desktop/
8 years ago
Thibaut Courouble
193db39f9b
Finish CodeceptJS scraper
8 years ago
edno
1fda4fcb0c
CodeceptJS documentation
8 years ago
Thibaut Courouble
802a8d3804
Finish Codeception scraper
8 years ago
edno
72ab343572
Codeception 2.2 documentation
8 years ago
Thibaut Courouble
0c8ca4e5fa
Add SQLite documentation
8 years ago
Thibaut Courouble
6e43cfe7ba
Add Async documentation
8 years ago
Thibaut Courouble
a0cfe45f21
Add Yarn documentation
8 years ago
Thibaut Courouble
fd15168ebd
Add Immutable.js documentation
...
Closes #513 .
8 years ago
Thibaut Courouble
a5b44b4667
Update Yii documentation (2.0.10)
...
Fixes #528 .
8 years ago
Thibaut Courouble
bb47a91156
Update Rust documentation (1.13.0)
8 years ago
Thibaut Courouble
38b5513b97
Update Knockout.js documentation (3.4.1)
8 years ago
Thibaut Courouble
2f19cf9664
Add keyboard shortcut for opening original page
...
Closes #510 .
8 years ago
Thibaut Courouble
8c830f5790
Don't override default behavior of home/end keys when search field has focus
...
Closes #504 .
8 years ago
Thibaut Courouble
9612016351
Load MathML polyfill stylesheet only when needed
8 years ago