Translation updater bot
d01e9f6b45
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib26b800fa9d8c107e0a1a11b83843b9134a92ba3
2022-09-01 09:35:10 +02:00
Translation updater bot
eb9a889976
Localisation updates from https://translatewiki.net .
...
Change-Id: I132a6dbd086ab16e604a3138ead3c1536c151b1e
2022-08-29 09:16:17 +02:00
samtar
15a64e2faa
RealtimePreview.less: Add position: relative to preview class
...
Add `position: relative` to .ext-WikiEditor-realtimepreview-preview`
per this suggestion (T315049#8174670) by Matma Rex.
Bug: T315049
Change-Id: I70813f68ffd74fab4978127ecee9bd557d467ebb
2022-08-29 04:43:56 +00:00
Translation updater bot
acc4def9da
Localisation updates from https://translatewiki.net .
...
Change-Id: I84436595a4a4fb2327cc6f67c46644a1427e8687
2022-08-24 08:25:18 +02:00
Translation updater bot
42f2247be5
Localisation updates from https://translatewiki.net .
...
Change-Id: I3b2040dc58d3578111561ca8647055d675d06078
2022-08-22 08:24:25 +02:00
Translation updater bot
b0d96f7dbc
Localisation updates from https://translatewiki.net .
...
Change-Id: I784d0d9a7c2592c64383b3feb7aee702cbe26885
2022-08-19 08:30:54 +02:00
jenkins-bot
3b46163d52
Merge "RealtimePreview.js: Respect prefers-reduced-motion"
2022-08-17 23:01:00 +00:00
Translation updater bot
ea17aec21b
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic18dae385eafd97297bde6902d2a60fb8d38db23
2022-08-17 08:25:33 +02:00
Translation updater bot
ae3b860a90
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie84b1c64ea726992729fb7111ffb9ddef3af57e4
2022-08-15 08:27:33 +02:00
samtar
4a49cefbca
RealtimePreview.js: Respect prefers-reduced-motion
...
Set inManualMode to the result of the current prefers-reduced-motion
setting.
Add another property (reducedMotion) for later UI/message work
Bug: T314787
Change-Id: Ifeb8b996430830499945e73eca2dcfe0355c8046
2022-08-12 22:49:14 +01:00
Translation updater bot
9614477f8c
Localisation updates from https://translatewiki.net .
...
Change-Id: I2c7cf9452fc12197f789817697e9a918a0063fe4
2022-08-12 08:44:31 +02:00
Translation updater bot
9e3664416f
Localisation updates from https://translatewiki.net .
...
Change-Id: I590549cf65f4062fe0ed77434d446b5ee0730113
2022-08-11 08:52:20 +02:00
jenkins-bot
be78347453
Merge "inEventSample: Avoid invalid character warning from sampling code, hash into hex"
2022-08-10 15:00:42 +00:00
James D. Forrester
0e3f7c44b2
inEventSample: Avoid invalid character warning from sampling code, hash into hex
...
Bug: T314896
Change-Id: I377bbe54686fdb9d765543320aef14a99ee2cd7f
2022-08-10 09:24:43 -04:00
Translation updater bot
cfa60296e5
Localisation updates from https://translatewiki.net .
...
Change-Id: Id2833a6e2ca1af8bee95a1542b8821110bae63cf
2022-08-10 08:24:31 +02:00
Translation updater bot
68b4eae84e
Localisation updates from https://translatewiki.net .
...
Change-Id: Id9009b4f2251171dd529ee8633c0e38e1431771a
2022-08-08 08:59:51 +02:00
hmonroy
08c4dd35a4
Realtime Preview: add event tracking to load action
...
Trigger preview-realtime-loaded when the realtime preview pain loads.
Bug: T306176
Change-Id: If66c3db20a48ae8882412c068a0253f8cccfc1d3
2022-08-03 16:24:41 -07:00
jenkins-bot
6ec80740bc
Merge "RealtimePreview: Let doRealtimePreview handle manualWidget visibility"
2022-08-01 12:27:23 +00:00
Translation updater bot
8a318cc834
Localisation updates from https://translatewiki.net .
...
Change-Id: I638ac525bffd7af622a71db84261bad074649743
2022-08-01 08:23:48 +02:00
Dayllan Maza
a4b3e8b32b
RealtimePreview: Let doRealtimePreview handle manualWidget visibility
...
After I010c80cf9f2b619a41fb1111f7750e8f9e804698 `doRealtimePreview`
will always handle manualWidget visibility
Folow-Up: I0e9698faebd3f4df41221d6ba0b0f5f82ae3ae5b
Bug: T307240
Change-Id: I7b009729287fbfffc96a77a7a5faf230321f1a7c
2022-07-29 16:24:15 -04:00
Dayllan Maza
267338d4e0
RealtimePreview: force update when reloading from error message
...
Bug: T313381
Change-Id: I010c80cf9f2b619a41fb1111f7750e8f9e804698
2022-07-29 12:16:07 -04:00
jenkins-bot
09a56edaff
Merge "Add more conditions for re-showing the manual bar"
2022-07-29 15:52:29 +00:00
Translation updater bot
9cb9efc263
Localisation updates from https://translatewiki.net .
...
Change-Id: I6f010016572c6c51f7dd76db66a8cfe5634119ca
2022-07-29 08:54:31 +02:00
jenkins-bot
b82686d364
Merge "Invert RealtimePreview.setEnabled parameter meaning"
2022-07-28 15:30:10 +00:00
Sam Wilson
6fb1395f44
Add more conditions for re-showing the manual bar
...
Because the manual-mode bar gets hidden when an error message
is displayed, it's necessary to re-show it after the preview
is reloaded from the error message. This was done in the
below patch, but that didn't account for all conditions.
Follow-Up: I26150c190a9d3816e35ba369536e6d0ac11e4b1a
Bug: T307240
Change-Id: I0e9698faebd3f4df41221d6ba0b0f5f82ae3ae5b
2022-07-28 11:47:02 +00:00
Translation updater bot
248f0402a3
Localisation updates from https://translatewiki.net .
...
Change-Id: I1056d440f0267135f21359e38836b809dd6011c5
2022-07-28 08:58:24 +02:00
jenkins-bot
2f1e4604ee
Merge "Realtime Preview: add event tracking to triggered events"
2022-07-27 07:19:40 +00:00
Translation updater bot
caddd5d709
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic0815a36b9fcbd8ac8dd40a4f5ca092b31314e06
2022-07-27 08:27:03 +02:00
hmonroy
45474e1e26
Realtime Preview: add event tracking to triggered events
...
Add following logging events:
* preview-realtime-error-stopped: triggered when realtime preview
auto-load is stopped.
* preview-realtime-reload-error: triggered when realtime preview pane
shows an error message and the reload button shown in this message is clicked.
* preview-realtime-reload-hover: triggered when the reload button
that shows on hover in the realtime preview pane is clicked.
* preview-realtime-reload-manual: triggered when the reload button in
the realtime preview pane manual bar is clicked.
Bug: T306176
Change-Id: I0785b0a8e88125a9bb30ff5c64c8a7c50b556c63
2022-07-26 12:06:04 -07:00
Translation updater bot
e7db567e7d
Localisation updates from https://translatewiki.net .
...
Change-Id: Id8224ec689a8be0c3b25ba2996f97cb32db9d2b8
2022-07-26 08:26:06 +02:00
MusikAnimal
770277689a
Realtime Preview: scroll to cursor when opening/closing RTP
...
Bug: T311684
Follow-Up: I377fb3a122cda360e016716e3beb9c34983b8e10
Change-Id: Ic5c56f71589c944b15b83b49362fc250cb337c46
2022-07-25 21:17:12 -04:00
jenkins-bot
4d02fb808b
Merge "Realtime Preview: don't show error message and manual-mode bar at the same time"
2022-07-25 18:46:49 +00:00
Translation updater bot
e15e61c426
Localisation updates from https://translatewiki.net .
...
Change-Id: Icd157f17eee5fd22f9c32bb025ce986b04210c2c
2022-07-25 08:39:52 +02:00
Sam Wilson
296ffc58f8
Realtime Preview: don't show error message and manual-mode bar at the same time
...
Hide the manual widget when showing an error.
Bug: T307240
Change-Id: I26150c190a9d3816e35ba369536e6d0ac11e4b1a
2022-07-22 13:15:46 +08:00
MusikAnimal
8ae9eff956
Realtime Preview: make ResizingDragBar's max width match the CSS
...
Bug: T313376
Change-Id: I8fadf2f9f997ff889a8582d5f24babd96fb8fcb9
2022-07-21 12:31:57 -04:00
MusikAnimal
9f3d4f0fd9
Realtime Preview: hide onboarding popup when screen is too narrow
...
Bug: T313377
Change-Id: Ied9385fbbbda9857042ae38eb97be072edbc5e09
2022-07-21 00:29:40 -04:00
Sam Wilson
9ff5caacbd
Realtime Preview: better construction of OnboardingPopup
...
* Call the parent constructor.
* Add CSS class to the widget's existing $element, rather than
creating a new one. Doesn't really change anything, just looks
neater.
Change-Id: I67a72b5e2ef0912c7c7f7a44c87b31c08e1f7fcb
2022-07-21 11:20:57 +08:00
jenkins-bot
b49fe580d0
Merge "Realtime Preview: fix display when toggling content in manual mode"
2022-07-20 06:19:46 +00:00
hmonroy
2b43b3cb0d
Realtime Preview: fix display when toggling content in manual mode
...
Preserve content when links that toggle content are clicked in manual
mode.
Bug: T306877
Change-Id: I8b494e84feb4ecdb4b346f78f911f6ae9ba8dce3
2022-07-19 13:42:37 -07:00
MusikAnimal
96b3b46861
Realtime Preview: preserve caret position when opening/closing RTP
...
Bug: T311684
Change-Id: I377fb3a122cda360e016716e3beb9c34983b8e10
2022-07-19 15:00:25 -04:00
Translation updater bot
8a6a40292f
Localisation updates from https://translatewiki.net .
...
Change-Id: I715b9fb9b03c898a95d2ff329dc7f4aeb2529502
2022-07-18 08:16:05 +02:00
Translation updater bot
8340ba03c7
Localisation updates from https://translatewiki.net .
...
Change-Id: I244decbe1796492a7ec251b6b3aab1db8afa05f9
2022-07-13 08:18:24 +02:00
Sam Wilson
3ac3629c8d
Realtime Preview: add mediawiki.storage module dependency
...
It is used by the onboarding pulsating dot and popup.
Follow-Up: I7f4dd0858349b0e7c4f4bedea5c7a62a51c6fa3a
Change-Id: Ic61559793fcac47f6b6246872212f70fcf870cbf
2022-07-11 05:51:51 +00:00
jenkins-bot
fb8dfd0e31
Merge "Realtime Preview: only add window-resize handler if toolbar button is used"
2022-07-11 04:00:49 +00:00
MusikAnimal
7f329a7453
Realtime Preview: don't hide diff view on refresh
...
Bug: T307046
Change-Id: I77379a323b7532595685494de10b89be65e49954
2022-07-07 19:53:24 +00:00
Sam Wilson
cff0089326
Realtime Preview: only add window-resize handler if toolbar button is used
...
Move the resize handler from the RealtimePreview constructor to the
getToolbarButton() method, to prevent it being used when the button
is not used (e.g. if the gadget is misconfigured).
Bug: T309330
Change-Id: I7abc335112648605404785528b37a81d946e900e
2022-07-07 13:21:23 +08:00
Translation updater bot
12661580d4
Localisation updates from https://translatewiki.net .
...
Change-Id: I2a242e050c3acbd5671634a8f18008822daabf5b
2022-07-06 10:18:51 +02:00
Translation updater bot
79d88eb744
Localisation updates from https://translatewiki.net .
...
Change-Id: I4c66ef05e3b5629afa6b7d5ac010335354f18e7d
2022-07-04 08:23:09 +02:00
Sam Wilson
b815fa6bd1
Realtime Preview: prevent lose of textarea selection when toggling
...
Save the current caret position in the textarea before enabling
or disabling Realtime Preview, and restore it afterwards.
Bug: T311496
Change-Id: Ib906e96e4e8b94b4e1fd82f6201005394c8a27c5
2022-06-28 20:15:54 +08:00
jenkins-bot
0ca47fea6f
Merge "RealtimePreview: Don't update when wikitext is unmodified"
2022-06-27 14:42:39 +00:00