Commit graph

102 commits

Author SHA1 Message Date
alistair3149 11a13f68fa
Search input would be focus when toggle is clicked 2020-04-11 23:24:48 -04:00
github-actions 19a8a9d91e Github CI lint - eslint/stylelint 2020-02-16 00:20:20 +00:00
alistair3149 1a9f508f96
Attempt to fix syntax error for toc js 2020-02-15 19:16:20 -05:00
alistair3149 3b7efc748f
Attempt to fix syntax error for toc js 2020-02-15 19:07:23 -05:00
alistair3149 72e5b93489
Disabled eslint for files using ES6 syntax 2020-02-15 19:05:44 -05:00
alistair3149 59545461bf
Disabled eslint for files using ES6 syntax 2020-02-15 19:00:19 -05:00
alistair3149 a2a39b9e5e
Disabled ESlint for search suggestions since it is on ES6 2020-02-15 18:52:29 -05:00
alistair3149 509acf94b4 Merge branch 'dev' of github.com:StarCitizenTools/mediawiki-skins-Citizen into dev 2020-02-15 18:46:40 -05:00
alistair3149 c72c834fa2
Attempt to fix syntax error for toc js 2020-02-15 18:45:56 -05:00
alistair3149 7397d8bba8
Added ES6 comment for the search suggestion 2020-02-15 18:42:57 -05:00
github-actions 9738ab2819 Github CI lint - phpcbf 2020-02-15 23:42:05 +00:00
alistair3149 adbfeaaf0b
Fix syntax error in toc js 2020-02-15 18:37:17 -05:00
github-actions 0f5208ef18 Github CI lint - phpcbf 2020-02-15 23:11:35 +00:00
alistair3149 14600612bb
Attempt to convert to ES5 2020-02-15 18:12:09 -05:00
github-actions 333385feb5 Github CI lint - phpcbf 2020-02-15 23:05:56 +00:00
alistair3149 6985bf6f10
Attempt to convert to ES5 2020-02-15 18:06:01 -05:00
alistair3149 0168abc686
Attempt to convert to ES5 2020-02-15 18:05:11 -05:00
alistair3149 bfec3c1135
Attempt to convert to ES5 2020-02-15 18:01:17 -05:00
github-actions 8c7950020f Github CI lint - phpcbf 2020-02-15 23:01:01 +00:00
alistair3149 1355eaa05e
Attempt to convert to ES5 2020-02-15 18:00:03 -05:00
alistair3149 ab67bc418f
Attempt to convert to ES5 2020-02-15 17:57:19 -05:00
github-actions 74c5f30a94 Github CI lint - phpcbf 2020-02-15 22:56:29 +00:00
alistair3149 f6d0b61406
Attempt to convert to ES5 2020-02-15 17:55:31 -05:00
github-actions e289e7d20a Github CI lint - phpcbf 2020-02-15 22:52:59 +00:00
alistair3149 a40547ec1b
Attempt to convert to ES5 2020-02-15 17:52:32 -05:00
alistair3149 ed22023fce
Converted toc script from ES6 to ES5 2020-02-15 17:33:53 -05:00
github-actions 97f8846a44 Github CI lint - phpcbf 2020-02-15 22:32:59 +00:00
github-actions 2f600d28d9 Github CI lint - eslint/stylelint 2020-01-07 03:13:10 +00:00
alistair3149 773395448d
Clean up syntax of noresultindicator 2020-01-06 22:12:31 -05:00
github-actions b0d1e0ec7e Github CI lint - eslint/stylelint 2020-01-06 19:32:03 +00:00
github-actions dc495d9851 Github CI lint 2020-01-06 19:28:08 +00:00
alistair3149 ead527c6ec
Fixed undefined var 2020-01-01 16:43:08 -05:00
alistair3149 658084bb0d
Add option to choose description source for search suggestion 2020-01-01 16:38:10 -05:00
Hannes f90b653385
Add search string to no result card 2020-01-01 02:27:48 +01:00
alistair3149 fdd8b16160
Disable OOUI loading 2019-12-31 13:55:01 -05:00
alistair3149 12f6a69d09
Added missing doc 2019-12-31 13:46:11 -05:00
alistair3149 6f3a161433
Skeleton placeholder for search suggestion 2019-12-31 13:43:38 -05:00
alistair3149 2257e64671
Attempt to fix the eslint error 2019-12-31 13:25:54 -05:00
alistair3149 540613bba1
Changed suggestion placeholder 2019-12-31 13:12:49 -05:00
Hannes dce4f9e328
Fix undef var 2019-12-31 12:44:24 +01:00
Hannes 3aa733f96d
Refactor typeahead
- Instead of inserting/removing script elements use the actual mw.Api object
- Add localization to loading and no result messages

Needs design pass:
- Display a loading indicator upon typing in the input field
- Display a no results indicator if no results could be found
2019-12-31 12:42:39 +01:00
alistair3149 40f5439b8d
Removed unused var 2019-12-30 23:31:39 -05:00
alistair3149 ffcc3ceab4
Decouple mw config from scripts 2019-12-30 23:29:10 -05:00
alistair3149 ec99af3143
Move getconfig out of api request 2019-12-30 19:45:24 -05:00
Hannes e1b0132cb8
Fix .active Element sometimes being null 2019-12-30 15:53:22 +01:00
Hannes 5386e000b5
Fix eslint complaining about js files 2019-12-26 10:40:43 +01:00
alistair3149 72afb6928e
Attempt to supress some ESlint error #2 2019-12-26 03:29:18 -05:00
alistair3149 0d6959b50b
Attempt to supress some ESlint error 2019-12-26 03:25:56 -05:00
Hannes c1174c0ee5
Made code MW compliant 2019-12-26 00:24:31 +01:00
Hannes 6b3b4980dd
Remove jQuery
Refactored header.js
- Removed global vars
- Removed jQuery

'Should' behave the same like the old version. Some testing needed.
2019-12-26 00:23:38 +01:00