Ed Sanders
47ea647e45
build: Update eslint-config-wikimedia to 0.28.2 and autofix
...
Change-Id: I1e603647c161bf940690f85f676edd7ebde7917d
2024-06-13 16:11:59 +00:00
Ed Sanders
1d3be2c605
ESLint: Autofix no-var errors
...
Keep the rule and prefer-const disabled as they will
require manual fixing.
Change-Id: Idd31eb7d7a456b10c07b905b4b837dd4c890eb71
2024-06-03 13:22:48 +01:00
Novem Linguae
030bc26ae9
JSDoc: convert @cfg to @param
...
- convert @cfg to @param
- in mw.echo.dm.NotificationItem.js, add backticks around
a block of code in a docblock so that it renders nicely
in the generated /docs/
Bug: T138401
Change-Id: If7df2ab72fa835af662a8f01cc0c5edb1cb79c2b
2024-05-26 18:43:21 -07:00
Ed Sanders
df8fbfed38
Replace jsduck with jsdoc
...
Change-Id: I2a1bfedeba66c9ec1b3ee2640a77d5ef8782530c
2024-04-30 15:29:06 +01:00
Ed Sanders
2cac61da34
Move var declarations inline
...
Change-Id: I8734c30880bcb416a4945f6653555dc1189e7733
2024-03-05 22:39:09 +00:00
Ed Sanders
17126b2ab1
Remove obsolete aliases from closures
...
Bug: T208951
Change-Id: If51fc6d50b9755c779fd0bf1be7bb0fe276539ea
2018-11-12 13:56:38 +00:00
Ed Sanders
bd2f39ca78
Fix config documentation
...
Only document config properties used in the current class,
and add missing ones.
Change-Id: I5573f7166fee0409faae7b3af8280aa918fa3dcd
2018-05-30 17:47:20 +00:00
Ed Sanders
9de02857ae
Replace .parent with .super
...
Also remove unused config fallbacks
Change-Id: I10b1ffc0cf69c52c4394f27c02aac5bca2473374
2018-05-22 15:56:46 +01:00
Ed Sanders
c8d24ebd17
build: Replace jscs/jshint with eslint
...
Change-Id: Iee1d1b20ed31e636bfb8fc8cf9b18ff328bf608c
2016-11-23 15:25:59 -08:00
Stephane Bisson
c93800e17c
Support for PlaceholderWidget with no link
...
Bug: T137490
Change-Id: Ia861b5aa3f100124418956a0e09603a9ba29215a
2016-06-22 12:54:13 -04:00
Roan Kattouw
d6c340f591
Display error message on API failure or empty result
...
Show an API failure message if the request failed.
Also take this opportunity to show a message in case
there are no notifications at all.
Bug: T136467
Change-Id: If5761ec3d3df10a8774561bed06a4ade54458c4b
2016-05-30 15:01:33 -07:00
Moriel Schottlender
8e76bc4126
Refactoring Echo's front end for MVC
...
Changing the way Echo's front-end architecture works to work with
model-view-controller methodology.
Change-Id: I97862402c41bc04dd41cd08d79f19ff677340249
2016-05-18 12:28:45 -07:00