Commit Graph

1258 Commits

Author SHA1 Message Date
jenkins-bot dca6da5767 Merge "Increase distance of button to container" 2019-09-26 22:12:09 +00:00
Volker E bfc5a578d2 Remove `tabindex` attribute from search input
Relying on natural tab order seems to be the appropriate approach here.

Bug: T226148
Change-Id: I304996bfb8fba0e4172e01e0969162fd8cf0e0ee
2019-09-26 13:20:06 -07:00
Volker E 484077de01 Increase distance of button to container
Increasing the distance of the button slightly changes the position
from end, putting the icon in a more appropriate place (harmonized
whitespace of input value and icon).
Also simplifying `font-size` calculations readability and equalling
their values in search input and button.

Bug: T225331
Change-Id: I57f7efc61f3b770d7470d820402e2ea533364238
2019-09-26 12:15:38 -07:00
Translation updater bot 6f1afed52a Localisation updates from https://translatewiki.net.
Change-Id: I5c1b7f440d3cb862ff695b4605c11f53f89a2cc5
2019-09-25 08:41:33 +02:00
Translation updater bot d70b90e169 Localisation updates from https://translatewiki.net.
Change-Id: Ib3ffdfde2ad21589976a20346a71a2c9b48b7869
2019-09-23 08:30:09 +02:00
jenkins-bot 0f4c3f1197 Merge "Reduce footer selector specificity and clean up CSS" 2019-09-20 22:40:57 +00:00
jenkins-bot c15f05d7c9 Merge "Remove obsolete `.vectorMenu ul` selector" 2019-09-19 20:43:08 +00:00
Translation updater bot 1821589eb7 Localisation updates from https://translatewiki.net.
Change-Id: I3bbed8a105a4ed889c2cf801e784f66f7e56906c
2019-09-19 09:09:06 +02:00
Volker E 606365367f Reduce footer selector specificity and clean up CSS
Reducing specificity, simplifying output and merging `padding`
in one place into one shorthand attribute.

Change-Id: Ida96f18e9d90d55492ea114a7b5e3e1b8020c71f
2019-09-18 22:37:22 -07:00
Volker E b11b5d44f9 Remove obsolete `.vectorMenu ul` selector
Has been made obsolete in I8e45af51ffc.

Change-Id: I23c69b5615199899be9bc16ba012ed21e920f317
2019-09-18 15:37:36 -07:00
Translation updater bot 9e37e6b177 Localisation updates from https://translatewiki.net.
Change-Id: I946aaec653c69845f529a71b60f35232320949dd
2019-09-17 08:25:06 +02:00
Translation updater bot 4c4f944c05 Localisation updates from https://translatewiki.net.
Change-Id: I9e9c98b2c2c8df62d6c25a48ba6416e5607cbdcc
2019-09-16 09:16:43 +02:00
Translation updater bot 03da028209 Localisation updates from https://translatewiki.net.
Change-Id: I31c9a765064759519b1772d048d6102f70a53358
2019-09-13 09:34:57 +02:00
Translation updater bot 7e1a843ab2 Localisation updates from https://translatewiki.net.
Change-Id: Ie66b1a154f5722d042f4ee6d9897ec980afaa472
2019-09-12 08:38:51 +02:00
jenkins-bot bfb8ca9724 Merge "Decrease onresize debounce from 100ms to 10ms" 2019-09-11 21:04:22 +00:00
jenkins-bot a29c815a4f Merge "Use mw.util.debounce() in collapsibleTabs.js" 2019-09-11 21:01:37 +00:00
Timo Tijhof 75af9ec9b5 Decrease onresize debounce from 100ms to 10ms
The debounce is trailing, not leading/throttled. This means
the value doesn't decide how often it runs while the user is
resizing. It decides how long after they stop resizing will
it first run.

Given the calculation isn't super expensive, a much lower value
should suffice. The main thing we want is that while the user
is actively resizing and 100s of events are queued up (faster than
JS can process), that we wait until the end of the chain before
computing it (once). If the user actually stops moving, even for
a little bit, that little bit however small should be more than
long enough for a repaint to take place.

Test Plan:
* Open two tabs, one after checking out master, and
  one after checking out this patch. Make sure you are logged-in
  on MW as an administrator user (to get more tabs).
* Verify that `mw.loader.getVersion('skins.vector.js')` returns
  different values from the console for each.
* Resize the window from wide to very narrow and back.
  Before, the tab bar updates relatively late it feels sluggish.
  After, the tab bar appears to update as/while you let go.

Change-Id: If02338559abc71668d0655e8b3be1a5f73e646a9
2019-09-11 19:44:04 +00:00
Timo Tijhof f169c8b3f9 Use mw.util.debounce() in collapsibleTabs.js
Bug: T213426
Depends-On: If370b959b2617d0f506ac3ed344af8c6a667e70d
Change-Id: Ib006a570f9405bbd48bb7e81a3d98b562df22b00
2019-09-11 19:29:46 +00:00
jenkins-bot b5b5b3c5e3 Merge "vector.js: Use idle callback (not rAF) for computed style read" 2019-09-11 19:16:35 +00:00
Timo Tijhof 9b2bcbbcae vector.js: Use idle callback (not rAF) for computed style read
requestAnimationFrame (rAF) is called before styles are computed.
Performing a style read there can require a forced style
recalcution which interrupts the browser's natural rendering
life cycle.

To gracefully observe layout of the page without inducing the
cost to render it, it should be accessed after rendering.
A suitable API to schedule time there is requestIdleCallback.

In any event, if the code that needs this measurement executes
very early for some reason, it is still computed on-demand which
means it can't cause any functional regression.

Change-Id: I0d8d3a0b158fa3d9e0895760d0691757f918d91d
2019-09-11 02:18:04 +01:00
Translation updater bot be43cb9628 Localisation updates from https://translatewiki.net.
Change-Id: Ie704a4a2de9612b6078f8e6dc990d9b5fdf88af8
2019-09-09 08:32:50 +02:00
Translation updater bot 42f1a3d605 Localisation updates from https://translatewiki.net.
Change-Id: Ibaa1252d2741b54a1dbeb7e4fac5502b2a41eb4d
2019-09-04 09:16:36 +02:00
libraryupgrader 9eacb7ea30 build: Updating eslint-utils to 1.4.2
* https://npmjs.com/advisories/1118

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I4a30cdbb28b52a7b2f2745ba5d644778cd301fdf
2019-08-24 03:17:50 +00:00
Translation updater bot c895043ed9 Localisation updates from https://translatewiki.net.
Change-Id: I98f383e7cc47b3976e7d6a4214a01b90a129947d
2019-08-23 09:58:49 +02:00
jenkins-bot 9a73dd93fd Merge "Cleaning a[redundant] is done in BaseTemplate" 2019-08-21 18:25:20 +00:00
Simon Legner 6b99f35cbe Cleaning a[redundant] is done in BaseTemplate
Relates to I630410aea2852f7a72fea67bbf256b3561ea0f3f.

Change-Id: I0e0ccad14236dfbfc82f38e8e4316a431dd38d7a
2019-08-21 18:03:47 +00:00
Translation updater bot 8189f42aae Localisation updates from https://translatewiki.net.
Change-Id: I1a25531233fbfd8f2b90f03d447c0e64574c6ad0
2019-08-21 10:20:16 +02:00
Translation updater bot 9f51a5d723 Localisation updates from https://translatewiki.net.
Change-Id: I3bf1d64798380d2488e53c863cfa0d4caa7cf759
2019-08-14 08:34:43 +02:00
Translation updater bot 1977d10939 Localisation updates from https://translatewiki.net.
Change-Id: Ic6216e150f7838b0c25350330c09b0c6f40faa58
2019-08-09 08:26:07 +02:00
Translation updater bot 62c0756ea3 Localisation updates from https://translatewiki.net.
Change-Id: I4f41e5d10e72a19bb92cb768079ad5a4d490aaf1
2019-07-29 08:32:28 +02:00
jenkins-bot b60d11851e Merge "Style RelatedArticle cards" 2019-07-26 19:35:32 +00:00
Translation updater bot af5258ac9a Localisation updates from https://translatewiki.net.
Change-Id: I86ab3bd65b83302e7e0169391b45f9138c22afb6
2019-07-22 22:16:51 +02:00
Volker E f4e6acb206 Remove falesly introduced RTL version of 'search' icon
It's not useful to mirror it for RTL languages, as it's a real world
object metaphor and is held in right hand for most users, no matter
what language. Sorry, left-hand users. Unify with Design Style Guide
search icon treatment.

Bug: T228435
Change-Id: I9ff688e4be801779a84b1026ca57cfb50209b53d
2019-07-18 11:22:31 -07:00
libraryupgrader 7cc8756e6f build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 24.0.0 → 26.0.0

npm:
* lodash: 4.17.11 → 4.17.14
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744
* set-value: 2.0.0 → 2.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* union-value: 1.0.0 → 1.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* mixin-deep: 1.3.1 → 1.3.2
  * https://npmjs.com/advisories/1013
  * CVE-2019-10746

Change-Id: If00a2166eb92474205bda4823643565eab6acb8f
2019-07-16 07:51:49 +00:00
Translation updater bot 43d6b88ec6 Localisation updates from https://translatewiki.net.
Change-Id: Ic857b5f71de39ac0555c6aebe0f37ab3ec7fe1e2
2019-07-14 22:20:34 +02:00
James D. Forrester ac812a881b build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: I5e76e2f048d3c603a200f9019929e11c002b4a5c
2019-07-09 15:20:06 -07:00
jenkins-bot 7d46396dc1 Merge "Move DataAfterContent outside of main content block" 2019-07-08 21:18:34 +00:00
Translation updater bot c93bdc6410 Localisation updates from https://translatewiki.net.
Change-Id: I1b5aeb9b46f4f135c077d9c6129a66e7ea635b6c
2019-07-08 22:17:20 +02:00
Translation updater bot 5a123d8a2d Localisation updates from https://translatewiki.net.
Change-Id: I1f83e64c08c333788fceb697834efb5bf66efbd6
2019-07-07 22:11:01 +02:00
Translation updater bot 8d2959dad3 Localisation updates from https://translatewiki.net.
Change-Id: Ia120c766797309200ff0897f6da8f19ee96f9e5a
2019-07-03 22:12:46 +02:00
jenkins-bot d23885d297 Merge "Localisation updates from https://translatewiki.net." 2019-07-02 20:14:29 +00:00
Translation updater bot 521b8e97ff Localisation updates from https://translatewiki.net.
Change-Id: I80fd9e3553b67ad04714c859b242683a7c058efc
2019-07-02 22:14:11 +02:00
jenkins-bot 28bfa29dea Merge "SimpleSearch: Standardize input appearance" 2019-07-02 20:14:01 +00:00
Volker E 0c77e4f223 SimpleSearch: Standardize input appearance
Unifying Vector input appearance to follow Design Style Guide and OOUI,
additionally:
- Simplifying LESS code, reducing specificity to minimum needed
- Providing fallbacks where necessary to a wide range of browsers including IE8
- Better positioning and larger click area of search button

Bug: T225331
Change-Id: Iafeddf670a9c087e66acf5463c99351fc2d5d78c
2019-07-02 00:18:47 +00:00
Ed Sanders a4f61a832e CollapsibleTabs: Avoid Sizzle selectors
Change-Id: I199a11602df50f2120dce6f861bb4b6260ab9380
2019-07-01 16:02:07 +01:00
Translation updater bot a5c492414a Localisation updates from https://translatewiki.net.
Change-Id: I0ad6f5a7df0111e11a9f33d449e40ac48862e29d
2019-06-28 22:11:47 +02:00
Translation updater bot 62f4f2628c Localisation updates from https://translatewiki.net.
Change-Id: I25b9a034018c6e2801b0bcc07aa3de65a69330b2
2019-06-25 22:04:13 +02:00
Translation updater bot 81b7cb666f Localisation updates from https://translatewiki.net.
Change-Id: I1ad59195c945c6f27a5991dfd06330f10d96c87a
2019-06-23 22:11:27 +02:00
Isarra e08fc06fbd Style RelatedArticle cards
If RelatedArtcles uses the SkinAfterContent hook (depends-on patch)
and we move the hook out of the main content block (parent patch),
it needs some styles to remain consistent.

Bug: T181242
Change-Id: I2c5d4034890a5164896c1ef0570b31465a275890
Depeds-on: Iebd759c0d1a536768d18953f372664df762d9e04
2019-06-20 18:14:27 +00:00
Isarra 411a015ec5 Move DataAfterContent outside of main content block
Bug: T226199
Change-Id: Ie04d8d2bb1d44ec8a1c03fcc6f807668bab0377c
2019-06-20 17:55:55 +00:00