Commit graph

963 commits

Author SHA1 Message Date
Ed Sanders 3cbe0a5a20 Update VE core submodule to master (c2c5149f3)
New changes:
62f06382c Localisation updates from https://translatewiki.net.
5fc25c0d9 LinkContextItem: Apply ellipsis directly to link

Local changes to fix link ellipsis styles.

Bug: T230267
Depends-On: I25bb4fa9b7288232b08bab9c88f281817a26d6bb
Change-Id: I8a4b04d45979a1f6c375a7c92a340e3e81d7753c
2019-08-15 10:12:22 +02:00
Ed Sanders 90fc49e18b Update VE core submodule to master (70bf52198)
New changes:
70bf52198 MobileContext: Clear opening timeout when closing

Bug: T229879
Change-Id: I4c13c0e8bc56262f0504dab19847718fe4d60ce6
2019-08-06 15:27:03 +01:00
Ed Sanders d8461241f2 Update VE core submodule to master (aae84a489)
New changes:
1375d1500 Document that toJSON takes a key argument
27056b919 Localisation updates from https://translatewiki.net.
aa52f476f Only create context footer on mobile
ab6d942c5 Deactivate surface during replaceAll
aae84a489 MobileContext: Ensure isVisible returns true while opening

Bug: T229734
Bug: T229879
Change-Id: Ic03c22a785a2e9e8a4d38c17789ea2d4f16ef3ed
2019-08-05 21:13:05 +01:00
James D. Forrester 67087af16d Update VE core submodule to master (0de28ce64)
New changes:
cd5e54f78 MediaSizeWidget: Make methods chainable
1606e2dd5 Localisation updates from https://translatewiki.net.
5a2f5fdb5 ve.ui.AnnotationInspector: Select inserted elements (not text) after inserting
6f2206ee2 Fix ve.dm.Change#toJSON to cope with arguments passed by JSON.stringify
7c78f1db7 Document ve.dm.TransactionProcessor#process better

Bug: T227630
Change-Id: Ic79e8bb8ef9a6288d80b591a83bf43cafc83743d
2019-08-02 10:26:51 -07:00
James D. Forrester dce6efb31e Update VE core submodule to master (a7d95c35b)
New changes:
d6d0ff8ce Localisation updates from https://translatewiki.net.
f57c6344c Move common code from FragmentDialog and FragmentInspector to FragmentWindow
a7d95c35b build: Bump lodash for npm audit

Change-Id: Ide09983d0b8c2006b25ab257fc048416a83b50c6
2019-07-31 18:50:04 -07:00
James D. Forrester e0272fef60 Update VE core submodule to master (fe0f165df)
New changes:
2e14259db ve.ui.FragmentInspector: Fix positioning of additional actions

Change-Id: I1702552df1eba492251c8388710c8b2f194a0991
2019-07-25 13:52:43 -07:00
Ed Sanders 32042d76e8 Update VE core submodule to master (fbbb9c4cb)
New changes:
854a1fa2c Distinguish active link styling

Local changes:
* Pull through active link styling

Bug: T228220
Change-Id: I925f88d32a514a749b96f501a211003bc4c924f0
2019-07-25 20:25:54 +00:00
Ed Sanders 9a1994e47c Update VE core submodule to master (7cb9caca1)
New changes:
28aea2e4d Edit cards v2 design
739017973 Track usage of the new "close context" button

Local changes:
* Edit cards v2 pull through

Bug: T222396
Change-Id: I1ca885e8d8127e7827a059755315ed789a7b9210
2019-07-25 22:24:48 +02:00
Bartosz Dziewoński 473bf1bf94 Update VE core submodule to master (e63fe33b1)
New changes:
e6531ada8 Follow-up 06f1ebb8: Drop deprecated ve.init.Platform methods
65a6870b3 Localisation updates from https://translatewiki.net.
e63fe33b1 Instrument ActionProcess for FragmentDialogs as well

Bug: T221305
Change-Id: I9e4d4249167dae7b8593c0fa88e6227c9714957d
2019-07-25 22:05:45 +02:00
David Lynch 5424a5e6bb Update VE core submodule to master (788d449ae)
New changes:
2d326b1fe Re-enable karma Firefox testing
4d95bdf2c ve.ui.Surface: Update iOS padding on focus/blur/activation
5cf567d34 Generalize the tracking of window opening

Bug: T200347
Bug: T221305
Change-Id: I3da0e81ac906f2426060fcaea4d268aa8b82e82c
2019-07-24 15:04:45 -05:00
Bartosz Dziewoński 2b6857d89a Update VE core submodule to master (6045a533f)
New changes:
5e8865931 Don't hide the context when opening an inspector on mobile

Bug: T228229
Change-Id: I32ff3962cdff332d51f32c5c3fd36e8062c3ac6f
2019-07-23 22:13:39 +00:00
Bartosz Dziewoński 0fb7d5efda Update VE core submodule to 962335a40293cf4b1314c0236788f35f080ae877
New changes:
a06204317 Fix TableNode unit test getOffsetFromCoords failure on Firefox
dfe0eb025 Refactor mobile context logic into ve.ui.MobileContext

Local changes:
* Pull through for edit cards refactor

Bug: T227532
Bug: T228767
Change-Id: I6c043e039fbef62a56f475b0dc365e171ab7bf59
2019-07-23 22:13:27 +00:00
Ed Sanders 393de5985f Update VE core submodule to abf2bfa85e64e67cdf963601fe1da2a11fd9e89a
New changes:
1a7460058 Remove ve.newMobileContext feature flag

Local changes:
* Remove ve.newMobileContext feature flag

Change-Id: Ia8def997b7cba4623866080752b06068d2118cc3
2019-07-23 22:12:48 +00:00
James D. Forrester df0e56a8fc Update VE core submodule to master (d33f296d1)
New changes:
da6d39555 Use collapsed selection for "set label" button on mobile
03d6ccf50 Localisation updates from https://translatewiki.net.
d33f296d1 Update OOUI to v0.33.4

Bug: T228227
Change-Id: I20e39928fb6ca6e0d72c399987d76cc579b4f842
2019-07-23 07:34:03 -07:00
Bartosz Dziewoński c354e17388 Update VE core submodule to master (e2f4b0e96)
New changes:
1f9b02179 ve.ui.AnnotationContextItem: Use ve.ce.Surface's logic for detecting annotations
570acddfb Revert "Call handleInsertion on beforeinput"
e2f4b0e96 Localisation updates from https://translatewiki.net.

Bug: T217223
Bug: T227241
Bug: T227852
Change-Id: I439872773aee5a78928cf8af1a44c8eb080a8bf0
2019-07-19 18:09:51 +02:00
James D. Forrester c82238b0b6 Update VE core submodule to master (3d0cc9eac)
New changes:
9171b9afd Update OOUI to v0.33.3
d22e876e0 SurfaceFragment: Fix typo in docs
11b04e1b6 HashValueStore: Shortcut merge if other === this

Change-Id: Ibfe03293675f6484d0758ebc239246713bfa7d95
2019-07-17 14:38:09 -07:00
Bartosz Dziewoński 8aac97cc30 Update VE core submodule to master (311a3dff1)
New changes:
bb8471c98 Edit cards: Don't show keyboard when going from focusable to link
80feb00ae BranchNode: Add comment to internalItem hack
9c2f1241b FocusableNode: Avoid DOM manipulation in setup

Change-Id: Iad906dc3aeff1b777ad11f276a277381a99b4113
2019-07-16 01:06:27 +02:00
James D. Forrester d8b6509d78 Update VE core submodule to master (e16b98e25)
New changes:
616f2c40d Fix some typos in code comments
22c03cc02 Render internal item nodes when requested individually

Bug: T228070
Change-Id: I99ee90f0b88c00455995d165745509121df1b2b0
2019-07-15 14:11:20 -07:00
Ed Sanders b64cd4ced1 Update VE core submodule to master (213b79783)
New changes:
6cd9ba63f Localisation updates from https://translatewiki.net.
c9cebed32 Update OOUI to v0.33.2
65c66b8a6 Localisation updates from https://translatewiki.net.
8d94ad13f Replace unrendered parts of the view tree with a stub node
213b79783 Basic unit tests for attachedRoot functionality

Bug: T215717
Change-Id: I7bd8106a82e4fa7c912ce9f8d4fab86bfb546702
2019-07-14 15:26:28 +01:00
James D. Forrester a0aacd89e1 Update VE core submodule to master (d49575d46)
New changes:
3bc3dfd87 build: Upgrade various devDependencies to latest and make pass
a0165b985 Fix visible whitespace rendering in source mode
261535e2d Avoid jQuery.map
bf1398cc3 Remove unused :visible check

Bug: T226478
Change-Id: I9b6a79ea0fdb1679036372b46b8df3b885ffb135
2019-07-08 11:17:16 -07:00
James D. Forrester 24a017e980 Update VE core submodule to master (89805a657)
New changes:
ee6c423cf Add transition to iOS menu bar hack
f11192b6d Localisation updates from https://translatewiki.net.
22eb0e4ca Replace #serialize methods with #toJSON
1fe8a1afb Provide defaults for ve.dm.Change constructor
ce0123260 Explicitly pass store length argument to pushTransaction
89805a657 Set max width on mobile demo

Change-Id: Ic2de7c5d5ab9f8d416a4de01a5125128533abe64
2019-07-05 15:51:01 -07:00
James D. Forrester 56df3cc4cb Update VE core submodule to master (75510a515)
New changes:
a3d860daf Localisation updates from https://translatewiki.net.
0421bf6f0 Gather annotations from clicked node where possible
2d2491877 Change#squash: Compact multiple transactions into one
dc0e4650e Fix documentation of ve.dm.Change#serialize
a40f8314f Fix contexedAnnotations equality check
ec62ccb34 Use 16px font size on SA mobile demo
57984c072 Update OOUI to v0.33.1

Add lib/ve/src/dm/ve.dm.TransactionSquasher.js to debugScripts.

Bug: T188026
Bug: T226708
Change-Id: I6eb4ab50ef2c6774963f692f600f059662bf0ac3
2019-07-04 00:31:57 +00:00
James D. Forrester 3f38f54a12 Update VE core submodule to master (681aa3fbc)
New changes:
9cbe6ed65 Use 'unLink' icon for unlinking
e6f489f8d Dialogs: Use close flag for close actions
f2260bc47 Update RangeFix 0.2.7 -> 0.2.8

Bug: T225021
Bug: T225725
Change-Id: I36f27fe4b2b7a2fffa319cbff0b160b4435e806b
2019-06-28 13:36:18 -07:00
James D. Forrester 928153f268 Update VE core submodule to master (f93b871a6)
New changes:
33c9871e4 ve.ce.Surface: Clear active annotation highlight when blurring on mobile
24e442efc Enhanced instrumentation for context items and inspectors
17e0a80ea Localisation updates from https://translatewiki.net.
39ba2e196 Update OOUI to v0.33.0

Bug: T221252
Change-Id: I06eb0f99557dbada022bcad44fff48ec0709e004
2019-06-27 10:43:03 -07:00
James D. Forrester 97484d3b7a Update VE core submodule to master (cf99ae2e0)
New changes:
2c8676497 Rename call to deprecated scrollCursorIntoView
f04991f64 Fix missing resize handles in dist

Bug: T182312
Change-Id: I90e3672780356d352f2b08c824c59905e8936b6d
2019-06-26 14:11:06 -07:00
James D. Forrester ddfa58243b Update VE core submodule to master (39b766b3a)
New changes:
7bec2244a Localisation updates from https://translatewiki.net.
61ea6f413 Remove iOS context scroll fix
5b78a078f Move logic for new mobile contexts to mouse down handler
83301862f Check argument to getNodeFromOffset is a number

Bug: T202723
Bug: T226073
Change-Id: Iffa0ccdb40f8f505b460eadf84dc1cefdacdcfa2
2019-06-25 12:03:37 -07:00
James D. Forrester 5b5979cfe2 Update VE core submodule to master (35a2d0629)
New changes:
35a2d0629 ce.LinearSelection: Don't crash when surface is not attached

Bug: T226281
Change-Id: I5a0a3acdabddcea2949f333ff54f5259f770a4c5
2019-06-21 18:41:37 -07:00
James D. Forrester 92a600d5a2 Update VE core submodule to master (599facff7)
New changes:
7f002809d Localisation updates from https://translatewiki.net.
599facff7 Restore inline slugs in source mode for cursoring

Bug: T225546
Change-Id: I28a08113d0c8b3b64b32c06b225b0b4038140758
2019-06-20 15:58:09 -07:00
Ed Sanders 421ef465b9 Update VE core submodule to master (1cf71b3f3)
New changes:
f99a7cd43 Apply desktop contexts' line-wrapping to new mobile contexts
fad2671d3 Localisation updates from https://translatewiki.net.
262c84128 scrollSelectionIntoView: Code simplifications
a13c86033 scrollSelectionIntoView: Fix mobile logic
04774b03c Allow passing a pre-existing HashValueStore to getModelFromDom
1cf71b3f3 Catch errors from getNodeAndOffset

Bug: T202723
Change-Id: I41cf726dad38d4fe6647a1b760d66126fcee393f
2019-06-20 13:39:59 +01:00
Bartosz Dziewoński 01afd73aea Update VE core submodule to master (44556e8fd)
New changes:
ee96c6334 Localisation updates from https://translatewiki.net.
2a9ff2c54 Localisation updates from https://translatewiki.net.
5facf5ef6 Localisation updates from https://translatewiki.net.
afe09ea26 Make annotationsAtModelSelection fail in fewer cases
f6278bba0 Fix clipping on label preview in link context
42717187a ve.ui.AnnotationInspector: Deactivate surface after closing on mobile
44556e8fd Move mobile context to bottom of page

Bug: T199617
Bug: T204733
Bug: T220633
Bug: T225541
Change-Id: Icd6de1d7e380a14444ddba2044553c8c13682706
2019-06-14 22:56:24 +02:00
James D. Forrester 14e747b398 Update VE core submodule to master (e531c251e)
New changes:
7f101ce9a Add new messages for add/edit link
e531c251e Update OOUI to v0.32.1

Change-Id: Ib9fb48c531c8bc787bd2efc3e4f59af8977b1977
2019-06-05 15:38:12 -07:00
James D. Forrester 65edcaf631 Update VE core submodule to master (2da36280a)
New changes:
ca588de0d CommentAnnotation: Make deleteable
02eb9e835 Synchronizer: Fix defaultName config
4101ca058 Add removeEmptyLastChildOnEnter to CheckListNode
080317f9f CheckListNode: Flip margins based on content direction
df1dbd0c4 Localisation updates from https://translatewiki.net.
a55f5d7d9 Make undo concurrency-aware

Bug: T185706
Change-Id: Id2b993eb6efcb0dde0c7d1ea1fc6a6cf91bc0e43
2019-06-04 15:57:46 -07:00
Ed Sanders dbd4dfd727 Update VE core submodule to master (53e69bf14)
New changes:
5810e0cd4 Update UnicodeJS to v12.0.0
145991ded Fix file list on demo page
53e69bf14 SurfaceSynchronizer: Force websocket transport

Bug: T201531
Bug: T201532
Bug: T201533
Bug: T201534
Change-Id: I96beb31df55b41bf1d259f5e6964245008face22
2019-05-30 23:02:27 +01:00
Ed Sanders b1ac5b74d3 Update VE core submodule to master (06f1ebb8e)
New changes:
06f1ebb8e Local/SessionStorage refactor

Local changes:
* Update for core storage refactor

Depends-On: I3cc1d5adfbce794e8345b7f1090c10fb0d42d150
Change-Id: If855ee33b0993788cc159d8c3acf03070e6a9566
2019-05-29 14:49:53 -07:00
James D. Forrester 0e7e88c43e Update VE core submodule to master (d9ece414a)
New changes:
c0799b060 Source mode performance optimizations
d9ece414a ve.dm.MetaItem: Add removable flag

Bug: T96528
Change-Id: Ifc0d3322c0ab0c0384fd179281cb1ed7f3ff6b31
2019-05-29 12:31:24 -07:00
James D. Forrester 0c98fd06c8 Update VE core submodule to master (67f50262e)
New changes:
27a6c1b28 Fix find and replace selection handling
67f50262e Update OOUI to v0.32.0

Bug: T222247
Change-Id: I648a339f4d84967c64e66d76f6828af8031b8b63
2019-05-28 17:58:24 -07:00
James D. Forrester e2d2263540 Update VE core submodule to master (e3715c257)
New changes:
f33944071 Call handleInsertion on beforeinput
fea597f9f Localisation updates from https://translatewiki.net.
33750ce4a Revert "ve.ce.FocusableNode: Prevent native selection from changing on click"

Bug: T217223
Bug: T224042
Change-Id: I3b3b65f002e0d0852eb065338552243e4f1979ae
2019-05-28 10:45:53 -07:00
James D. Forrester 4a7231f3ee Update VE core submodule to master (3c069c39f)
New changes:
c843549bc ve.ui.Surface: Remove unneeded code handling mobile dialogs
9d530f337 Don't show mobile table context on desktop

Bug: T211240
Change-Id: I8975279f4ee29eb290c6b6238a8106077857635f
2019-05-24 09:57:41 -07:00
James D. Forrester 6c368a0303 Update VE core submodule to master (68b031087)
New changes:
68b031087 ve.init.Target: Fix errant call to setSurfacePadding, not setPadding

Bug: T224255
Change-Id: I19db16ec5849968f48658e4149bf7410b58ece5e
2019-05-23 16:45:28 -07:00
James D. Forrester fd7e4e3abd Update VE core submodule to master (c3d8228b8)
New changes:
120c96c94 Replace surface's 'toolbarHeight' with generic 'padding'
c3d8228b8 Localisation updates from https://translatewiki.net.

Bug: T224126
Change-Id: If374b215f942220f157bfedbe481ed79d69e9d85
2019-05-23 10:54:35 -07:00
James D. Forrester 700087e5fe Update VE core submodule to master (d5a7325ef)
New changes:
ae1c9f741 AlignableContextItem: Hide labels on mobile for space
c32f27d63 Localisation updates from https://translatewiki.net.
71f10a10b Remove fullCol/fullRow selection style
d5a7325ef Unify selection scroll code

Bug: T220227
Change-Id: I294b1b63f34530b2b649e15d9f63f6c0e1ae2e96
2019-05-22 09:37:28 -07:00
Ed Sanders a046bacead Update VE core submodule to master (334260638)
New changes:
e01936d72 Tweak table selection rects in Chrome/Firefox
334260638 Localisation updates from https://translatewiki.net.

Change-Id: I70f78c7e98c42be2e171a47cb6a572005c2a8ac5
2019-05-17 14:40:20 +02:00
James D. Forrester 5de26792df Update VE core submodule to master (ad71116fd)
New changes:
a44fb60ae Localisation updates from https://translatewiki.net.
71298d9c7 build: Unbreak language lists, adding new 'bjn' language
ad71116fd build: Upgrade grunt-cssjanus from 0.4.0 to 0.5.0

Change-Id: I63314fd4581a626b6efd44b6c26bd90e6d83a4fb
2019-05-13 16:57:32 +01:00
James D. Forrester 622e77d620 Update VE core submodule to master (6fc2d029c)
New changes:
8df948f5d TableLineContext: add context for the entire table
aae86a822 TableNode: Change mobile behavior so initial tap enters the cell
195d8cb3a Check resizeable node is focused before rendering handles

Bug: T211240
Change-Id: Ib2430c521abb4e59aaa2c5e4f9b26a16437db02e
2019-05-13 13:30:15 +01:00
James D. Forrester 8d2d11cb11 Update VE core submodule to master (7e10b410b)
New changes:
899ceb674 Localisation updates from https://translatewiki.net.
f9a505fc8 build: Upgrade grunt from 1.0.3 to 1.0.4 and re-up for npm audit
b5003d614 build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
047b4b658 TableNode performance: Only change selection when endCell changes
403ac358a Update OOUI to v0.31.6
214553db9 ve.ce.FocusableNode: Prevent native selection from changing on click
7e10b410b Localisation updates from https://translatewiki.net.

Bug: T108013
Bug: T220036
Change-Id: I0ae9d03486c3d45cee66cbf004ef98a406f06a50
2019-05-09 10:39:45 -07:00
James D. Forrester e006803fdf Update VE core submodule to master (36e90285e)
New changes:
ec868af45 Don't allow merging cells that aren't editable
7d611c668 Demo: Set nullSelectionOnBlur when changing page
f9efedaba Remove focus code from LinearContext
690d22d08 WindowAction: Don't re-activate surface until teardown complete
7b2e88166 Update activeAnnotations when applying new annotation

Bug: T221716
Bug: T222039
Change-Id: Icb65c880d8407733192f4cb953899399ecbe87f3
2019-04-29 10:41:54 -07:00
James D. Forrester e437d25be8 Update VE core submodule to master (e1d2a6d8c)
New changes:
fff5c8c1c ve.dm.VisualDiff: Allow sub-trees to be diffed

Bug: T221903
Change-Id: Ie9c9674cb7e1532319a5276a107bcf2c6bd34b65
2019-04-28 08:29:49 -07:00
James D. Forrester f75ee24d05 Update VE core submodule to master (b68520b6d)
New changes:
b68520b6d Check selection is a TableSelection before looking for cells

Bug: T221901
Change-Id: If25bda1c0b970d92b89014c862457a7a417b58cd
2019-04-26 23:26:12 -05:00
James D. Forrester b89221be3b Update VE core submodule to master (b049d6049)
New changes:
c544dfc40 ve.ui.DebugBar: Fix Filibuster button
2009d0427 Remove list-specific logic from LinearEnterKeyDownHandler
1ee05602a Don't reactivate after opening tools/windows on mobile
3538c3870 (De)activate table selection on context menu toggle
39be19b54 Re-use existing table selection when re-activating
59cf5cdbd Add more granular code coverage targets
d0ff41a71 Update OOUI to v0.31.5
b049d6049 ve.ce.TableArrowKeyDownHandler: Movement from merged cells must collapse selection

Bug: T220633
Bug: T221286
Change-Id: I443e665e8831defd098eb410264c404942f3e2ec
2019-04-24 14:34:39 -05:00
James D. Forrester 3320d8ec58 Update VE core submodule to master (ac38ec869)
New changes:
64bad457a Localisation updates from https://translatewiki.net.
a4586f717 toggleMobileGlobalOverlay: check whether the target exists before using it
4d2f18871 Update RangeFix 0.2.6 -> 0.2.7
3433770e0 Restore re-activation hack

Bug: T221291
Bug: T221600
Bug: T221669
Change-Id: I783924aa8ba03a9f5969a9c3fc0c1c381a3f5741
2019-04-23 17:32:22 -05:00