Commit graph

2909 commits

Author SHA1 Message Date
WMDE-Fisch 26c0e592a5 Disable reference previews when the navigation popups gadget is used
Otherwise we will have two popups for references when hovering.

Bug: T347391
Change-Id: I8332e9fe6e214b2bd3491adb2bedcae2870f34c7
2023-09-26 14:44:05 +02:00
Jon Robson a11d459ef1 Selenium: More explicitly target reference links
The previous selector in the case of the first reference link
matches two elements - one in the "Reference links" section
and one in the "References" section.

My hunch is this leads to the test failures we have been seeing

Bug: T344072
Change-Id: Icda37b4f46add4049344f7a8c452082d7b0df5c8
2023-09-21 22:48:43 +00:00
jenkins-bot 0d591abfe7 Merge "Disable error logging for missing settings cog on references beta feature" 2023-09-15 18:50:08 +00:00
Jon Robson 76c0504223 Disable animations in storybook
Needed for chromatic

Change-Id: I372c2a91f698738569ffdc0099508007056684ed
2023-09-15 18:15:08 +00:00
Jon Robson 961778b3c5 Disable error logging for missing settings cog on references beta feature
Bug: T346404
Change-Id: I36b1759f6d00ff6ce584a1bc1ac68dedd633fc6a
2023-09-15 09:49:30 -07:00
Jon Robson e69309d5a2 Remove unhelpful comment
The graphic shown when disabling page previews is not an icon
so it's unhelpful to refer to the deprecated mw-ui-icon library.

Bug: T345653#9168342
Change-Id: I083b3d05fd9629c4c2a773a4805e330cfc2a6a53
2023-09-14 14:44:34 -07:00
bwang 154912e5db Rename icon classes in Popups to use popups-icon prefix instead of mw-ui-icon, replace resource loader icons with codex
Bug: T345653
Change-Id: I19b9861850064df50d6b88cda748feff6231091c
2023-09-12 10:56:53 -05:00
Translation updater bot ad94a23b4f Localisation updates from https://translatewiki.net.
Change-Id: If6ddd8765ca19f40bcee62aa16a34a892b2fab98
2023-09-11 09:04:48 +02:00
thiemowmde 8c5120c2a6 Fix settings button not working on reference previews
Apparently caused by a mistake in I8697232, and the QA for T340256 not
covering the full functionality of what was changed in the patch.

Bug: T345829
Change-Id: I482d32183ef7f2226c7ad114be0fbaf97bc7b898
2023-09-08 23:45:29 +00:00
James D. Forrester a8557a7042 tests: Raise jQuery requirement from v3.6.1 to v3.7.1
Matches MediaWiki change d3d0a363d1f8c70cfa2e880d24182c050ad9bf78.

Change-Id: I948042fb0c4e19d9162680a4fa3e5ae024393859
2023-09-07 16:14:29 +00:00
bwang c973629507 Simplify pointer spacing CSS and clean up CSS
Bug: T330570
Change-Id: I52e4c4a53e53092bf49d0801df7d5b3d765239c0
2023-09-07 16:07:28 +00:00
jenkins-bot a7263c6219 Merge "Prevent popups text from being cut off and make bottom spacing for vertical page previews consistent" 2023-09-07 16:01:49 +00:00
Translation updater bot 19aa1cd82c Localisation updates from https://translatewiki.net.
Change-Id: Ide484cc409bf445c28714350b3273fb15b444215
2023-09-07 11:13:03 +02:00
bwang 821002fdc8 Prevent popups text from being cut off and make bottom spacing for vertical page previews consistent
Bug: T330570
Change-Id: Iab91d4a99df3d5ae23f36b7e47da0e96eb0e189d
2023-09-01 13:49:03 -05:00
Translation updater bot b0d1ce6d75 Localisation updates from https://translatewiki.net.
Change-Id: Ic153b0b3b6e503ed1a1ec8cbd30b9707e5a44e96
2023-09-01 09:03:22 +02:00
Translation updater bot fd40fa4e4d Localisation updates from https://translatewiki.net.
Change-Id: I2d6faf1be13ace5b5c76fa0ebc2dc78100d4895c
2023-08-29 08:28:59 +02:00
Translation updater bot 49f48cddbd Localisation updates from https://translatewiki.net.
Change-Id: I3f20611d17aa99629746d57845fe68f592a58882
2023-08-28 09:30:42 +02:00
Translation updater bot 9c30ebe7d2 Localisation updates from https://translatewiki.net.
Change-Id: I5da99b6cde2716c19bd8e4002a01ef841698cd04
2023-08-23 08:40:07 +02:00
jenkins-bot 7e88a55e10 Merge "Replace mediawiki.ui.icon with Codex, update preview markup and styles to be more consistent" 2023-08-21 20:09:27 +00:00
bwang b78cfe50c9 Replace mediawiki.ui.icon with Codex, update preview markup and styles to be more consistent
- Removes .mw-ui-icon and .mw-ui-icon-element
- Aligns markup/styles between generic and disambiguation previews
- Update padding for generic and disambiguation previews to be the same as other popups, results in minor visual changes

Bug: T341899
Change-Id: I9a58fc6a93160d07452ea6f903e1797dd9421d92
2023-08-21 19:53:51 +00:00
Translation updater bot f073d69f9e Localisation updates from https://translatewiki.net.
Change-Id: Ifd416dbb0010efd56d8b43bf815950d6ea1393c0
2023-08-21 08:48:22 +02:00
gerritbot 2da869fa58 Replace some moved Title class uses, now MediaWiki\Title\Title
Bug: T321681
Change-Id: Ia3b739ceacc035d64ec6d13de9d3e6de102dbb20
2023-08-19 12:22:49 +00:00
James D. Forrester 30b5e96d53 build: Update MediaWiki requirement to 1.41
All extensions in Wikimedia production are expected to track MediaWiki's release directly.

Change-Id: I96d945aece8546af7037bd0758224f3fa67f6b11
2023-08-19 14:00:56 +08:00
Translation updater bot fc89fbd0ff Localisation updates from https://translatewiki.net.
Change-Id: Id86ae6972f8efee85acf05aa01b865820f739d97
2023-08-15 08:26:25 +02:00
Translation updater bot 81b0668269 Localisation updates from https://translatewiki.net.
Change-Id: Ia268465b57fffedd58c326580f6e83986f1003b7
2023-08-11 09:01:33 +02:00
Umherirrender 97b9e453e2 build: Use quotes for paths in package.json
To make it working on Windows

Change-Id: I432091107356682f4d6bc8613922b908a6c2e6ea
2023-08-10 08:47:16 +00:00
jenkins-bot 0c1fc73908 Merge "Avoid using TestUser in non-Database tests" 2023-08-10 08:45:46 +00:00
Translation updater bot 39db791d9d Localisation updates from https://translatewiki.net.
Change-Id: I4856badc1a72f1251fb64bf63bb1521c818096b6
2023-08-10 09:41:49 +02:00
Daimona Eaytoy c581aab15e Avoid using TestUser in non-Database tests
TestUser is expensive and requires DB access because it creates the user
in the test database. That is not needed here. For these tests, a mock
is enough.

Also make PopupsGadgetsIntegrationTest an integration test, to fix a
local failure and in view of I0a04c82250582fed7a66c1e10868d9b4f3823a28.
If a test is testing the integration of X with Y, guess what, it's an
integration test ;-)

Change-Id: Ie8b3376ce97b9ddc67746f7754b92628c5ab9470
2023-08-10 00:08:49 +02:00
Translation updater bot 72121abf87 Localisation updates from https://translatewiki.net.
Change-Id: Iccca55542a0c44dfeffbaf7538461f80597a2863
2023-08-09 09:15:39 +02:00
Translation updater bot f19d84e2dc Localisation updates from https://translatewiki.net.
Change-Id: Iff9d942f6bdbba00ec4c94a3d9fb74b426533041
2023-08-08 09:01:29 +02:00
Translation updater bot c4079953a1 Localisation updates from https://translatewiki.net.
Change-Id: I3054337ad546420dcee00151e446a7f84a7d0291
2023-08-07 08:39:24 +02:00
Translation updater bot cb1642c6d8 Localisation updates from https://translatewiki.net.
Change-Id: Ifb65d596c47c0b7b3f18e6a25aeff601855ef1b8
2023-08-03 08:48:59 +02:00
Translation updater bot ef5ec5a723 Localisation updates from https://translatewiki.net.
Change-Id: I3218790f653b2a2c04ec78ea3739c81f0b1ab3fa
2023-07-31 09:00:19 +02:00
jenkins-bot 5c379bff07 Merge "Remove unnecessary codex button styles" 2023-07-27 18:36:17 +00:00
jenkins-bot 7e1e93c2b1 Merge "Scope rule to Popups" 2023-07-27 17:21:42 +00:00
Jon Robson 58156d2aa7 Scope rule to Popups
This rule is clashing with some special behaviour in Minerva
relating to labels being shown to desktop users

Follow up to I86972322ae34f1d1df8d79c66daa9e34091f9dd3

Bug: T319260
Bug: T340262
Change-Id: If6f8ee2793726306675a7e6c7de0495065644394
2023-07-27 12:13:41 -05:00
jenkins-bot 54191fe9a0 Merge "Model: Make dwell delay part of model and registration" 2023-07-27 13:33:10 +00:00
Translation updater bot ebb236113b Localisation updates from https://translatewiki.net.
Change-Id: I3939bb4281ea6cf56f6cc9987d29ed9e073afeea
2023-07-27 10:49:07 +02:00
Jon Robson 9aa07d0809 Model: Make dwell delay part of model and registration
Dwell delay varies between popup type so should be part of the
definition. Since this is needed by reference tooltips we should
make this part of the Page preview model. This will allow us to
separate concerns of the architecture and reference  tooltips
for better maintenance between WMDE and web team.

Bug: T326692
Change-Id: Ia021c8b90fd69d70c4b33744520bb963a65db036
2023-07-26 17:42:56 -07:00
bwang 1f5e249f96 Remove unnecessary codex button styles
Change-Id: Ic58d143af75e62b26c25904212aa07e3cdd1519e
2023-07-26 15:52:28 -05:00
Translation updater bot 970e7112a5 Localisation updates from https://translatewiki.net.
Change-Id: I935ec80d45477b42506a17f37eb384eeef2d1934
2023-07-24 09:39:21 +02:00
jenkins-bot 5edfaad0f0 Merge "Don't log for documentElement (nodeType 9)" 2023-07-18 21:37:44 +00:00
Jon Robson 5af31b5524 Don't log for documentElement (nodeType 9)
Follow up to Ia011aaf9f8b5b932695da3311f849682c0105cfe

Bug: T340081
Change-Id: Ibff26eb90fd650532a7e23ac16232366676c0d15
2023-07-18 20:34:47 +00:00
jenkins-bot 6b153fcc44 Merge "Add additional debugging closest bug" 2023-07-18 14:47:10 +00:00
WMDE-Fisch c2413c858b selenium: Refactor WebdriverIO tests from sync to async mode
I also removed the bool on the shouldUseReferencePopupsBetaFeature
method. It was always just used with `true`

Bug: T293072
Change-Id: I1a2d6f912fcac2ac77539581897e0feab489edf0
2023-07-18 09:34:47 +02:00
Jon Robson a80d2b1f56 Add additional debugging closest bug
Use the topic "error.web-team" - error prefix necessary
for it to be treated as an error, and 'web-team' moves
it off main channel.

Error logs tagName and nodeType which should be sufficient
for us to understand this issue. Can expand with other
information later if need be. Cannot add to stack trace
as any non-standard stack trace would be dropped by the intake
code.

Bug: T340081
Change-Id: Ia011aaf9f8b5b932695da3311f849682c0105cfe
2023-07-17 14:54:12 -07:00
Translation updater bot 6ee797e897 Localisation updates from https://translatewiki.net.
Change-Id: Ic46bf1de6d9ef6d373c33b50d76609765d347a50
2023-07-17 10:18:29 +02:00
Jon Robson 36101004e7 Browser tests: Skip another test
Bug: T341763
Change-Id: I37d8c62c1e10160bc27ed9135fd3765cccf77be5
2023-07-14 09:57:28 -07:00
Jon Robson 3d627fe731 Skip flakey Selenium test for now
This test is failing regularly on the daily build. I manually
checked and could see no problems with the functionality:
https://integration.wikimedia.org/ci/job/selenium-daily-beta-Popups/

Bug: T341763
Change-Id: Id3a3a1c16c400796467496d8934fdff7a14be9fb
2023-07-13 15:15:34 +00:00