Commit graph

1196 commits

Author SHA1 Message Date
tzhelyazkova a5d329758a Replace expand icon with down indicator
Bug: T212803
Change-Id: Ic0ae23bbc399ce70764457bbf4d789f113fb2f48
2019-08-15 11:47:14 +02:00
Translation updater bot 4d14b65cc2 Localisation updates from https://translatewiki.net.
Change-Id: Ie905dae3322e6f06aff0e82462a663fbb5772d52
2019-08-15 09:16:47 +02:00
Amir Sarabadani 111d108150 Merge some resource loader modules
Each RL module comes with the cost of its name + hash being sent over every
request and in the startup module increasing the time to load the page.

Bug: T229791
Change-Id: I3ae230a84112a70ab369ffbff70e173b8f07ec1a
2019-08-14 23:10:25 +02:00
libraryupgrader fbedfdba57 build: Updating npm dependencies
* js-yaml: 3.13.0 → 3.13.1
  * https://npmjs.com/advisories/813
* lodash: 4.17.11 → 4.17.15
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744
* wdio-mediawiki: 0.3.0 → 0.4.0

Change-Id: Ia3b36306bc2d469bed35c9ac47f51be5aa4a7737
2019-08-03 04:45:38 +00:00
Translation updater bot e423862e33 Localisation updates from https://translatewiki.net.
Change-Id: I778e8838de72975577b29ef254e685a548b93547
2019-08-01 09:17:47 +02:00
Translation updater bot 0265ff6c42 Localisation updates from https://translatewiki.net.
Change-Id: Ib262d8e21ae5dc3b197f5fbbff1e347bb89daa8b
2019-07-24 22:29:32 +02:00
WMDE-Fisch 65faa4566c build: Alphabetize composer dependencies
Change-Id: Ibb3393818d89f0d28bb49b63c9f5affd4b999cac
2019-07-15 18:01:44 +02:00
James D. Forrester 017374146f build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: Ia810a412f8380e2cd84165dc650c261b0f19cf06
2019-07-09 14:16:13 -07:00
WMDE-Fisch 974af21c23 build: add package-lock file
Bug: T179229
Change-Id: Ida8f0e3b27ddef7252f94438016868012b1469e3
2019-07-03 12:14:18 +02:00
WMDE-Fisch a4df17a922 build: Upgrade stylelint-config-wikimedia from 0.5.0 to 0.6.0 and make pass
Change-Id: I1db434584d6927cf0322fdbd6253ebb1846537c0
2019-07-03 12:14:05 +02:00
Translation updater bot 9041e3bc7b Localisation updates from https://translatewiki.net.
Change-Id: I628a2f07e4ae56cd1dc8ef9db31a1076b430763e
2019-06-24 08:39:42 +02:00
libraryupgrader 74401f52d1 build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: I886f10fcc9dad873dd9f60d56239b9a73bb5402c
2019-06-10 10:33:45 +00:00
jenkins-bot 632a6241a3 Merge "Apply user highlighting for all revisions in DOM" 2019-06-04 09:42:21 +00:00
WMDE-Fisch 1005daa567 build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
Change-Id: Ia73f0db8866bbe3c6583e93262d9f2c27a015887
2019-06-04 09:06:35 +02:00
Translation updater bot 1d7317a3e7 Localisation updates from https://translatewiki.net.
Change-Id: I9e052603146da5a04480b0533c8631decfe3648d
2019-05-26 22:23:30 +02:00
Translation updater bot 682448059c Localisation updates from https://translatewiki.net.
Change-Id: I9dc3662e128ec7cd901b039bb7feddb2d6c5086e
2019-05-22 22:31:56 +02:00
Translation updater bot 86e2c90661 Localisation updates from https://translatewiki.net.
Change-Id: Ie0cc7989165190529dbf650d45bc0cb10ec70388
2019-05-20 22:30:32 +02:00
James D. Forrester 0d1334c790 build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
Change-Id: I110a017902e82032c2a430b2c6e827b5d44da297
2019-05-19 13:29:28 +02:00
WMDE-Fisch 7c47e6e981 Apply user highlighting for all revisions in DOM
This only solves part of the issue. Highlighting is applied for more
elements since they are retrieved from the DOM. The problem still exists
since highlighting depends on the RevisionList chunk on which is it applied.

To fix the issue completely highlighing should be managed somehow globally
on the global list.

Bug: T207781
Change-Id: Idda930f3d0dd64e767c68dade2ca8759bc636898
2019-05-19 11:27:59 +02:00
Translation updater bot ce3ddf2c33 Localisation updates from https://translatewiki.net.
Change-Id: I1a1a720c546eadbed4d502a9d0d6205a7d37c843
2019-05-16 09:10:25 +02:00
Translation updater bot d8fc54fadf Localisation updates from https://translatewiki.net.
Change-Id: Ia94f50c81b77328f8ccc4c70cd3badca51b4e32f
2019-05-13 23:22:32 +02:00
WMDE-Fisch 9e73c7d2c1 Fix re-highlighting of revisions
This was broken for obvious reasons. Also adding a test.

Change-Id: Ib6e8988884ff84472928758d4112574e17fa48be
2019-04-25 11:15:14 +02:00
Translation updater bot 9b9ceb27e4 Localisation updates from https://translatewiki.net.
Change-Id: I89342e83b33a6f500a61bb7a524842304d37c22d
2019-04-14 22:30:31 +02:00
WMDE-Fisch 98c33c4731 Extract reapplication of saved filter state
Change-Id: If770e0cb52034a5f52bc8bb3639c9dccdf64b683
2019-04-12 19:15:18 +00:00
WMDE-Fisch d4a3ec243e Use switch statement for filter events
Change-Id: I0f564e33744d3806682534267c4b922edd5e9b3c
2019-04-12 19:15:12 +00:00
WMDE-Fisch bd38ccaf98 Early exit filter events
Change-Id: I72fd4a1496f6c0247a9166ba54ce3de2918bc310
2019-04-12 19:15:05 +00:00
WMDE-Fisch 32cf219c4e Extract code that resets/removes highlighting
The next iterration on avoiding code duplication. I
still stuggle a bit merging these methods in a sane
way.

Change-Id: I8d95acc06da7f83a6133e55becabdf03b26a97af
2019-04-12 19:13:20 +00:00
WMDE-Fisch a49cb0c466 General code reduction in the highlight event handlers
- make use of toggelCSS()
- use more general jQuery selectors ro reset the line and bubble highlight
- get rid of ~= when selecting revision ids

Change-Id: I123e263bb379107a561fe8a2ffed476da9032b88
2019-04-12 19:12:44 +00:00
WMDE-Fisch f4c64b744e Put event setup for user line highlighting in own method
This is mainly a copy of what's done for the tag lines to set the events.
In the next steps I'll try to avoid code duplication here be extracting
common code.

Change-Id: I29df109de30c538cc206d445abff8464baf45378
2019-04-12 19:09:50 +00:00
WMDE-Fisch 1a18ab3d38 Add a few more selenium tests for the filter options
Change-Id: I7bb14987e2f2ef452953fb2b71aae7f697a4d820
2019-04-12 11:08:49 +02:00
Translation updater bot 9993e07546 Localisation updates from https://translatewiki.net.
Change-Id: Iec18f4d7acc5bad6e249f3db19386125acc8f399
2019-04-12 08:32:28 +02:00
jenkins-bot 6f667e6143 Merge "Add node selenium tests for revision highlight feature" 2019-04-11 16:29:23 +00:00
WMDE-Fisch a2ca2c031e Add node selenium tests for revision highlight feature
The patch adds a first package of node selenium tests including
test for the user and tag filters.

The classes for user- and tag-rows were re-added to have better
access via selectors.

Change-Id: I8c53d9c923820e177d83ee900cee08e93cd3f65b
2019-04-11 17:58:53 +02:00
Translation updater bot b3d1adfd97 Localisation updates from https://translatewiki.net.
Change-Id: Ib077127973f1352260ffd8314bc87ea855a1ff4c
2019-04-04 14:54:39 +02:00
James D. Forrester 153ecb8990 build: Upgrade eslint-config-wikimedia from 0.10.1 to 0.11.0
Change-Id: I5a5aede4114b0e6d370904a08f10b327b4968a2d
2019-04-04 00:56:01 +00:00
WMDE-Fisch 6ddf000c0e Slighlty improve filter highlight UI
- move border to right so when the text starts there's a straight line
- increase right margin to fit mock
- adjust border radius so it's most probably always more than the line height

Bug: T218770
Change-Id: I76a2f096d14bf4d912686a71e5771ead1c7db3e6
2019-04-03 10:54:49 +02:00
WMDE-Fisch a96b079e8f Unify highlighting CSS classes
Change-Id: Iceb094075d1fb1bd4aca53c120dbc3c6ccd39eb6
2019-03-25 17:30:47 +01:00
WMDE-Fisch 55c558169b Retrieve revision list in highlighting method
This moves the retrieval of the revisions into the method setting the
highlighting. The check for undefined did not to much since the rev
var would still remain undefined.

Change-Id: I1acf540f135af4c16fb80d633b3690473ada7833
2019-03-25 17:21:03 +01:00
srish 6ee7f910b7 Add filters for tags
* Uses the existing implementation of highlighting revisions from the same user
* Shows bubble next to tags in Tooltip
* When you hover on a bubble, tag row is circled, and revisions with a specific tag gets highlighted. When hovering ends, highlighting ends. But, if there is an active filter available, all previous states are restored accordingly.
* When you click on a bubble, in addition to highlighting revisions and tag row, any previous tag or user filter is removed.

Bug: T203581
Change-Id: I824a027a7f542eb7227545870553e58ec23542bb
2019-03-25 16:57:57 +01:00
Kunal Mehta 46e2f60fec Remove empty tests/phan directory
tests/phan/issues is no longer populated, and stubs should be in .phan/stubs
going forwards.

Change-Id: I238ff73939c5b1b79594c8a043c4fe7082f93a65
2019-03-23 23:02:22 +00:00
Translation updater bot 1145487671 Localisation updates from https://translatewiki.net.
Change-Id: I2a62ec2e2e544d81d579b705d5a212c4c73b55a9
2019-03-23 10:23:35 +01:00
libraryupgrader 724cae3cce build: Updating mediawiki/mediawiki-phan-config to 0.5.0
Change-Id: I32b12220e15d3b354bf32f44b68c65b221172af5
2019-03-11 03:34:53 +00:00
gopavasanth 197bd4c7b3 Upgrade RevisionSlider to use newer phan
Bug: T216939
Change-Id: Icecfd92783dbe956133b2e63eeb6717fc1466cc0
2019-03-03 12:06:21 +05:30
Translation updater bot e4cfa6afe1 Localisation updates from https://translatewiki.net.
Change-Id: I940874c8667718a2bb4864d75e93c0ca4253ff66
2019-02-21 22:21:35 +01:00
Translation updater bot d702565928 Localisation updates from https://translatewiki.net.
Change-Id: I90ad4e7ce3eaed126b639d095d670e6d9022760a
2019-02-19 22:20:09 +01:00
Translation updater bot 7fb8d26b38 Localisation updates from https://translatewiki.net.
Change-Id: Idcd99418446ca65ab01723649f26e72c5e724d3d
2019-02-17 22:14:38 +01:00
Umherirrender 8dc39ccf86 build: Set private: true in package.json
The package.json is only for build, not to publish the package
Remove license, name, repository, version and homepage, because that is
not needed on private packages

Change-Id: I0819d00ea2effc9edf3f35dc6e74996f212f1d43
2019-02-16 15:48:40 +01:00
Translation updater bot 71c0317527 Localisation updates from https://translatewiki.net.
Change-Id: I24d485228c5c2a9ce09402961290fd2139727f12
2019-02-13 22:38:30 +01:00
Ed Sanders 57f9876e27 build: Update eslint-config-wikimedia to 0.10.1
Change-Id: I8aeddc384d25318e8618bb617884205f1c0c1f00
2019-02-10 16:54:28 +00:00
Translation updater bot 834224a62a Localisation updates from https://translatewiki.net.
Change-Id: Iaa95dab8af6083cc6e7cf1387ac47be85092d227
2019-02-07 22:28:50 +01:00