Commit graph

1589 commits

Author SHA1 Message Date
Translation updater bot 6ff0e3dea7 Localisation updates from https://translatewiki.net.
Change-Id: I33bd07cc55cbf5cfaff39c18a1968b0186b7e0ee
2017-05-14 22:39:54 +02:00
Translation updater bot 2f79fa2eb3 Localisation updates from https://translatewiki.net.
Change-Id: Iaa06c31d693afab51067945b1cbb140ad34b3e5e
2017-05-12 23:11:21 +02:00
jenkins-bot 6dc7cd7b39 Merge "Split ext.RevisionSlider.lazy into Js and Css modules" 2017-05-12 11:02:37 +00:00
Translation updater bot b12880ffe0 Localisation updates from https://translatewiki.net.
Change-Id: I62be13ea49262c2ba01b874fc80d727627337874
2017-05-11 23:28:12 +02:00
addshore ed48f4ef3b Split ext.RevisionSlider.lazy into Js and Css modules
Bug: T164893
Change-Id: Ideb82a24aa852067acc60e512318a26f88f2d395
2017-05-11 10:45:57 +02:00
Translation updater bot 7c63d7cdc2 Localisation updates from https://translatewiki.net.
Change-Id: I6a0b0f31fe600439afa35c35f62ed8ddd6b1eb9e
2017-05-09 23:02:26 +02:00
Andrew-WMDE 96a366ddb0 Update help dialogue to explain new sliding mechanism
- works with the setting var to switch help text
 - minified new SVGs with svgo
 - adjusted new SVGs dimensions
 - updated accompanying text

Bug: T162773
Change-Id: I3da66a006977fa6b1999686ba4f415e891f4ea02
2017-05-09 19:50:39 +02:00
jenkins-bot 9f1a91dc6a Merge "Convert touch events to mouse events on pointers" 2017-05-09 10:27:15 +00:00
Translation updater bot f1beae0e17 Localisation updates from https://translatewiki.net.
Change-Id: Ia0c8a326f2bf0e879044ca57bf26dfa1fa7ee23a
2017-05-08 22:53:55 +02:00
WMDE-Fisch 31b9fe31ef Convert touch events to mouse events on pointers
This will make the pointers work on touch devices. The events responsible
for the touch drag and move are converted to mouse actions that will
trigger the draggable.

When using Chrome on touch devices and zooming the offset of elements
calculated by jQuery is wrong. There is a workaround that seems to work
and also seems to not break behavior with normal browsers and on other
devices. Since this only seems to be a problem in Chrome the fix will
only applied to Chrome browsers to avoid performance los on others.

Also introduced a script file for static utility methods.

Bug: T164249
Change-Id: I245f77eb836afded249f3b5ebb7129dab08d0017
2017-05-08 12:55:31 +02:00
Translation updater bot 2b666e4dc3 Localisation updates from https://translatewiki.net.
Change-Id: I8826d09691a2abd3954db65dcde3daca441ddafa
2017-05-06 22:58:23 +02:00
Translation updater bot 117c25f856 Localisation updates from https://translatewiki.net.
Change-Id: I39e11d5500ae61c8140302963cc825d0f3d0708e
2017-05-05 22:47:45 +02:00
Antoine Musso 0ec23e53ee build: add jakub-onderka/php-console-highlighter
Highlight PHP code when parallel-lint fails

Change-Id: Ie7582baa805457a0445a119bfd5fb859f693e51f
2017-05-05 21:40:02 +02:00
jenkins-bot 7a705aade7 Merge "build: Update eslint to 0.4.0 and make pass" 2017-05-04 21:13:42 +00:00
Ed Sanders c6465dee07 build: Update eslint to 0.4.0 and make pass
Change-Id: I6e3e2f30615996c57650127cde9738d3a6dd9ae5
2017-05-04 21:06:08 +00:00
Translation updater bot 062caac484 Localisation updates from https://translatewiki.net.
Change-Id: I1c87884127dec98cae232ae5348f83d28a5e21f7
2017-05-04 23:03:13 +02:00
WMDE-Fisch 61e9ad6afb Make links in help external
Then they will also work in 3rd party wikis.

Bug: T164346
Change-Id: I7573ff313a6e843c540c899c7c6e2d641a227453
2017-05-03 14:29:51 +02:00
jenkins-bot fa99ffdaff Merge "Rename eslintrc to .json" 2017-05-03 09:36:45 +00:00
jenkins-bot 095c3ea863 Merge "Throw errors, not strings" 2017-05-03 09:33:09 +00:00
Ed Sanders 675d4d08ae Rename eslintrc to .json
Let's editors know how to syntax highlight, and allows
coverage by jsonlint.

Change-Id: I3207e85f67a04c7d21a5b999534e8c8075c0790d
2017-05-03 09:47:33 +01:00
Ed Sanders 4e9689ce36 Throw errors, not strings
Change-Id: I65bad18f2526283ba426aed8ff7da9121f230770
2017-05-03 09:47:14 +01:00
Translation updater bot a3526d359a Localisation updates from https://translatewiki.net.
Change-Id: I30baeaaf7c6e9e84b8a41bd9b75c40656c565269
2017-05-02 23:12:14 +02:00
WMDE-Fisch 72d19630ad Let revision bars leave space for the pointer line end border
The end border for the pointer lines can not be displayed because the
bars on the biggest revisions used all the height. This patch reduces
the max height of the bars slightly and refactores the calculating method.

Bug: T163436
Change-Id: Idfa6bdb9f85221063e13f3ec16b22fcfbe6cbd9c
2017-04-25 15:29:18 +02:00
WMDE-Fisch 3c4c9fed0d Fix OOjs UI tooltip position
The latest OOjs UI update seem to fix tooltip center positioning.
Margins added manually are removed now.

Change-Id: I883a5026002fae6fbda230b407303a4f2b82914d
2017-04-19 13:08:24 +00:00
jenkins-bot bf4cd0da02 Merge "Tooltips when hovering slider lines in the SliderViewTwo" 2017-04-19 12:02:55 +00:00
jenkins-bot fc8ec75d36 Merge "Introduce RevisionsListView element" 2017-04-19 12:01:51 +00:00
jenkins-bot 67122b59f6 Merge "Refactor offset based position calculation" 2017-04-19 11:59:41 +00:00
jenkins-bot 9e7fde2397 Merge "Revert "Temporary workaround for OOjs UI missing border bug"" 2017-04-19 11:55:25 +00:00
WMDE-Fisch 9e6f44cb06 Tooltips when hovering slider lines in the SliderViewTwo
This change enables tooltips when hovering the slider lines. To avoid
interference of these events when dragging a variable is set to keep
track of the dragging state.

Bug: T162602
Change-Id: I45c1b73ca470d7b8fcf8b95e15187864e35e907f
2017-04-19 11:26:51 +00:00
WMDE-Fisch 624b4786ec Introduce RevisionsListView element
This will avoid several jQuery calls.

Change-Id: I1934bcfde97415ca0c01465037f34d2555b6daa4
2017-04-19 11:26:44 +00:00
Jforrester 749db6fbe6 Revert "Temporary workaround for OOjs UI missing border bug"
This reverts commit 33aea27e94.

Sorry, I lied; we decided to release v0.21.1 anyway, which is now merged into master.

Change-Id: I791c814b33d17016d51f859948623b0bcc982f9c
2017-04-19 01:46:43 +00:00
Translation updater bot 6f3bbbc4d2 Localisation updates from https://translatewiki.net.
Change-Id: I34dea131d5248bffac030ef1fc0e440d7f711c41
2017-04-18 22:43:49 +02:00
WMDE-Fisch 33aea27e94 Temporary workaround for OOjs UI missing border bug
This is a workaround to show the missing border on the top button to expand the
RevisionSlider as seen in the ticket. It can be removed when OOjs UI v0.21.1
is used in core where the original issue is fixed.

Bug: T162858
Change-Id: Ib22d598b8fc62e4a19f03d0170ea6a474812d7f8
2017-04-18 17:09:41 +02:00
Translation updater bot f64b68bdb1 Localisation updates from https://translatewiki.net.
Change-Id: I7921b01e4a5d202ca3b6943eb69561706091e599
2017-04-16 10:33:10 +02:00
WMDE-Fisch de86ba0a3e Refactor offset based position calculation
This also fixes some issues with RTL and dragging.

Bug: T162914
Change-Id: I76896f94bf68d4ff0fe143d3f2050c21570052d1
2017-04-13 17:00:49 +00:00
Ed Sanders 187ba30937 Fix alignment of expand icon
Also fix loading of styles for lazy.css to avoid FOUC and
inline style hacks.

Bug: T162804
Change-Id: Ie5a462993075f87b776f8a1f0494b5fe563df079
2017-04-12 18:22:55 +01:00
WMDE-Fisch 98b1a79d79 Remove not needed z-index
Change-Id: Id163b3be651cd6597e665e21fe6e44ae12bc8b3b
2017-04-12 15:47:08 +02:00
jenkins-bot 63cbc5f40d Merge "Fix JS trigger for the thanks links" 2017-04-12 11:24:09 +00:00
WMDE-Fisch 66ca836e1c Fix JS trigger for the thanks links
Bug: T142636
Change-Id: Idd550f83c02ab50f7c9c10e4224d394ddb39cdb3
2017-04-12 11:57:56 +02:00
Translation updater bot 2628b15304 Localisation updates from https://translatewiki.net.
Change-Id: Ib5fa32ae300f3b868702a48003c7170a76eecf4d
2017-04-11 23:04:56 +02:00
jenkins-bot 04d0720b20 Merge "Fix bar hover with pointer lines" 2017-04-11 14:10:07 +00:00
WMDE-Fisch 2af7e96221 Fix bar hover with pointer lines
This change fixes the broken hover on bars due to overlying pointer lines.
The lines are now drawn in the background again. To better visualize the
connection to the bars, the bars now get a coloured border set.

Bug: T162456
Change-Id: Ie84ce8d36d43e5d79248c49c6d2d3eae1a7f627c
2017-04-10 14:56:33 +02:00
WMDE-Fisch 3da53f85b6 Highlight and clickability improvements
Bug: T162580
Change-Id: I8b16ff8b4a9f2da9b13f057d310aaba93a6823b6
2017-04-10 10:33:30 +02:00
Translation updater bot eb0dd669e6 Localisation updates from https://translatewiki.net.
Change-Id: I5385f97d27f8c32d5fc673f55a46d3bbb546be52
2017-04-09 22:58:30 +02:00
WMDE-Fisch e6d28dc19d Use a new config var to activate the alternate SliderView
Change-Id: I7e2dd04c333d3b8daf9f009898f8f80b4e7aad3d
2017-04-07 11:58:19 +02:00
jenkins-bot 961cb87256 Merge "Show tooltips when dragging the sliders" 2017-04-06 13:31:34 +00:00
jenkins-bot a6e9e530ba Merge "Factored out drag action from draggable" 2017-04-06 13:31:33 +00:00
jenkins-bot a67b2f09ab Merge "Remove dark hover effect on bars" 2017-04-06 13:31:32 +00:00
jenkins-bot af571e7d0b Merge "Add hover and grab styles when using new slider pointers" 2017-04-06 13:31:31 +00:00
jenkins-bot 061c081469 Merge "Improve SliderViewTwo load stability" 2017-04-06 13:28:31 +00:00