Lucas Werkmeister
b6a4e76d42
MWEditSummaryWidget: Don’t query for title
...
As far as I can tell, the code only uses the comment, nothing else.
Omitting the title probably won’t make the underlying database query any
cheaper, but it should at least save some network traffic.
Change-Id: Ideb66ce3a24fb4f42fe8fc22ba0e93d05724d8b6
2021-03-13 13:48:21 +01:00
Lucas Werkmeister
9d7ddcf066
MWEditSummaryWidget: Handle suppressed comments
...
Bug: T277368
Change-Id: I76887672a0e8b3a2047d1b1b47724f1ee513db23
2021-03-13 13:48:20 +01:00
Ed Sanders
443eaded40
Move newline-stripping filter into MWEditSummaryWidget
...
Edit summaries should always strip newlines, wherever
this widget is used.
Change-Id: I37177771fef831037067d6244fb27cba5e06528b
2021-01-16 16:16:49 +00:00
Ed Sanders
6076708ff3
build: Update eslint-config-wikimedia to 0.16.0
...
Change-Id: I638e0f82949597e2a2e4ea18fc2f0258f225358c
2020-06-02 21:30:00 +01:00
David Chan
22098d6b16
Convert $.Deferred() to ve.createDeferred(), except in preinit
...
Follow-up to a8e07e026dea4f54241d1dbb6b7bcdbd8c670db2 in core.
Change-Id: I09333adb4876c6e584a4a6b6a1628227c4cd2616
2019-11-02 13:06:28 +08:00
Ed Sanders
c1130d386c
MWEditSummaryWidget: Use showSuggestionsOnFocus flag
...
Bug: T169484
Depends-On: Ib47c9831ea712bf92b56a88474c3419067124458
Change-Id: I8697e153d4ed0bfbc8d89b65ff63a302c11a27ea
2019-05-24 11:09:26 +01:00
Bartosz Dziewoński
d43262feb6
ve.ui.MWEditSummaryWidget: Remove a hack for T220204
...
Change-Id: I1539eb72b9b313c32743b300a58a734f3eaafef4
2019-05-23 21:30:15 +02:00
Ed Sanders
934572cdf7
API: Use formatversion=2 by default
...
V2 has better handling for booleans.
Change-Id: I5388bd2cc64ae0c9ed4a185adce1e3bb4cdd92fc
2019-04-30 19:31:28 +01:00
Ed Sanders
e3846ed09b
EditSummaryWidget: Don't highlight first automatically
...
Bug: T50274
Change-Id: If9d46116caac381bfc7264652429377e60bb2a0b
2019-04-24 17:58:46 +01:00
jenkins-bot
afdd97c58f
Merge "EditSummaryWidget: Disable pending animation"
2019-04-09 20:13:07 +00:00
Ed Sanders
ed0105b5a1
EditSummaryWidget: Disable pending animation
...
Animation shows breifly on every keystroke, even though
only one server request is made, as the promises always yield
to a browser animation frame.
A pending animation isn't really required for autocomplete
as the results are only optional suggestions.
Change-Id: Ifa257592b10d84dccfa3e0c819c1edf1f7ef9cfa
2019-04-09 19:54:39 +00:00
Ed Sanders
e2dfdf0ef7
EditSummaryWidget: Don't show suggestions on focus
...
Bug: T220176
Change-Id: Iffad075929d8835eb4f8677b33c3edd30a27b3f8
2019-04-05 14:04:29 +01:00
Ed Sanders
1ffb574450
Edit summary autocomplete
...
Bug: T50274
Change-Id: Ida462f3dea325902459546af97e66cd9d0c86166
2019-03-09 14:03:27 +00:00